add KTR_CTXSW option to log context switches
authorAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Sat, 5 Sep 2009 00:46:14 +0000 (03:46 +0300)
committerAggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Sat, 5 Sep 2009 01:15:29 +0000 (04:15 +0300)
commitd850923cde9a684d3509eec67512169ed91f0aad
tree9dcd5459f10556ca2c611113675bfb0da2f47929
parent6d76543904fe14ff9a80d02e173a623323774572
add KTR_CTXSW option to log context switches

This logs the current thread and the thread we switch
to on every context switch or thread preemption event
when enabled.
share/man/man4/ktr.4
sys/conf/options
sys/kern/lwkt_thread.c