diff options
| author | 2022-05-19 15:33:30 +0530 | |
|---|---|---|
| committer | 2022-06-13 10:15:13 +0200 | |
| commit | 39621c5808f5dda75d03dc4b2d4d2b13a5a1c34b (patch) | |
| tree | 40057c822e04aa1d26dcd91544b0243b81d3b8d4 /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | x86/events/intel/ds: Enable large PEBS for PERF_SAMPLE_WEIGHT_TYPE (diff) | |
| download | linux-dev-39621c5808f5dda75d03dc4b2d4d2b13a5a1c34b.tar.xz linux-dev-39621c5808f5dda75d03dc4b2d4d2b13a5a1c34b.zip | |
perf/x86/amd/uncore: Use dynamic events array
If AMD Performance Monitoring Version 2 (PerfMonV2) is
supported, the number of available counters for a given
uncore PMU may not be fixed across families and models
and has to be determined at runtime.
The per-cpu uncore PMU data currently uses a fixed-sized
array for event information. Make it dynamic based on the
number of available counters.
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/21eea0cb6de9d14f78d52d1d62637ae02bc900f5.1652954372.git.sandipan.das@amd.com
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
