diff options
author | Namhyung Kim <namhyung@kernel.org> | 2023-03-31 13:29:43 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-04-04 13:23:58 -0300 |
commit | eec1131091c88e5e72cb012a2e3b3789fbb53c15 (patch) | |
tree | 5b84e7c2e3eaac1562bf5f895545d527e1a44b90 /tools/perf/scripts/python/flamegraph.py | |
parent | 66c9598bd8916c6c1319d0100ac916cac89d4b0e (diff) | |
download | linux-eec1131091c88e5e72cb012a2e3b3789fbb53c15.tar.gz linux-eec1131091c88e5e72cb012a2e3b3789fbb53c15.tar.bz2 linux-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 <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230331202949.810326-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions