dtrace script matching lot of probes simply resets on i386
Andriy Gapon
avg at FreeBSD.org
Tue Nov 5 20:20:24 UTC 2019
On 05/11/2019 13:23, Bjoern A. Zeeb wrote:
> Hi,
>
> I had an i386 kernel (amd64 machine) simply going to POST. After a lot of “doh”
> I realised that it was a dtrace script which was matching a lot of probes
> running as part of some automated stuff.
>
> The problematic part from the middle of that script was a section which I can
> reduce to
>
> fbt:kernel::entry # or simply :::
> /self->foo == 1/
> {
>
> printf(“Hello\n”);
> }
>
> Anyone wants to investigate this or should I open a PR?
My first suspicion is that something in dtrace internals is not excluded and
gets matched by the probe resulting in a recursion.
But I am not sure how to approach finding that something.
Looking through dtrace -l -P fbt for something that stands out is not going to
be easy.
--
Andriy Gapon
More information about the freebsd-dtrace
mailing list