lkml.org 
[lkml]   [2010]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH v1 06/15] perf: export tracepoint events via sysfs: iwlwifi and iwlwifi_io
From
Date
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




\
 
 \ /
  Last update: 2010-07-23 06:01    [W:0.039 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site