aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2024-01-23 10:50:35 -0800
committerNamhyung Kim <[email protected]>2024-01-24 14:05:11 -0800
commit70f4b20d07df94916230b6783097358703c90113 (patch)
tree955578ef9e03de2c79a6c127aa687e5e49ccca9f /tools/perf/scripts/python
parent8ea9dfb916618043a8daff8cf06ac66e8f0d0c7b (diff)
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/scripts/python')
0 files changed, 0 insertions, 0 deletions