aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_events.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_events.h')
-rw-r--r--kernel/trace/trace_events.h2
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
8struct ftrace_event_call { 8struct 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}