aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2024-01-23 18:50:35 +0000
committerNamhyung Kim <[email protected]>2024-01-24 22:05:11 +0000
commit70f4b20d07df94916230b6783097358703c90113 (patch)
tree955578ef9e03de2c79a6c127aa687e5e49ccca9f /tools/perf/util/scripting-engines/trace-event-python.c
parentperf mem: Clean up is_mem_loads_aux_event() (diff)
downloadkernel-70f4b20d07df94916230b6783097358703c90113.tar.gz
kernel-70f4b20d07df94916230b6783097358703c90113.zip
perf mem: Clean up perf_mem_events__record_args()
The current code iterates all memory PMUs. It doesn't matter if the system has only one memory PMU or multiple PMUs. The check of perf_pmus__num_mem_pmus() is not required anymore. The rec_tmp is not used in c2c and mem. Removing them as well. Suggested-by: Leo Yan <[email protected]> Tested-by: Leo Yan <[email protected]> Signed-off-by: Kan Liang <[email protected]> Reviewed-by: Ian Rogers <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions