diff options
author | Steven Rostedt | 2009-03-09 21:00:22 +0100 |
---|---|---|
committer | Steven Rostedt | 2009-03-10 05:35:05 +0100 |
commit | 9cc26a261d43e5898287a1f5808132f8f05ceb1c (patch) | |
tree | cf00e838e7f026d20500d8f90191230ed3f41078 /kernel/trace/trace_events_stage_3.h | |
parent | tracing: replace TP<var> with TP_<var> (diff) | |
download | kernel-qcow2-linux-9cc26a261d43e5898287a1f5808132f8f05ceb1c.tar.gz kernel-qcow2-linux-9cc26a261d43e5898287a1f5808132f8f05ceb1c.tar.xz kernel-qcow2-linux-9cc26a261d43e5898287a1f5808132f8f05ceb1c.zip |
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/trace_events_stage_3.h')
-rw-r--r-- | kernel/trace/trace_events_stage_3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_events_stage_3.h b/kernel/trace/trace_events_stage_3.h index 557ca52bcdcd..41b82b93c9c7 100644 --- a/kernel/trace/trace_events_stage_3.h +++ b/kernel/trace/trace_events_stage_3.h @@ -139,7 +139,7 @@ static struct ftrace_event_call __used \ __attribute__((__aligned__(4))) \ __attribute__((section("_ftrace_events"))) event_##call = { \ .name = #call, \ - .system = STR(TRACE_SYSTEM), \ + .system = __stringify(TRACE_SYSTEM), \ .regfunc = ftrace_reg_event_##call, \ .unregfunc = ftrace_unreg_event_##call, \ } @@ -225,7 +225,7 @@ static struct ftrace_event_call __used \ __attribute__((__aligned__(4))) \ __attribute__((section("_ftrace_events"))) event_##call = { \ .name = #call, \ - .system = STR(TRACE_SYSTEM), \ + .system = __stringify(TRACE_SYSTEM), \ .regfunc = ftrace_reg_event_##call, \ .unregfunc = ftrace_unreg_event_##call, \ .raw_init = ftrace_raw_init_event_##call, \ |