Skip to content
Snippets Groups Projects
Commit d26cb3cb authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch HEAD

Don't drop LBUG/LASSERT messages (subsystem = 0) when processing the debug log.
b=16117
parent 98a7df87
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment