[DTrace-devel] [PATCH 05/15] cg: support save/restore of probe arguments
Nick Alcock
nick.alcock at oracle.com
Thu Feb 23 12:42:55 UTC 2023
On 23 Feb 2023, Kris Van Hees via DTrace-devel stated:
> With the upcoming introduction of dependent probes (probes that use
> another underlying probe as trigger), we need to be able to save the
> probe arguments for the underlying probe so that the arguments can be
> modified in preparation for execution the clauses of the dependent
s/execution/execution of/
> probe. After all such clauses have been executed, the probe arguments
> need to be restored in case there is another dependent probe (with
> possibly different arguments).
... and dependent probes are one layer deep (it makes no sense to have a
dependent probe of another dependent probe, since dependent probes don't
have the only-one-in-any-one-location limitations that made dependent
probes themselves necessary in the first place), so you only need one
storage location for the saved args.
> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
More information about the DTrace-devel
mailing list