Re: [PATCH 3/7] tracing: use generic __stringify

From: KOSAKI Motohiro
Date: Tue Mar 10 2009 - 07:18:59 EST


2009/3/10 Frederic Weisbecker <fweisbec@xxxxxxxxx>:
> On Tue, Mar 10, 2009 at 12:57:13AM -0400, Steven Rostedt wrote:
>> From: Steven Rostedt <srostedt@xxxxxxxxxx>
>>
>> Impact: clean up
>>
>> This removes the custom made STR(x) macros in the tracer and uses
>> the generic __stringify macro instead.
>>
>> Signed-off-by: Steven Rostedt <srostedt@xxxxxxxxxx>
>> ---
>
>
> Hi,
>
> Why not simply use the # ?
>
> Frederic.

see following url's xstr macro description.

http://gcc.gnu.org/onlinedocs/gcc-4.3.3/cpp/Stringification.html#Stringification
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/