Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760427AbZFKNEV (ORCPT ); Thu, 11 Jun 2009 09:04:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753224AbZFKNEJ (ORCPT ); Thu, 11 Jun 2009 09:04:09 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:56677 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752987AbZFKNEI (ORCPT ); Thu, 11 Jun 2009 09:04:08 -0400 Date: Thu, 11 Jun 2009 09:04:07 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Christoph Hellwig cc: Ingo Molnar , Frederic Weisbecker , LKML , Andrew Morton , Minchan Kim , Mel Gorman , Rik van Riel , Pekka Enberg , Peter Zijlstra , Theodore Tso , Mathieu Desnoyers , Lai Jiangshan , Zhaolei , KOSAKI Motohiro , Jason Baron , Jiaying Zhang Subject: Re: [PATCH][GIT PULL] tracing: do not translate event helper macros in print format In-Reply-To: <20090611125227.GA14220@infradead.org> Message-ID: References: <20090609014534.790466803@goodmis.org> <20090609014746.481457542@goodmis.org> <20090609192159.GD6057@nowhere> <20090610094819.GA25527@infradead.org> <20090610101124.GA25042@elte.hu> <20090610171648.GD31096@elte.hu> <20090610204801.GB8147@elte.hu> <20090611125227.GA14220@infradead.org> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1246 Lines: 39 On Thu, 11 Jun 2009, Christoph Hellwig wrote: > On Wed, Jun 10, 2009 at 10:48:02PM +0200, Ingo Molnar wrote: > > > This looks like it changed more than it really did, I only moved > > > the one macro above another and added a few lines: > > > > > > +#undef __print_symbolic > > > +#undef __get_dynamic_array > > > +#undef __get_str > > > > tracing: do not translate event helper macros in print format > > > > > > By moving the macro that creates the print format code above the > > > defining of the event macro helpers (__get_str, __print_symbolic, > > > and __get_dynamic_array), we get a little cleaner print format. > > __print_flags should also be added, shouldn't it? Darn, I knew I forgot one :-/ > > Maybe also le/be*_to_cpu/cpu_to_le/be*? and major/minor? We can only include macros that we define later. Otherwise we undefine them for when we need them. -- Steve > > We should also document those helpers that need special treatment > somewhere? > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/