From: Stephane Eranian Date: Wed, 29 Aug 2012 13:01:22 +0000 (+0200) Subject: perf/x86: Export Sandy Bridge uncore clockticks event in sysfs X-Git-Tag: v3.6-rc7~14^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35534b201c9f115c68962c095b5a9aad204d025f;p=pandora-kernel.git perf/x86: Export Sandy Bridge uncore clockticks event in sysfs This patch exports the clockticks event and its encoding to user level. The clockticks event was exported for Nehalem/Westmere but not for Sandy Bridge (client). Given that it uses a special encoding, it needs to be exported to user tools, so users can do: # perf stat -a -C 0 -e uncore_cbox_0/clockticks/ sleep 1 Signed-off-by: Stephane Eranian Acked-by: Yan, Zheng Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20120829130122.GA32336@quad Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed