]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf jevents: Add tool event json under a common architecture
authorIan Rogers <irogers@google.com>
Wed, 2 Oct 2024 03:20:11 +0000 (20:20 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 11 Oct 2024 06:40:33 +0000 (23:40 -0700)
commitc9b121b7fa5d99e87184d69d0852bf7f6a61179d
treeb27d5b21a013b1e422e780be3513821e4a694ee6
parent069057239a676a82cce9330a81994129179dc817
perf jevents: Add tool event json under a common architecture

Introduce the notion of a common architecture/model that can be used
to find event tables for common PMUs like the tool PMU. By having tool
events be json standard PMU attribute configuration, descriptions,
etc. can be used and these routines are already optimized for things
like binary searching.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20241002032016.333748-9-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/arch/common/common/tool.json [new file with mode: 0644]
tools/perf/pmu-events/empty-pmu-events.c
tools/perf/pmu-events/jevents.py