[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1279857454.3319.34.camel@gandalf.stny.rr.com>
Date: Thu, 22 Jul 2010 23:57:34 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Lin Ming <ming.m.lin@...el.com>
Cc: Dave Chinner <david@...morbit.com>, Ingo Molnar <mingo@...e.hu>,
Johannes Berg <johannes@...solutions.net>,
"Chatre, Reinette" <reinette.chatre@...el.com>,
Robert Richter <robert.richter@....com>,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Peter Zijlstra <peterz@...radead.org>,
Greg KH <greg@...ah.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Paul Mundt <lethal@...ux-sh.org>,
"eranian@...il.com" <eranian@...il.com>,
"Gary.Mohr@...l.com" <Gary.Mohr@...l.com>,
"arjan@...ux.intel.com" <arjan@...ux.intel.com>,
"Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>,
Paul Mackerras <paulus@...ba.org>,
"David S. Miller" <davem@...emloft.net>,
Russell King <rmk+kernel@....linux.org.uk>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Will Deacon <will.deacon@....com>,
Maynard Johnson <mpjohn@...ibm.com>,
Carl Love <carll@...ibm.com>,
Kay Sievers <kay.sievers@...y.org>,
lkml <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [RFC][PATCH v1 06/15] perf: export tracepoint events via
sysfs: iwlwifi and iwlwifi_io
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists