perf tp_pmu: Factor existing tracepoint logic to new file
authorIan Rogers <irogers@google.com>
Fri, 25 Jul 2025 18:51:50 +0000 (11:51 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Sat, 26 Jul 2025 23:31:43 +0000 (16:31 -0700)
commitd002aab87de84b26c6f0a2b9549a589105d00d35
tree795ca76e68314ac5f04f6880af931002fa31c51c
parent6e9fa4131abb0129b1153ba6d194bd294b9f9986
perf tp_pmu: Factor existing tracepoint logic to new file

Start the creation of a tracepoint PMU abstraction. Tracepoint events
don't follow the regular sysfs perf conventions. Eventually the new
PMU abstraction will bridge the gap so tracepoint events look more
like regular perf ones.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20250725185202.68671-5-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/Build
tools/perf/util/evsel.c
tools/perf/util/parse-events.c
tools/perf/util/tp_pmu.c [new file with mode: 0644]
tools/perf/util/tp_pmu.h [new file with mode: 0644]