Add a new option to ktrdump (-l) which causes it to loop awaiting new data
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 8 Jun 2007 18:24:22 +0000 (18:24 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 8 Jun 2007 18:24:22 +0000 (18:24 +0000)
commitc2d873bd498484f292088fcfc127c181b2dc2842
tree261d934ad3bda1efd434a8cb0839657df851bb8c
parentcc9e67cf7340dcee0173ef871e2b6c69adcf6049
Add a new option to ktrdump (-l) which causes it to loop awaiting new data
and then display it as it comes in.  Cleanup ktrdump considerably.  By
Aggelos Economopoulos.

Additional work by Matt:  Clean it up even more, document the code, and make
the new looping feature work with -s.

Submitted-by: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
With-additional-work-by: dillon
usr.bin/ktrdump/ktrdump.8
usr.bin/ktrdump/ktrdump.c