[DTrace-devel] [PATCH v2 01/15] parser: ensure 'args' is not marked DPTR
Nick Alcock
nick.alcock at oracle.com
Thu Feb 23 17:55:47 UTC 2023
On 23 Feb 2023, Kris Van Hees via DTrace-devel said:
> Since args[] is not actually an array it should not be marked DPTR.
> It is not a pointer at all to any memory but rather a syntactic
> construct to be able to reference (possibly translated) typed probe
> arguments. It can only be used as an indexed expression (args[idx])
> and is rendered in code as either a builtin variable (arg0 .. arg9)
> lookup or as a dynamic expression.
>
> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Thanks, that makes it much clearer.
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
--
NULL && (void)
More information about the DTrace-devel
mailing list