diff options
Diffstat (limited to 'tools/perf/arch/arm64/util/pmu.c')
-rw-r--r-- | tools/perf/arch/arm64/util/pmu.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/arch/arm64/util/pmu.c b/tools/perf/arch/arm64/util/pmu.c index b4eaf00ec5a8..fa143acb4c8d 100644 --- a/tools/perf/arch/arm64/util/pmu.c +++ b/tools/perf/arch/arm64/util/pmu.c @@ -23,6 +23,15 @@ static struct perf_pmu *pmu__find_core_pmu(void) return pmu; } + return NULL; +} + +const struct pmu_metrics_table *pmu_metrics_table__find(void) +{ + struct perf_pmu *pmu = pmu__find_core_pmu(); + + if (pmu) + return perf_pmu__find_metrics_table(pmu); return NULL; } |