Dumping Large Binary Buffer Through Sysctl

David Christensen davidch at broadcom.com
Sat Nov 8 14:29:07 PST 2008

I'm looking for a way to dump a large binary debug buffer 
in a driver to a file.  I've currently implemented this
with SYSCTL_ADD_OPAQUE() and it works fine but running the
"sysctl -a" command causes this buffer to be dumped which
is something of a pain.  Is there a better way to do this?


More information about the freebsd-current mailing list