dtrace problem

Started by j_s, December 17, 2024, 11:34:53 PM

Previous topic - Next topic
I'm relatively new to dtrace, but I am convinced this *should* work.  I'm running opnsense 24.7.10_2-amd64 and I'm trying to run this but getting the below error:

# dtrace -n 'dtrace:::BEGIN'
dtrace: invalid probe specifier dtrace:::BEGIN: "/usr/lib/dtrace/mbuf.d", line 118: syntax error near "caddr_t"


Running this on a pure FreeBSD system does work.  Am I crazy?  Should this not work?

Ultimately, I'm having performance issues with openvpn, and I'm trying to actually validate that aesni *is* in fact being used.  Also I wanted to see if the kernel module if_ovpn is used.  Just trying to rule out optimizations that aren't being used, etc before I try digging further.

I can verify the modules are loaded, but I'm looking to prove they are actually being used.

Thanks!