When debugging network issues one common clue is an unexpectedly
incrementing error counter. This is helpful, in that it gives us an
idea of what might be going wrong, but often these counters may be
incremented in different functions.
Add a static probe point for them so that we can use dtrace to get
futher information (e.g. a stack trace).
For example:
dtrace -n 'ip:::count / stringof(arg0) == "ips_ofragments" / { printf("%s %d", stringof(arg0), arg1); stack(); }'
Sponsored by: Rubicon Communications, LLC ("Netgate")