summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-07-25 11:51:48 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-07-26 16:31:43 -0700
commit9957d8c801fe0cb905a9443d7a88e6a051f81105 (patch)
tree3ab3040071580b9871b2b1e42ba7f285218b67b1 /scripts/lib
parentaf470fb532fc803c4c582d15b4bd394682a77a15 (diff)
perf jevents: Add common software event json
Add json for software events so that in perf list the events can have a description. Common json exists for the tool PMU but it has no sysfs equivalent. Modify the map_for_pmu code to return the common map (rather than an architecture specific one) when a PMU with a common name is being looked for, this allows the events to be found. 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-3-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions