diff options
| author | Namhyung Kim <[email protected]> | 2023-03-31 20:29:43 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-04 16:23:58 +0000 |
| commit | eec1131091c88e5e72cb012a2e3b3789fbb53c15 (patch) | |
| tree | 5b84e7c2e3eaac1562bf5f895545d527e1a44b90 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | perf tools: Fix a asan issue in parse_events_multi_pmu_add() (diff) | |
| download | kernel-eec1131091c88e5e72cb012a2e3b3789fbb53c15.tar.gz kernel-eec1131091c88e5e72cb012a2e3b3789fbb53c15.zip | |
perf pmu: Add perf_pmu__destroy() function
It seems there's no function to delete the perf pmu struct. Add the
perf_pmu__destroy() to do the job. While at it, add some more helper
functions to delete pmu aliases and caps.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
