From: Peter Zijlstra Date: Wed, 17 Nov 2010 22:17:37 +0000 (+0100) Subject: perf: Sysfs enumeration X-Git-Tag: v2.6.38-rc1~490^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abe43400579d5de0078c2d3a760e6598e183f871;p=pandora-kernel.git perf: Sysfs enumeration Simple sysfs emumeration of the PMUs. Use a "event_source" bus, and add PMU devices using their name. Each PMU device has a type attribute which contrains the value needed for perf_event_attr::type to identify this PMU. This is the minimal stub needed to start using this interface, we'll consider extending the sysfs usage later. Cc: Kay Sievers Cc: Greg KH Signed-off-by: Peter Zijlstra LKML-Reference: <20101117222056.316982569@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed