diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2024-06-26 07:35:33 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-07-04 16:00:36 +0200 |
commit | a23eb2fc1d818cdac9b31f032842d55483a6a040 (patch) | |
tree | 1a66e723a01639c0a720bc8c9c2501a981083ba2 /scripts/gdb/linux/timerlist.py | |
parent | 26579860fbd5129e18de9d6fa0751a48420b26b7 (diff) |
perf/x86/intel: Support the PEBS event mask
The current perf assumes that the counters that support PEBS are
contiguous. But it's not guaranteed with the new leaf 0x23 introduced.
The counters are enumerated with a counter mask. There may be holes in
the counter mask for future platforms or in a virtualization
environment.
Store the PEBS event mask rather than the maximum number of PEBS
counters in the x86 PMU structures.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lkml.kernel.org/r/20240626143545.480761-2-kan.liang@linux.intel.com
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions