aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-08-23 08:08:08 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-08-23 11:49:35 +0000
commit804fee5d0f7f14d9328efc1edfed1dba39aba532 (patch)
tree61c1896a3b315e05f09d407a662ab00c893bbe7f /tools/perf/scripts/python/sched-migration.py
parentperf pmu: Reduce scope of perf_pmu_error() (diff)
downloadkernel-804fee5d0f7f14d9328efc1edfed1dba39aba532.tar.gz
kernel-804fee5d0f7f14d9328efc1edfed1dba39aba532.zip
perf pmu: Avoid passing format list to perf_pmu__config_terms()
Abstract the format list better, hiding it in the PMU, by changing perf_pmu__config_terms() the PMU rather than the format list in the PMU. Change the PMU test to pass a dummy PMU for this purpose. Changing the test allows perf_pmu__del_formats() to become static. Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Gaosheng Cui <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jing Zhang <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Cc: Rob Herring <[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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions