diff options
author | Andi Kleen <[email protected]> | 2015-05-10 12:22:40 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-08-04 10:16:56 +0200 |
commit | 2f7ebf2ec2a7b311318aae10b8373b0bd93001a7 (patch) | |
tree | 0ce9ba09a02e8fdcc30ac9fba2e2c254bdd5b610 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a94cab2376cb35f236be14e2833cef63a8762a31 (diff) |
perf/x86/intel: Add support for PEBSv3 profiling
PEBSv3 is the same as the existing PEBSv2 used on Haswell,
but it adds a new TSC field. Add support to the generic
PEBS handler to handle the new format, and overwrite
the perf time stamp using the new native_sched_clock_from_tsc().
Right now the time stamp is just slightly more accurate,
as it is nearer the actual event trigger point. With
the PEBS threshold > 1 patchkit it will be much more accurate,
avoid the problems with MMAP mismatches earlier.
The accurate time stamping is only implemented for
the default trace clock for now.
v2: Use _skl prefix. Check for default clock_id.
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions