|
@@ -139,7 +139,7 @@ static struct ftrace_event_call __used \
|
|
__attribute__((__aligned__(4))) \
|
|
__attribute__((__aligned__(4))) \
|
|
__attribute__((section("_ftrace_events"))) event_##call = { \
|
|
__attribute__((section("_ftrace_events"))) event_##call = { \
|
|
.name = #call, \
|
|
.name = #call, \
|
|
- .system = STR(TRACE_SYSTEM), \
|
|
|
|
|
|
+ .system = __stringify(TRACE_SYSTEM), \
|
|
.regfunc = ftrace_reg_event_##call, \
|
|
.regfunc = ftrace_reg_event_##call, \
|
|
.unregfunc = ftrace_unreg_event_##call, \
|
|
.unregfunc = ftrace_unreg_event_##call, \
|
|
}
|
|
}
|
|
@@ -225,7 +225,7 @@ static struct ftrace_event_call __used \
|
|
__attribute__((__aligned__(4))) \
|
|
__attribute__((__aligned__(4))) \
|
|
__attribute__((section("_ftrace_events"))) event_##call = { \
|
|
__attribute__((section("_ftrace_events"))) event_##call = { \
|
|
.name = #call, \
|
|
.name = #call, \
|
|
- .system = STR(TRACE_SYSTEM), \
|
|
|
|
|
|
+ .system = __stringify(TRACE_SYSTEM), \
|
|
.regfunc = ftrace_reg_event_##call, \
|
|
.regfunc = ftrace_reg_event_##call, \
|
|
.unregfunc = ftrace_unreg_event_##call, \
|
|
.unregfunc = ftrace_unreg_event_##call, \
|
|
.raw_init = ftrace_raw_init_event_##call, \
|
|
.raw_init = ftrace_raw_init_event_##call, \
|