summaryrefslogtreecommitdiff
path: root/include/linux/ftrace_event.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-07-15 22:48:16 +0400
committerSteven Rostedt <rostedt@goodmis.org>2014-07-16 22:22:32 +0400
commit57375747b6fac0f6cf7b302c4a8adb9043ea8e3b (patch)
treef345ff7a52a9d3f8ee34239086b2fc3fb23881fd /include/linux/ftrace_event.h
parent3e5454d6568c203bca712e1976b052c345f47b44 (diff)
downloadlinux-57375747b6fac0f6cf7b302c4a8adb9043ea8e3b.tar.xz
tracing: Kill destroy_call_preds()
Remove destroy_call_preds(). Its only caller, __trace_remove_event_call(), can use free_event_filter() and nullify ->filter by hand. Perhaps we could keep this trivial helper although imo it is pointless, but then it should be static in trace_events.c. Link: http://lkml.kernel.org/p/20140715184816.GA20495@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace_event.h')
-rw-r--r--include/linux/ftrace_event.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h
index 738d46539269..f434d75e083b 100644
--- a/include/linux/ftrace_event.h
+++ b/include/linux/ftrace_event.h
@@ -404,7 +404,6 @@ enum event_trigger_type {
ETT_EVENT_ENABLE = (1 << 3),
};
-extern void destroy_call_preds(struct ftrace_event_call *call);
extern int filter_match_preds(struct event_filter *filter, void *rec);
extern int filter_check_discard(struct ftrace_event_file *file, void *rec,