diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ftrace_event.h | 1 | ||||
-rw-r--r-- | include/linux/syscalls.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index ace2da9e0a0d..755480484eb6 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h | |||
@@ -133,7 +133,6 @@ struct ftrace_event_call { | |||
133 | #define MAX_FILTER_PRED 32 | 133 | #define MAX_FILTER_PRED 32 |
134 | #define MAX_FILTER_STR_VAL 128 | 134 | #define MAX_FILTER_STR_VAL 128 |
135 | 135 | ||
136 | extern int init_preds(struct ftrace_event_call *call); | ||
137 | extern void destroy_preds(struct ftrace_event_call *call); | 136 | extern void destroy_preds(struct ftrace_event_call *call); |
138 | extern int filter_match_preds(struct ftrace_event_call *call, void *rec); | 137 | extern int filter_match_preds(struct ftrace_event_call *call, void *rec); |
139 | extern int filter_current_check_discard(struct ftrace_event_call *call, | 138 | extern int filter_current_check_discard(struct ftrace_event_call *call, |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index f124c8995555..a8e37821cc60 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -177,7 +177,6 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *event_call) \ | |||
177 | event_enter_##sname.id = id; \ | 177 | event_enter_##sname.id = id; \ |
178 | set_syscall_enter_id(num, id); \ | 178 | set_syscall_enter_id(num, id); \ |
179 | INIT_LIST_HEAD(&event_enter_##sname.fields); \ | 179 | INIT_LIST_HEAD(&event_enter_##sname.fields); \ |
180 | init_preds(&event_enter_##sname); \ | ||
181 | return 0; \ | 180 | return 0; \ |
182 | } \ | 181 | } \ |
183 | TRACE_SYS_ENTER_PROFILE(sname); \ | 182 | TRACE_SYS_ENTER_PROFILE(sname); \ |
@@ -214,7 +213,6 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *event_call) \ | |||
214 | event_exit_##sname.id = id; \ | 213 | event_exit_##sname.id = id; \ |
215 | set_syscall_exit_id(num, id); \ | 214 | set_syscall_exit_id(num, id); \ |
216 | INIT_LIST_HEAD(&event_exit_##sname.fields); \ | 215 | INIT_LIST_HEAD(&event_exit_##sname.fields); \ |
217 | init_preds(&event_exit_##sname); \ | ||
218 | return 0; \ | 216 | return 0; \ |
219 | } \ | 217 | } \ |
220 | TRACE_SYS_EXIT_PROFILE(sname); \ | 218 | TRACE_SYS_EXIT_PROFILE(sname); \ |