diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-09 16:00:22 -0400 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-10 00:35:05 -0400 |
commit | 9cc26a261d43e5898287a1f5808132f8f05ceb1c (patch) | |
tree | cf00e838e7f026d20500d8f90191230ed3f41078 /kernel/trace/events.c | |
parent | 2939b0469d04ba9ac791aca9a81625d7eb50662b (diff) |
tracing: use generic __stringify
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@redhat.com>
Diffstat (limited to 'kernel/trace/events.c')
-rw-r--r-- | kernel/trace/events.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/trace/events.c b/kernel/trace/events.c index f2509cbaace..9fc918da404 100644 --- a/kernel/trace/events.c +++ b/kernel/trace/events.c @@ -2,9 +2,7 @@ * This is the place to register all trace points as events. */ -/* someday this needs to go in a generic header */ -#define __STR(x) #x -#define STR(x) __STR(x) +#include <linux/stringify.h> #include <trace/trace_events.h> |