diff options
| author | Ian Rogers <[email protected]> | 2025-07-19 03:05:05 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-07-24 20:41:34 +0000 |
| commit | ced4c249569ab25c32b0d36e2ebdb19c74394bdf (patch) | |
| tree | d787511357c51e59a654800abd93b8c4b2046ec4 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf stat: Avoid buffer overflow to the aggregation map (diff) | |
| download | kernel-ced4c249569ab25c32b0d36e2ebdb19c74394bdf.tar.gz kernel-ced4c249569ab25c32b0d36e2ebdb19c74394bdf.zip | |
perf stat: Don't size aggregation ids from user_requested_cpus
As evsels may have additional CPU terms, the user_requested_cpus may
not reflect all the CPUs requested. Use evlist->all_cpus to size the
array as that reflects all the CPUs potentially needed by the evlist.
Reviewed-by: Thomas Falcon <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Tested-by: James Clark <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
