Re: [PATCH v4 9/9] Documentation: tracing: Add a note about argument and retval access

From: Florent Revest
Date: Fri Aug 25 2023 - 12:13:43 EST


On Wed, Aug 23, 2023 at 5:17 PM Masami Hiramatsu (Google)
<mhiramat@xxxxxxxxxx> wrote:
> diff --git a/Documentation/trace/fprobetrace.rst b/Documentation/trace/fprobetrace.rst
> index 8e9bebcf0a2e..e35e6b18df40 100644
> --- a/Documentation/trace/fprobetrace.rst
> +++ b/Documentation/trace/fprobetrace.rst
> @@ -59,8 +59,12 @@ Synopsis of fprobe-events
> and bitfield are supported.
>
> (\*1) This is available only when BTF is enabled.
> - (\*2) only for the probe on function entry (offs == 0).
> - (\*3) only for return probe.
> + (\*2) only for the probe on function entry (offs == 0). Note, this argument access
> + is best effort, because depending on the argument type, it may be passed on
> + the stack. But this only support the arguments via registers.

supports*

Otherwise:
Acked-by: Florent Revest <revest@xxxxxxxxxxxx>