diff options
author | John Garry <john.garry@huawei.com> | 2021-07-29 21:56:25 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-08-10 14:47:07 -0300 |
commit | 5abd3988b0382d31a35600732a46fa7f90740658 (patch) | |
tree | b6bfda16a7da73a0ed9fc7cf1b099bfb0f81e515 /tools/perf/pmu-events/pmu-events.h | |
parent | perf pmu: Make pmu_add_sys_aliases() public (diff) | |
download | linux-dev-5abd3988b0382d31a35600732a46fa7f90740658.tar.xz linux-dev-5abd3988b0382d31a35600732a46fa7f90740658.zip |
perf jevents: Print SoC name per system event table
Print the SoC name per system event table, which will allow the test SoC be
identified by the pmu-events test.
Signed-off-by: John Garry <john.garry@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linuxarm@huawei.com
Link: https //lore.kernel.org/r/1627566986-30605-11-git-send-email-john.garry@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events/pmu-events.h')
-rw-r--r-- | tools/perf/pmu-events/pmu-events.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/pmu-events/pmu-events.h b/tools/perf/pmu-events/pmu-events.h index d1172f6aebf1..5c2bf7275c1c 100644 --- a/tools/perf/pmu-events/pmu-events.h +++ b/tools/perf/pmu-events/pmu-events.h @@ -45,6 +45,7 @@ struct pmu_events_map { }; struct pmu_sys_events { + const char *name; struct pmu_event *table; }; |