summaryrefslogtreecommitdiff
path: root/tools/leds
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-10-01 20:20:07 -0700
committerNamhyung Kim <namhyung@kernel.org>2024-10-10 23:40:32 -0700
commit240505b2d0adcdc8fd018117e88dc27b09734735 (patch)
treee0406e4799a31f8bafb6a8ca4bf9880f5c02c374 /tools/leds
parentd2f3ecb0ca2099d13bf8bf69219214c1425dc453 (diff)
perf tool_pmu: Factor tool events into their own PMU
Rather than treat tool events as a special kind of event, create a tool only PMU where the events/aliases match the existing duration_time, user_time and system_time events. Remove special parsing and printing support for the tool events, but add function calls for when PMU functions are called on a tool_pmu. Move the tool PMU code in evsel into tool_pmu.c to better encapsulate the tool event behavior in that file. Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20241002032016.333748-5-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions