lkml.org 
[lkml]   [2010]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 3/9] perf: export registerred pmus via sysfs
From
Date
On Mon, 2010-05-10 at 21:25 +0100, Will Deacon wrote:
> Another interesting ARM-ism is the vast potential for uncore event
> sources in SoC devices. The `node' terminology seems a bit confusing
> here, as there may be counters situated at various points of a bus
> hierarchy which monitor various types of transactions for example. I
> suppose these could live under /sys/devices/system/bus/... ?

Right there are more such systems, and yes hooking them into the
appropriate machine topology like PCI busses is exactly the intent.

I already mentioned the GPU PMUs living in the appropriate PCI device.
But yes, there are far more exotic configurations out there.

> I would
> expect these kind of counters to be controlled via raw events because
> having a list of discrete events doesn't really make sense [for example,
> if I want to count all bursts of a given size, I can encode the burst
> size into the event number].

Raw is fine, its only once these things start to converge and show
common traits that adding a 'generic' event class becomes useful, and
this is something that can always be done later.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-05-12 10:11    [W:0.132 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site