aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2019-05-20 11:37:17 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-06-05 12:47:56 +0000
commit3f05516758bef438cef7adc47599f8b8faad7c3a (patch)
treeca3a74178c5f8a0b33fc5efc21648fcb30112284 /tools/perf/scripts/python/export-to-postgresql.py
parentperf intel-pt: Re-factor TIP cases in intel_pt_walk_to_ip (diff)
downloadkernel-3f05516758bef438cef7adc47599f8b8faad7c3a.tar.gz
kernel-3f05516758bef438cef7adc47599f8b8faad7c3a.zip
perf intel-pt: Accumulate cycle count from TSC/TMA/MTC packets
When CYC packets are not available, it is still possible to count cycles using TSC/TMA/MTC timestamps. As the timestamp increments in TSC ticks, convert to CPU cycles using the current core-to-bus ratio. Do not accumulate cycles when control flow packet generation is not enabled, nor when time has been "lost", typically due to mwait, which is indicated by a TSC/TMA packet that is not part of PSB+. Signed-off-by: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions