|
@@ -119,7 +119,7 @@ ftrace_format_##call(struct ftrace_event_call *unused, \
|
|
|
|
|
|
#undef TRACE_EVENT_FORMAT
|
|
#undef TRACE_EVENT_FORMAT
|
|
#define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, tpfmt) \
|
|
#define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, tpfmt) \
|
|
-int ftrace_define_fields_##call(void); \
|
|
|
|
|
|
+int ftrace_define_fields_##call(struct ftrace_event_call *event_call); \
|
|
static int ftrace_raw_init_event_##call(void); \
|
|
static int ftrace_raw_init_event_##call(void); \
|
|
\
|
|
\
|
|
struct ftrace_event_call __used \
|
|
struct ftrace_event_call __used \
|
|
@@ -184,9 +184,8 @@ __attribute__((section("_ftrace_events"))) event_##call = { \
|
|
#undef TRACE_EVENT_FORMAT
|
|
#undef TRACE_EVENT_FORMAT
|
|
#define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, tpfmt) \
|
|
#define TRACE_EVENT_FORMAT(call, proto, args, fmt, tstruct, tpfmt) \
|
|
int \
|
|
int \
|
|
-ftrace_define_fields_##call(void) \
|
|
|
|
|
|
+ftrace_define_fields_##call(struct ftrace_event_call *event_call) \
|
|
{ \
|
|
{ \
|
|
- struct ftrace_event_call *event_call = &event_##call; \
|
|
|
|
struct args field; \
|
|
struct args field; \
|
|
int ret; \
|
|
int ret; \
|
|
\
|
|
\
|