[PATCH 0/2] Fix num_events calculation in lazy loading
From: Jia He
Date: Thu May 09 2024 - 22:48:01 EST
I noticed "perf list" reported the error as follows on an Armv8 Neoverse
N2 server:
Unexpected event smmuv3_pmcg_3f062/smmuv3_pmcg_3f062/transaction//
The root cause is due to the incorrect calculation in
perf_pmu__num_events().
Jia He (2):
perf pmu: Allow finishing loading json events when !events_table
perf pmu: Fix num_events calculation
tools/perf/util/pmu.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
2.34.1