diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-17 12:47:49 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-17 15:52:36 -0300 |
| commit | 4121234a32887a49d5da06e4c219f67abb6e744f (patch) | |
| tree | 00263dcb3b1133eb95b5927cf6cefddcde069b03 /tools/perf/scripts/python | |
| parent | 17354d1528f902b3a4f66023cd24012e7999c4dc (diff) | |
libperf: Add perf_cpu_map__refcnt() interanl accessor to use in the maps test
To remove one more direct access to 'struct perf_cpu_map' so that we can
intercept accesses to its instantiations and refcount check it to catch
use after free, etc.
Cc: Adrian Hunter <[email protected]>
Cc: Alexey Bayduraev <[email protected]>
Cc: Dmitriy Vyukov <[email protected]>
Cc: Ian Rogers <[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]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions