Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2022 14:10:30 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        dtrace@freebsd.org
Subject:   DTrace, kernel loader, unknown probes, enable on load?
Message-ID:  <alpine.BSF.2.00.2202111403340.68830@ai.fobar.qr>

index | next in thread | raw e-mail

Hi,

one of the drawbacks of Dtrace (and other tracing frameworks out there
on various OSes) is that they do need a list of probes upfront before
they can enable.

Say I want to trace a kernel module from the moment it is loaded, that
is currently not possible.

What I am wondering is how hard it would be to "ignore" unknown probes
but enable them the moment on loading matching ones.  I assume that
will probably need a callback through user space to complicate things
but it should not be impossible.

In case anyone has some spare time to draft this up, I'll be happily a
first tester;  otherwise the idea is out at least for someone to find
it one day ...

Lots of health,
/bz

-- 
Bjoern A. Zeeb                                                     r15:7


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2202111403340.68830>