projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a1cc7
)
ocfs2: Add current->comm in trace output
author
Sunil Mushran
<sunil.mushran@oracle.com>
Fri, 12 Feb 2010 22:09:06 +0000
(14:09 -0800)
committer
Joel Becker
<joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:08 +0000
(15:41 -0800)
Add current->comm to the standard mlog() output to help with debugging.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/cluster/masklog.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/cluster/masklog.h
b/fs/ocfs2/cluster/masklog.h
index 9b4d11726cf2aeb90fcfaca7ff9f45033642a81d..0442366b306014a8bed12079d4a40bef929710e5 100644
(file)
--- a/
fs/ocfs2/cluster/masklog.h
+++ b/
fs/ocfs2/cluster/masklog.h
@@
-194,9
+194,9
@@
extern struct mlog_bits mlog_and_bits, mlog_not_bits;
* previous token if args expands to nothing.
*/
#define __mlog_printk(level, fmt, args...) \
- printk(level "(%
u,%lu):%s:%d " fmt, task_pid_nr(current),
\
-
__mlog_cpu_guess, __PRETTY_FUNCTION__, __LINE__ ,
\
- ##args)
+ printk(level "(%
s,%u,%lu):%s:%d " fmt, current->comm,
\
+
task_pid_nr(current), __mlog_cpu_guess,
\
+
__PRETTY_FUNCTION__, __LINE__ ,
##args)
#define mlog(mask, fmt, args...) do { \
u64 __m = MLOG_MASK_PREFIX | (mask); \
This page took
0.025134 seconds
and
5
git commands to generate.