Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2021 19:25:54 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        dtrace@freebsd.org
Subject:   something broke Dtrace scripts?
Message-ID:  <alpine.BSF.2.00.2111181919390.68830@ai.fobar.qr>

next in thread | raw e-mail | index | archive | help
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?

Thanks,
/bz

-- 
Bjoern A. Zeeb                                                     r15:7



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