Linux Perf Users
 help / color / mirror / Atom feed
* perf test pmu-events question
@ 2023-06-23 15:19 John Garry
  2023-06-23 15:48 ` Ian Rogers
  0 siblings, 1 reply; 6+ messages in thread
From: John Garry @ 2023-06-23 15:19 UTC (permalink / raw)
  To: irogers, acme; +Cc: linux-perf-users

Hi Ian,

I was doing some re-write for pmu sys events metric support and I want 
to add more testcases - we don't really have any.

So I noticed that tests/pmu-events.c::test__parsing() can pick up on an 
invalid metric for the test CPU, like M3 as it references itself. 
However we can't detect whether event aliases referenced in the metric 
exist for the CPU. Is it worth testing for this? Would it be sane to 
scan the associated CPU event tables to see if we can find the event 
there? Or do we already have some per-non-test-CPU metric validator 
already in the testcases (I could not see it)?

Thanks,
John



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

end of thread, other threads:[~2023-06-26 18:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-23 15:19 perf test pmu-events question John Garry
2023-06-23 15:48 ` Ian Rogers
2023-06-26 13:33   ` John Garry
2023-06-26 16:38     ` Ian Rogers
2023-06-26 17:49       ` John Garry
2023-06-26 18:07         ` Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox