linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ftrace: Add missing kerneldoc parameters to unregister_ftrace_direct()
@ 2024-06-06 13:25 Marilene A Garcia
  0 siblings, 0 replies; only message in thread
From: Marilene A Garcia @ 2024-06-06 13:25 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers
  Cc: Marilene A Garcia, Shuah Khan, Javier Carrasco, linux-kernel,
	linux-trace-kernel

Add the description to the parameters addr and free_filters
of the function unregister_ftrace_direct().

Signed-off-by: Marilene A Garcia <marilene.agarcia@gmail.com>
---
Hello,
Thank you for the feedback.
The requested changes were applied in this new version.

 kernel/trace/ftrace.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index da7e6abf48b4..1f79cf3c598e 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -5960,6 +5960,8 @@ EXPORT_SYMBOL_GPL(register_ftrace_direct);
  * unregister_ftrace_direct - Remove calls to custom trampoline
  * previously registered by register_ftrace_direct for @ops object.
  * @ops: The address of the struct ftrace_ops object
+ * @addr: The address of the direct function that is called by the @ops functions
+ * @free_filters: Set to true to remove all filters for the ftrace_ops, false otherwise
  *
  * This is used to remove a direct calls to @addr from the nop locations
  * of the functions registered in @ops (with by ftrace_set_filter_ip
-- 
2.34.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-06 13:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 13:25 [PATCH v2] ftrace: Add missing kerneldoc parameters to unregister_ftrace_direct() Marilene A Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).