summaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace_event.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-07-15 20:48:13 +0200
committerSteven Rostedt <rostedt@goodmis.org>2014-07-16 14:19:55 -0400
commit3e5454d6568c203bca712e1976b052c345f47b44 (patch)
treeadbb0a9c23491a78f02a88aeb221a9e355f7a1cd /include/linux/ftrace_event.h
parent97b8ee845393701edc06e27ccec2876ff9596019 (diff)
downloadblackbird-obmc-linux-3e5454d6568c203bca712e1976b052c345f47b44.tar.gz
blackbird-obmc-linux-3e5454d6568c203bca712e1976b052c345f47b44.zip
tracing: Kill destroy_preds() and destroy_file_preds()
destroy_preds() makes no sense. The only caller, event_remove(), actually wants destroy_file_preds(). __trace_remove_event_call() does destroy_call_preds() which takes care of call->filter. And after the previous change we can simply remove destroy_preds() from event_remove(), we are going to call remove_event_from_tracers() which in turn calls remove_event_file_dir()->free_event_filter(). Link: http://lkml.kernel.org/p/20140715184813.GA20488@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 cff3106ffe2c..738d46539269 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_preds(struct ftrace_event_file *file);
extern void destroy_call_preds(struct ftrace_event_call *call);
extern int filter_match_preds(struct event_filter *filter, void *rec);
OpenPOWER on IntegriCloud