diff options
author | Andi Kleen <[email protected]> | 2019-04-02 12:45:03 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-04-16 12:26:17 +0200 |
commit | d3617b98b04583df222f34992e65712862a77bf1 (patch) | |
tree | 1e842eb0ef89f1918e31ba9e10bf0aa8f3018c71 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c22497f5838c237e3094a4dfb99d1c5de6353239 (diff) |
perf/x86/lbr: Avoid reading the LBRs when adaptive PEBS handles them
With adaptive PEBS the CPU can directly supply the LBR information,
so we don't need to read it again. But the LBRs still need to be
enabled. Add a special count to the cpuc that distinguishes these
two cases, and avoid reading the LBRs unnecessarily when PEBS is
active.
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://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