Messages in this thread | | | Subject | Re: [RFC][PATCH v1 06/15] perf: export tracepoint events via sysfs: iwlwifi and iwlwifi_io | From | Steven Rostedt <> | Date | Thu, 22 Jul 2010 23:57:34 -0400 |
| |
On Fri, 2010-07-23 at 10:45 +0800, Lin Ming wrote: > On Fri, 2010-07-23 at 10:14 +0800, Steven Rostedt wrote:
> Does this "TRACE_CATEGORY()" can help to specify different event > attribute value? > > /sys/devices/pci0000:00/0000:00:02.0/drm/card0/events > |-- i915_gem_object_bind > | |-- config > | |-- type > | |-- filter ==> filter for card0 > > /sys/devices/pci0000:00/0000:00:02.0/drm/card1/events > |-- i915_gem_object_bind > | |-- config > | |-- type > | |-- filter ==> filter for card1 > > In above example, the values of "config" and "type" are same. > But the values of "filter" are different.
No, it does not make a single event with different atts. It is just a way to group events.
What you are showing is two events with the same name under two different groups. But there still only exists one event (the place that trace_i915_gem_object_bind() is located).
-- Steve
| |