Re: [PATCH 1/2] tools, perf: Add a precise event qualifier v2

From: Peter Zijlstra
Date: Fri Sep 13 2013 - 07:30:21 EST


On Fri, Sep 13, 2013 at 11:50:57AM +0200, Ingo Molnar wrote:
> For example if we added 'type' as well we could expose the generic,
> hardware-independent events via sysfs as well.

Type is already fully implied by where you'll find the event in sysfs:

/sys/bus/event_sources/devices/$PMU/events/

needs

perf_event_attr::type := /sys/bus/event_sources/devices/$PMU/type
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/