diff options
| author | Kan Liang <[email protected]> | 2024-01-23 18:50:35 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-01-24 22:05:11 +0000 |
| commit | 70f4b20d07df94916230b6783097358703c90113 (patch) | |
| tree | 955578ef9e03de2c79a6c127aa687e5e49ccca9f /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf mem: Clean up is_mem_loads_aux_event() (diff) | |
| download | kernel-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
