diff options
author | Andi Kleen <[email protected]> | 2015-05-10 12:22:43 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-08-04 10:16:57 +0200 |
commit | 50eab8f6ecd77ae4f9742f8e21ea50705ce0f830 (patch) | |
tree | 5c3d785ffab604128b48100f75201f6bb7119d45 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 71ef3c6b9d4665ee7afbbe4c208a98917dcfc32f (diff) |
perf/x86/intel/lbr: Add support for LBRv5
Add support for the new LBRv5 format used on Intel Skylake CPUs.
The flags for mispredict, abort, in_tx etc. moved to range of separate
LBR_INFO_* MSRs. Teach the LBR code to read those. The original
LBR registers stay the same, except they have full sign
extension now.
LBR_INFO also reports a cycle count to the last branch.
Report the cycle information using the new "cycles" branch_info
output field.
In addition we have to context switch and clear the new INFO
MSRs to avoid any information leaks.
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