All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix num_events calculation in lazy loading
@ 2024-05-10  2:47 Jia He
  2024-05-10  2:47 ` [PATCH 1/2] perf pmu: Allow finishing loading json events when !events_table Jia He
  2024-05-10  2:47 ` [PATCH 2/2] perf pmu: Fix num_events calculation Jia He
  0 siblings, 2 replies; 8+ messages in thread
From: Jia He @ 2024-05-10  2:47 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim
  Cc: Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers,
	Adrian Hunter, Kan Liang, James Clark, linux-perf-users,
	linux-kernel, Jia He

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-11 15:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-10  2:47 [PATCH 0/2] Fix num_events calculation in lazy loading Jia He
2024-05-10  2:47 ` [PATCH 1/2] perf pmu: Allow finishing loading json events when !events_table Jia He
2024-05-10  2:47 ` [PATCH 2/2] perf pmu: Fix num_events calculation Jia He
2024-05-10  6:16   ` Ian Rogers
2024-05-10  6:52     ` Justin He
2024-05-10 20:41       ` Ian Rogers
2024-05-11  0:50         ` Ian Rogers
2024-05-11 15:52           ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.