diff options
author | Andi Kleen <[email protected]> | 2017-08-31 14:46:30 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-12-17 13:55:17 +0100 |
commit | 2fe1bc1f501d55e5925b4035bcd85781adc76c63 (patch) | |
tree | 5c8d65bd583d098850e837ed489fc3827b272bb7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2dbad36c55e5d3a91dccbde6e8cae345fe5632f (diff) |
perf/x86: Enable free running PEBS for REGS_USER/INTR
[ Note, this is a Git cherry-pick of the following commit:
a47ba4d77e12 ("perf/x86: Enable free running PEBS for REGS_USER/INTR")
... for easier x86 PTI code testing and back-porting. ]
Currently free running PEBS is disabled when user or interrupt
registers are requested. Most of the registers are actually
available in the PEBS record and can be supported.
So we just need to check for the supported registers and then
allow it: it is all except for the segment register.
For user registers this only works when the counter is limited
to ring 3 only, so this also needs to be checked.
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]>
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