Without this modification:
# dtrace -n 'syscall:::entry { @[execname, probefunc] = count(); }' -c "echo hello" dtrace: invalid probe specifier syscall:::entry { @[execname, probefunc] = count(); }: "/usr/lib/dtrace/ipfw.d", line 1: cached_id is not a member of struct ip_fw
(Is "line 1" here also a bug?)
I didn't change the field names in ipfw_rule_info for compatibility, but if it
is ok to change, I would like to rename them to cache_id and cache_pos.
Proposed commit message:
DTrace ipfw: Follow struct ip_fw field change The fields of struct ip_fw changed in 322e5efda8578bb9c0a0ab0ef785cd1e1c222c85 and the trsnalation rule needs to catch up. The field names in ipfw_rule_info are not changed for compatibility. MFC after: 1 week