diff options
Diffstat (limited to 'kernel/trace/trace_events.h')
-rw-r--r-- | kernel/trace/trace_events.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace_events.h b/kernel/trace/trace_events.h index deb95e5006c..b015d7b1987 100644 --- a/kernel/trace/trace_events.h +++ b/kernel/trace/trace_events.h | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | struct ftrace_event_call { | 8 | struct ftrace_event_call { |
9 | char *name; | 9 | char *name; |
10 | char *system; | ||
10 | struct dentry *dir; | 11 | struct dentry *dir; |
11 | int enabled; | 12 | int enabled; |
12 | int (*regfunc)(void); | 13 | int (*regfunc)(void); |
@@ -44,6 +45,7 @@ static struct ftrace_event_call __used \ | |||
44 | __attribute__((__aligned__(4))) \ | 45 | __attribute__((__aligned__(4))) \ |
45 | __attribute__((section("_ftrace_events"))) event_##call = { \ | 46 | __attribute__((section("_ftrace_events"))) event_##call = { \ |
46 | .name = #call, \ | 47 | .name = #call, \ |
48 | .system = STR(TRACE_SYSTEM), \ | ||
47 | .regfunc = ftrace_reg_event_##call, \ | 49 | .regfunc = ftrace_reg_event_##call, \ |
48 | .unregfunc = ftrace_unreg_event_##call, \ | 50 | .unregfunc = ftrace_unreg_event_##call, \ |
49 | } | 51 | } |