Add a new option to ktrdump (-l) which causes it to loop awaiting new data
commit1ee21a03b5312c43f40bb14017b5f030c5900c99
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 8 Jun 2007 18:24:22 +0000 (8 18:24 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 8 Jun 2007 18:24:22 +0000 (8 18:24 +0000)
tree443bf896ec93d233004a8a3609b7e238cf5a3c1d
parent0fa7d49c8d17e4fe2131069a8f0c8163528c8fcf
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