diff options
author | Andi Kleen <[email protected]> | 2015-05-10 12:22:39 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-08-04 10:16:55 +0200 |
commit | a94cab2376cb35f236be14e2833cef63a8762a31 (patch) | |
tree | 666ded02a83b67d8772bc771d61dd6d1ae863f05 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b1bf72d6691cc33fc7763fc8ec77df42ca1a8702 (diff) |
perf/x86: Add a native_perf_sched_clock_from_tsc()
PEBSv3 has a raw TSC time stamp in its memory buffer that
later needs to to be converted to perf_clock.
Add a native_sched_clock_from_tsc() that works the same
as native_sched_clock(), but starts with an already given
TSC value.
Paravirt is ignored, it will just get the native clock.
But there isn't a para virtualized PEBS anyway.
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