On 18/11/2021 20:25, Bjoern A. Zeeb wrote:
Hi,

I updated my VM to a recent main and dtrace -l still works fine but
running any script stopped working.

A very easy way to reproduce the initial problem is simply:

root@bhyve:/tmp # touch z.d
root@bhyve:/tmp # dtrace -s z.d
dtrace: failed to compile script z.d: "/usr/lib/dtrace/mbuf.d", line 1: failed to copy type of 'm_data': Type information is in parent and unavailable

Can someone de-tangle that message and how to fix it?

I know if I change the caddr_t to uintptr_t in the mbuf.d it'll start
complaining about "cannot find type: struct mbuf*: ..."  It is almost
as if headers weren't visible anymore or something?
What version version are you running? On FreeBSD 14.0-CURRENT main-n250590-2de49deeca0b DTrace works fine.

Reply via email to