aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAlexander Shishkin <[email protected]>2015-08-19 14:02:10 +0000
committerIngo Molnar <[email protected]>2016-05-05 08:16:28 +0000
commit65c7e6f1c4810e9bce935520f44f6d2613cd1b40 (patch)
tree843648e962ce8f25e343fc489d0b6a764a46305c /tools/perf/scripts/python/event_analyzing_sample.py
parentperf/x86/intel/pt: Bypass PT vs. LBR exclusivity if the core supports it (diff)
downloadkernel-65c7e6f1c4810e9bce935520f44f6d2613cd1b40.tar.gz
kernel-65c7e6f1c4810e9bce935520f44f6d2613cd1b40.zip
perf/x86/intel/pt: Export CPU frequency ratios needed by PT decoders
Intel PT decoders need access to various bits of timing related information to be able to correctly decode timing packets from a PT stream (MTC and CBR packets). This patch exports all the necessary bits as sysfs attributes for the sake of consistency: * max_nonturbo_ratio: ratio between the invariant TSC and base clock; * tsc_art_ratio: TSC to core crystal clock ratio (also available as CPUID.15H). Signed-off-by: Alexander Shishkin <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vince Weaver <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions