diff options
| author | Kan Liang <[email protected]> | 2024-01-23 10:50:30 -0800 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-01-24 14:03:33 -0800 |
| commit | bb65acdc832ec84fa42d752c50247e968381d057 (patch) | |
| tree | 4b2dcd13e6fb2a4cfeb062e449995e720abd411f /tools/perf/scripts/python/task-analyzer.py | |
| parent | 68f87f24f953cf3147afa01ef123d8fd3c1162b6 (diff) | |
perf mem: Add mem_events into the supported perf_pmu
With the mem_events, perf doesn't need to read sysfs for each PMU to
find the mem-events-supported PMU. The patch also makes it possible to
clean up the related __weak functions later.
The patch is only to add the mem_events into the perf_pmu for all ARCHs.
It will be used in the later cleanup patches.
Reviewed-by: Ian Rogers <[email protected]>
Reviewed-by: Kajol Jain <[email protected]>
Tested-by: Ravi Bangoria <[email protected]>
Tested-by: Leo Yan <[email protected]>
Tested-by: Kajol Jain <[email protected]>
Suggested-by: Leo Yan <[email protected]>
Signed-off-by: Kan Liang <[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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions