Skip to content

Commit 8d1b065

Browse files
Jiaxing Wangrostedt
authored andcommitted
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/[email protected] Signed-off-by: Jiaxing Wang <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
1 parent 7eea4fc commit 8d1b065

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

kernel/trace/ftrace.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3542,8 +3542,7 @@ int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf,
35423542
}
35433543
EXPORT_SYMBOL_GPL(ftrace_set_notrace);
35443544
/**
3545-
* ftrace_set_filter - set a function to filter on in ftrace
3546-
* @ops - the ops to set the filter with
3545+
* ftrace_set_global_filter - set a function to filter on with global tracers
35473546
* @buf - the string that holds the function filter text.
35483547
* @len - the length of the string.
35493548
* @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)
35583557
EXPORT_SYMBOL_GPL(ftrace_set_global_filter);
35593558

35603559
/**
3561-
* ftrace_set_notrace - set a function to not trace in ftrace
3562-
* @ops - the ops to set the notrace filter with
3560+
* ftrace_set_global_notrace - set a function to not trace with global tracers
35633561
* @buf - the string that holds the function notrace text.
35643562
* @len - the length of the string.
35653563
* @reset - non zero to reset all filters before applying this filter.

0 commit comments

Comments
 (0)