aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2010-11-17 22:17:37 +0000
committerIngo Molnar <[email protected]>2010-12-16 10:36:43 +0000
commitabe43400579d5de0078c2d3a760e6598e183f871 (patch)
tree1f6faf8a1ab60f3f9bfb26265c84c2725e6c4aaa /tools/perf/builtin-script.c
parentperf: Dynamic pmu types (diff)
downloadkernel-abe43400579d5de0078c2d3a760e6598e183f871.tar.gz
kernel-abe43400579d5de0078c2d3a760e6598e183f871.zip
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 <[email protected]> Cc: Greg KH <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions