Skip to content

Commit 9b5a45e

Browse files
MarileneGarciarostedt
authored andcommitted
ftrace: Add missing kerneldoc parameters to unregister_ftrace_direct()
Add the description to the parameters addr and free_filters of the function unregister_ftrace_direct(). Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Javier Carrasco <[email protected]> Signed-off-by: Marilene A Garcia <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 5f7fb89 commit 9b5a45e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/trace/ftrace.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5988,6 +5988,8 @@ EXPORT_SYMBOL_GPL(register_ftrace_direct);
59885988
* unregister_ftrace_direct - Remove calls to custom trampoline
59895989
* previously registered by register_ftrace_direct for @ops object.
59905990
* @ops: The address of the struct ftrace_ops object
5991+
* @addr: The address of the direct function that is called by the @ops functions
5992+
* @free_filters: Set to true to remove all filters for the ftrace_ops, false otherwise
59915993
*
59925994
* This is used to remove a direct calls to @addr from the nop locations
59935995
* of the functions registered in @ops (with by ftrace_set_filter_ip

0 commit comments

Comments
 (0)