Skip to content

Fix num_events calculation in lazy loading

Jia He linux-perf-users lkml 1 version Applied

Status from this message: I applied the patch to tmp.perf-tools-next, will go to perf-tools-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2perf pmu: Allow finishing loading json events when !events_tabletools/perf/util/pmu.c+2 -40 replies
2/2perf pmu: Fix num_events calculationtools/perf/util/pmu.c+2 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix num_events calculation in lazy loading

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(-)
Signature · 1 line
2.34.1