diff options
| author | Ian Rogers <[email protected]> | 2023-04-12 12:45:45 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-12 14:44:11 -0300 |
| commit | 7bb1d048bdfe1c7d36fdd72be9abd5f552b6246a (patch) | |
| tree | 6a9e2a9c9f6aab2d2a1ac89fd7ae7abb4f275903 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4e8db2d7520f780f86055465c680e20327008a34 (diff) | |
perf cpumap: Use perf_cpu_map__nr(cpus) to access cpus->nr
So that we can have a single point where to refcount check 'struct perf_cpu_map'
instances for use after free, etc.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexey Bayduraev <[email protected]>
Cc: Dmitriy Vyukov <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Riccardo Mancini <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Stephen Brennan <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
[ Split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions