tracing/kprobes: Fix the order of argument descriptions
authorYujie Liu <yujie.liu@intel.com>
Tue, 31 Oct 2023 04:13:05 +0000 (12:13 +0800)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 10 Nov 2023 23:00:43 +0000 (08:00 +0900)
commitf032c53bea6d2057c14553832d846be2f151cfb2
tree40cfa2325368e8866fb604d8db6282c7622c9811
parentce51e6153f7781bcde0f8bb4c81d6fd85ee422e6
tracing/kprobes: Fix the order of argument descriptions

The order of descriptions should be consistent with the argument list of
the function, so "kretprobe" should be the second one.

int __kprobe_event_gen_cmd_start(struct dynevent_cmd *cmd, bool kretprobe,
                                 const char *name, const char *loc, ...)

Link: https://lore.kernel.org/all/20231031041305.3363712-1-yujie.liu@intel.com/
Fixes: 2a588dd1d5d6 ("tracing: Add kprobe event command generation functions")
Suggested-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Yujie Liu <yujie.liu@intel.com>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/trace/trace_kprobe.c