DTrace boken in FreeBSD 10.3 Stable

Andreas Longwitz longwitz at incore.de
Wed May 10 10:05:04 UTC 2017


After upgrade FreeBSD 10.3 from r307955 to r317936 DTrace is broken:

The output of
  dtrace -n 'dtrace:::BEGIN { printf("Hello FreeBSD!\n"); }'
gives
dtrace: invalid probe specifier dtrace:::BEGIN { printf("Hello
FreeBSD!\n"); }: "/usr/lib/dtrace/ip.d", line 245: m_data is not a
member of struct mbuf

The file ip.d was replaced with commit of Revision 317375. Using the
previus version of the file /usr/lib/dtrace/ip.d lets DTrace work again.

Another problem with DTrace now are error messages in /var/log/messages
while running "dtrace -vl" like

  <kern.crit> dsssrvt7 kernel: fbt_getargdesc(1296): Unknown function!
  <kern.crit> dsssrvt7 last message repeated 45 times

This problem looks like the problem described in the old PR kern/160275.
I do not know how to fix this.

-- 
Dr. Andreas Longwitz



More information about the freebsd-dtrace mailing list