From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759393Ab0GVNau (ORCPT ); Thu, 22 Jul 2010 09:30:50 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:63995 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755827Ab0GVNap (ORCPT ); Thu, 22 Jul 2010 09:30:45 -0400 X-Authority-Analysis: v=1.1 cv=nxp4sGnGskpld68D65f6QeagdS7Y+3TTkvBhhEd/T4I= c=1 sm=0 a=yRs0Bdu_tHsA:10 a=Q9fys5e9bTEA:10 a=gMqfjgEr1zLu/65IO0LwxA==:17 a=wZtR6DnZcs-Kr-E7TTIA:9 a=z78LK7oIcF5OVBJ380GkSq88Z38A: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: Johannes Berg Cc: Lin Ming , Ingo Molnar , Reinette Chatre , 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: <1279797640.12439.11.camel@jlt3.sipsolutions.net> References: <1279797230.20942.87.camel@minggr.sh.intel.com> <1279797640.12439.11.camel@jlt3.sipsolutions.net> Content-Type: text/plain; charset="ISO-8859-15" Date: Thu, 22 Jul 2010 09:30:40 -0400 Message-ID: <1279805440.3319.2.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 Thu, 2010-07-22 at 13:20 +0200, Johannes Berg wrote: > On Thu, 2010-07-22 at 19:13 +0800, Lin Ming wrote: > > iwlwifi and iwlwifi_io tracepoint events are exported like below, > > > drivers/net/wireless/iwlwifi/iwl3945-base.c | 15 +++++++++++++++ > > 1 files changed, 15 insertions(+), 0 deletions(-) > > err, how about iwlagn? A lot of work went into making the include/trace/events/*.h be able to automate the work. Now it seems that we are going to hand code a lot, and a developer that adds a new system or such will now need to understand the internals of perf to use it. That was what I strived to avoid when creating the TRACE_EVENT() macros. -- Steve