The selftest validation code checks for valid entries in the trace buffer.
TRACE_STACK and TRACE_SPECIAL have been added to the code but not to
the validator. This patch adds the two to prevent them from flagging a
failure in the selftest.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
case TRACE_FN:
case TRACE_CTX:
case TRACE_WAKE:
+ case TRACE_STACK:
+ case TRACE_SPECIAL:
return 1;
}
return 0;
/* we should only have one item */
if (!ret && count != 1) {
- printk(KERN_CONT ".. filter failed ..");
+ printk(KERN_CONT ".. filter failed count=%ld ..", count);
ret = -1;
goto out;
}