git: sys/vfs/hammer: Change hkprintf() to macro and add variants [2/2]
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Sep 24 07:46:35 PDT 2015
commit 11605a5c206b366f3cadbb9cfb43beb1f764b008
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Wed Sep 16 07:11:42 2015 +0900
sys/vfs/hammer: Change hkprintf() to macro and add variants [2/2]
This commit does the following.
1. Add macros hdkprintf() and hdkrateprintf() that embed
the following prefix.
"function_name: ..."
2. Replace raw kprintf() calls that have above prefix with
newly added macros.
3. Fix some wrong function name literals using __func__.
Summary of changes:
sys/vfs/hammer/hammer.h | 4 ++++
sys/vfs/hammer/hammer_blockmap.c | 5 ++---
sys/vfs/hammer/hammer_btree.c | 12 ++++--------
sys/vfs/hammer/hammer_inode.c | 4 ++--
sys/vfs/hammer/hammer_io.c | 11 ++++-------
sys/vfs/hammer/hammer_object.c | 9 ++++-----
sys/vfs/hammer/hammer_ondisk.c | 8 ++++----
sys/vfs/hammer/hammer_subs.c | 7 +++----
sys/vfs/hammer/hammer_vfsops.c | 13 ++++++-------
sys/vfs/hammer/hammer_vnops.c | 2 +-
10 files changed, 34 insertions(+), 41 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/11605a5c206b366f3cadbb9cfb43beb1f764b008
--
DragonFly BSD source repository
More information about the Commits
mailing list