[DTrace-devel] [PATCH v2 03/04] rawtp: report lockmem issues when determining rawtp argument count
Nick Alcock
nick.alcock at oracle.com
Thu Nov 30 17:15:36 UTC 2023
On 30 Nov 2023, Kris Van Hees via DTrace-devel told this:
> No test is added for this condition because any such test would have to
> be removed again in the next patch, where a better way to retrieve rawtp
> argument info will be introduced. This code will remain as a fallback,
> but we do not have any way to programmatically force it to be used.
OK, but...
> diff --git a/libdtrace/dt_cc.c b/libdtrace/dt_cc.c
> index a42109f1..887e0be1 100644
> --- a/libdtrace/dt_cc.c
> +++ b/libdtrace/dt_cc.c
> @@ -307,6 +307,9 @@ dt_setcontext(dtrace_hdl_t *dtp, const dtrace_probedesc_t *pdp)
> pdp->prb);
> }
>
> + if (err == EDT_BPF)
> + (yypcb->pcb_jmpbuf, err);
There seems to be something missing from here. Maybe a longjmp() :)
--
NULL && (void)
More information about the DTrace-devel
mailing list