[DTrace-devel] [PATCH 1/4] Enable the default ERROR probe handler

Kris Van Hees kris.van.hees at oracle.com
Wed Jun 10 10:22:03 PDT 2020


As an aside, I am holding back this patch for a little while because it causes
DTrace not to actually perform any probing given that it fails to attach the
ERROR probe clause to any probe (probe exists but cannot be enabled because it
is not 'connected' to any probe in the system).

The ERROR probe needs to be treated as a very special case and the code for
that is currently under development.

So - just ignore this for now :)

On Wed, Jun 10, 2020 at 09:30:52AM -0700, Eugene Loh wrote:
> Okay, though (admittedly quite unrelated)...
> 
> 
> On 06/10/2020 08:23 AM, Kris Van Hees wrote:
> > diff --git a/libdtrace/dt_handle.c b/libdtrace/dt_handle.c
> > @@ -51,7 +47,6 @@ dtrace_handle_err(dtrace_hdl_t *dtp, dtrace_handle_err_f *hdlr, void *arg)
> >   	if (dtp->dt_options[DTRACEOPT_GRABANON] != DTRACEOPT_UNSET)
> >   		goto out;
> 
> ... reminds me that tearing out anon is not finished.  Would you like me 
> to prepare a patch?
> 
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel



More information about the DTrace-devel mailing list