> Date: Mon, 19 May 2025 12:34:01 +0000 > From: Emmanuel Dreyfus <m...@netbsd.org> > > On Mon, May 19, 2025 at 12:11:37PM +0000, Taylor R Campbell wrote: > > Please build with KDTRACE_HOOKS _and_ the patch I already sent you for > > this, which I haven't committed yet because I was waiting for your > > feedback on verifying it: > > > > https://mail-index.NetBSD.org/tech-kern/2025/04/06/msg030329.html > > Sorry, missed it. > > I applied that patch, and now I fail a bit later? > > fbt: no CTF data for module netbsd > dtrace: invalid probe specifier sdt:xen:clock:, > sdt:xen:timecounter:,sdt:xen:hardclock:systime-backward, > sdt:xen:hardclock:jump,sdt:xen:hardclock:missed { printf("%d %d %d %d %d %d > %d", arg0, arg1, arg2, arg3, arg4, arg5, arg6) }: "/usr/lib/dtrace/psinfo.d", > line 46: syntax error near "u_int"
Pass `-x nolibs' to dtrace -- this works around the bug where the Xen bootloader doesn't pass the kernel's ctf sections to NetBSD (needs to be fixed but I don't know how, would have to investigate how the Xen loader works).