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 f2509cbaacea..9fc918da404f 100644 --- a/kernel/trace/events.c +++ b/kernel/trace/events.c | |||
@@ -2,9 +2,7 @@ | |||
2 | * This is the place to register all trace points as events. | 2 | * This is the place to register all trace points as events. |
3 | */ | 3 | */ |
4 | 4 | ||
5 | /* someday this needs to go in a generic header */ | 5 | #include <linux/stringify.h> |
6 | #define __STR(x) #x | ||
7 | #define STR(x) __STR(x) | ||
8 | 6 | ||
9 | #include <trace/trace_events.h> | 7 | #include <trace/trace_events.h> |
10 | 8 | ||