From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755007Ab0GWD5j (ORCPT ); Thu, 22 Jul 2010 23:57:39 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:44383 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752934Ab0GWD5i (ORCPT ); Thu, 22 Jul 2010 23:57:38 -0400 X-Authority-Analysis: v=1.1 cv=NvN00vXXLC/2Fo3NdLZJXFUM7u9qr/FOWvgMjmHRJhk= c=1 sm=0 a=yRs0Bdu_tHsA:10 a=Q9fys5e9bTEA:10 a=gMqfjgEr1zLu/65IO0LwxA==:17 a=7cxh9BZpSVGz3-NWGiIA:9 a=cuhv01bmcD8hfrMHNN-qYYLayr4A:4 a=PUjeQqilurYA:10 a=gMqfjgEr1zLu/65IO0LwxA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 74.67.89.75 Subject: Re: [RFC][PATCH v1 06/15] perf: export tracepoint events via sysfs: iwlwifi and iwlwifi_io From: Steven Rostedt To: Lin Ming Cc: Dave Chinner , Ingo Molnar , Johannes Berg , "Chatre, Reinette" , Robert Richter , Corey Ashford , Peter Zijlstra , Greg KH , Frederic Weisbecker , Paul Mundt , "eranian@gmail.com" , "Gary.Mohr@Bull.com" , "arjan@linux.intel.com" , "Zhang, Yanmin" , Paul Mackerras , "David S. Miller" , Russell King , Arnaldo Carvalho de Melo , Will Deacon , Maynard Johnson , Carl Love , Kay Sievers , lkml , Thomas Gleixner In-Reply-To: <1279853134.24607.38.camel@minggr.sh.intel.com> References: <1279797230.20942.87.camel@minggr.sh.intel.com> <1279797640.12439.11.camel@jlt3.sipsolutions.net> <1279805440.3319.2.camel@gandalf.stny.rr.com> <20100722134836.GA6881@elte.hu> <1279806844.3319.3.camel@gandalf.stny.rr.com> <20100723013716.GA7362@dastard> <1279851241.3319.31.camel@gandalf.stny.rr.com> <1279853134.24607.38.camel@minggr.sh.intel.com> Content-Type: text/plain; charset="ISO-8859-15" Date: Thu, 22 Jul 2010 23:57:34 -0400 Message-ID: <1279857454.3319.34.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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