* Translating perf events to raw event codes via sysfs
@ 2016-03-22 10:31 Mel Gorman
2016-03-22 10:33 ` Mel Gorman
0 siblings, 1 reply; 2+ messages in thread
From: Mel Gorman @ 2016-03-22 10:31 UTC (permalink / raw)
To: Sukadev Bhattiprolu; +Cc: Peter Zijlstra, LKML
Hi Sukadev,
I'm curious about commit e0728b50d480 ("powerpc/perf: Export Power8
generic and cache events to sysfs"). This commit translates perf
high-level event names into raw codes but only on one architecture for
one CPU.
While I can see how that is useful, I'm wondering why this was implemented
as being specific to a single processor family. Should this not be done
generically for all architectures? I accept that translating event names to
raw codes for perf can be difficult but there are also tools like evt2raw
whose output can then be used with perf.
--
Mel Gorman
SUSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-22 10:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-22 10:31 Translating perf events to raw event codes via sysfs Mel Gorman
2016-03-22 10:33 ` Mel Gorman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox