Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932617AbZKMX2i (ORCPT ); Fri, 13 Nov 2009 18:28:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932599AbZKMX2b (ORCPT ); Fri, 13 Nov 2009 18:28:31 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:55075 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932584AbZKMX20 (ORCPT ); Fri, 13 Nov 2009 18:28:26 -0500 Subject: Re: [PATCH 2.6.32] ftrace: fix event format export From: Steven Rostedt Reply-To: rostedt@goodmis.org To: Ingo Molnar Cc: Johannes Berg , Fr??d??ric Weisbecker , Thomas Gleixner , LKML In-Reply-To: <20091113224009.GB23942@elte.hu> References: <1258115870.6167.4.camel@johannes.local> <20091113224009.GB23942@elte.hu> Content-Type: text/plain Organization: Kihon Technologies Inc. Date: Fri, 13 Nov 2009 18:28:29 -0500 Message-Id: <1258154909.22249.211.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1139 Lines: 41 On Fri, 2009-11-13 at 23:40 +0100, Ingo Molnar wrote: > ( extended the Cc:s. Please try to Cc: people you think would be > interested in your patches. ) Thanks Ingo. > > * Johannes Berg wrote: > > > For some reason the export of the event print > > format to userspace uses '#fmt' which breaks > > if the format string is anything but a plain > > string, for example if it is built with macros > > then the macro names are exported instead of > > their contents. > > > > Use > > "\"%s\"", fmt > > instead of > > "%s", #fmt > > to export the string and not the way it is built. Is there any examples of this currently in the kernel? If so could you show that in the changlog. But other than that, the change looks good. Acked-by: Steven Rostedt -- Steve > > > > Signed-off-by: Johannes Berg > > --- -- 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/