[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160322103121.GH31585@techsingularity.net>
Date: Tue, 22 Mar 2016 10:31:21 +0000
From: Mel Gorman <mgorman@...hsingularity.net>
To: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
LKML <linux-kernel@...r.kernel.org>
Subject: Translating perf events to raw event codes via sysfs
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
Powered by blists - more mailing lists