diff options
| author | Kan Liang <[email protected]> | 2024-01-23 18:50:30 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-01-24 22:03:33 +0000 |
| commit | bb65acdc832ec84fa42d752c50247e968381d057 (patch) | |
| tree | 4b2dcd13e6fb2a4cfeb062e449995e720abd411f /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf sched: Commit to evsel__taskstate() to parse task state info (diff) | |
| download | kernel-bb65acdc832ec84fa42d752c50247e968381d057.tar.gz kernel-bb65acdc832ec84fa42d752c50247e968381d057.zip | |
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
