On Sat, 12 Feb 2022 03:15:26 +0100, Peter wrote: > > > Hija, > > when adding "device dtrace" to kernel conf, I get this: > > linking kernel.full > ld: error: undefined symbol: dtrace_instr_size > >>> referenced by dtrace_subr.c:0 > >>> (/usr/src/sys/cddl/dev/dtrace/amd64/dtrace_sub > r.c:0) > >>> dtrace_subr.o:(dtrace_trap) > *** [kernel.full] Error code 1 > > > When adding "device dtrace" AND "device dtraceall", it does > link, but then does panic on boot right after finding the CPUs. > > Is this to be expected, or am I doing something wrong?
There is a PR from September 2020: Bug 249369 - device dtrace and device dtraceall are incompatible with options ZFS https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249369 Maybe if you add a note there the PR will get some attention? But maybe try HEAD first?! -- Herbert