aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiaxing Wang <wangjiaxing@insigma.com.cn>2014-04-20 11:10:44 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-04-24 13:38:01 -0400
commit8d1b065d47ff1424b1aef7a6aa605b467694c120 (patch)
treee11e2492d82748bde6ffe1d6ba176f18c8179d0e
parent7eea4fce0246fe3a15ad7f3bb8d0a56d1f9440e6 (diff)
tracing: Fix documentation of ftrace_set_global_{filter,notrace}()
The functions ftrace_set_global_filter() and ftrace_set_global_notrace() still have their old names in the kernel doc (ftrace_set_filter and ftrace_set_notrace respectively). Replace these with the real names. Link: http://lkml.kernel.org/p/1398006644-5935-3-git-send-email-wangjiaxing@insigma.com.cn Signed-off-by: Jiaxing Wang <wangjiaxing@insigma.com.cn> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--kernel/trace/ftrace.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 3cfeb66bda67..34b098bfded4 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -3542,8 +3542,7 @@ int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf,
3542} 3542}
3543EXPORT_SYMBOL_GPL(ftrace_set_notrace); 3543EXPORT_SYMBOL_GPL(ftrace_set_notrace);
3544/** 3544/**
3545 * ftrace_set_filter - set a function to filter on in ftrace 3545 * ftrace_set_global_filter - set a function to filter on with global tracers
3546 * @ops - the ops to set the filter with
3547 * @buf - the string that holds the function filter text. 3546 * @buf - the string that holds the function filter text.
3548 * @len - the length of the string. 3547 * @len - the length of the string.
3549 * @reset - non zero to reset all filters before applying this filter. 3548 * @reset - non zero to reset all filters before applying this filter.
@@ -3558,8 +3557,7 @@ void ftrace_set_global_filter(unsigned char *buf, int len, int reset)
3558EXPORT_SYMBOL_GPL(ftrace_set_global_filter); 3557EXPORT_SYMBOL_GPL(ftrace_set_global_filter);
3559 3558
3560/** 3559/**
3561 * ftrace_set_notrace - set a function to not trace in ftrace 3560 * ftrace_set_global_notrace - set a function to not trace with global tracers
3562 * @ops - the ops to set the notrace filter with
3563 * @buf - the string that holds the function notrace text. 3561 * @buf - the string that holds the function notrace text.
3564 * @len - the length of the string. 3562 * @len - the length of the string.
3565 * @reset - non zero to reset all filters before applying this filter. 3563 * @reset - non zero to reset all filters before applying this filter.