DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: ktr - add KTR_COND_LOG

From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Aug 2012 07:07:39 -0700 (PDT)

commit b0bbd261455dd9cdb5575610d5fe8a3975289ed8
Author: Mihai Carabas <mihai.carabas@gmail.com>
Date:   Wed Aug 22 13:07:18 2012 +0000

    ktr - add KTR_COND_LOG
     * KTR_COND_LOG provides conditional logging; the second parameter passed
       in is a condition which determines whether the entry is logged or
     * It provides a neater way to log conditionally than having to wrap a
       KTR in an if, which may then end up being empty if KTR is disbled.

Summary of changes:
 share/man/man9/ktr.9 |   22 ++++++++++++++++++++--
 sys/sys/ktr.h        |   21 +++++++++++++++++++++
 2 files changed, 41 insertions(+), 2 deletions(-)


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]