Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a7df8
)
Branch HEAD
author
adilger
<adilger>
Tue, 8 Jul 2008 20:40:11 +0000
(20:40 +0000)
committer
adilger
<adilger>
Tue, 8 Jul 2008 20:40:11 +0000
(20:40 +0000)
Don't drop LBUG/LASSERT messages (subsystem = 0) when processing the debug log.
b=16117
lnet/utils/debug.c
patch
|
blob
|
history
diff --git
a/lnet/utils/debug.c
b/lnet/utils/debug.c
index
e2ff90b
..
045fc2c
100644
(file)
--- a/
lnet/utils/debug.c
+++ b/
lnet/utils/debug.c
@@
-406,9
+406,8
@@
static int parse_buffer(FILE *in, FILE *out)
if (rc <= 0)
break;
- if (hdr->ph_mask &&
- (!(subsystem_mask & hdr->ph_subsys) ||
- (!(debug_mask & hdr->ph_mask)))) {
+ if ((hdr->ph_subsys && !(subsystem_mask & hdr->ph_subsys)) ||
+ (hdr->ph_mask && !(debug_mask & hdr->ph_mask))) {
dropped++;
continue;
}