Documentation: tracing: Add a note about argument and retval access
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 10 Nov 2023 10:59:03 +0000 (19:59 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 10 Nov 2023 10:59:03 +0000 (19:59 +0900)
commitb2a866975f6cd5859c746f1da39c8f5736c8def2
tree7e5874462fded7cd95f8e259cde12e4c68d9167f
parent89cdf9d556016a54ff6ddd62324aa5ec790c05cc
Documentation: tracing: Add a note about argument and retval access

Add a note about the argument and return value accecss will be best
effort. Depending on the type, it will be passed via stack or a
pair of the registers, but $argN and $retval only support the
single register access.

Link: https://lore.kernel.org/all/169556269377.146934.14829235476649685954.stgit@devnote2/
Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Documentation/trace/fprobetrace.rst
Documentation/trace/kprobetrace.rst