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/20240606132520.1397567-1-marilene.agarcia@gmail.com Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Shuah Khan <skhan@linuxfoundation.org> Cc: Javier Carrasco <javier.carrasco.cruz@gmail.com> Signed-off-by: Marilene A Garcia <marilene.agarcia@gmail.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent 5f7fb89 commit 9b5a45e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)