git: add KTR_CTXSW option to log context switches

Aggelos Economopoulos aggelos at crater.dragonflybsd.org
Fri Sep 4 18:16:43 PDT 2009


commit d850923cde9a684d3509eec67512169ed91f0aad
Author: Aggelos Economopoulos <aoiko at cc.ece.ntua.gr>
Date:   Sat Sep 5 03:46:14 2009 +0300

    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.

Summary of changes:
 share/man/man4/ktr.4   |    3 +++
 sys/conf/options       |    1 +
 sys/kern/lwkt_thread.c |    8 ++++++++
 3 files changed, 12 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d850923cde9a684d3509eec67512169ed91f0aad


-- 
DragonFly BSD source repository





More information about the Commits mailing list