tracing/probes: Fix to return NULL and keep using current argc
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Sun, 4 Jun 2023 02:29:00 +0000 (11:29 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 23 Jun 2023 08:35:49 +0000 (17:35 +0900)
commited5f297802fca41d88fbfa6f9c13b218e7c6f5cb
tree6635e72ddcb5736b547a8d09b0d24b1970760938
parent5985329c7073924afc19132456d212e1e8b57b1f
tracing/probes: Fix to return NULL and keep using current argc

Fix to return NULL and keep using current argc when there is
$argN and the BTF is not available.

Link: https://lore.kernel.org/all/168584574094.2056209.2694238431743782342.stgit@mhiramat.roam.corp.google.com/
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202306030940.Cej2JoUx-lkp@intel.com/
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/trace/trace_probe.c