diff options
Diffstat (limited to 'kernel/trace/trace_selftest.c')
-rw-r--r-- | kernel/trace/trace_selftest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c index 39dd452647da..92f4acb7740c 100644 --- a/kernel/trace/trace_selftest.c +++ b/kernel/trace/trace_selftest.c | |||
@@ -9,6 +9,8 @@ static inline int trace_valid_entry(struct trace_entry *entry) | |||
9 | case TRACE_FN: | 9 | case TRACE_FN: |
10 | case TRACE_CTX: | 10 | case TRACE_CTX: |
11 | case TRACE_WAKE: | 11 | case TRACE_WAKE: |
12 | case TRACE_STACK: | ||
13 | case TRACE_SPECIAL: | ||
12 | return 1; | 14 | return 1; |
13 | } | 15 | } |
14 | return 0; | 16 | return 0; |
@@ -180,7 +182,7 @@ int trace_selftest_startup_dynamic_tracing(struct tracer *trace, | |||
180 | 182 | ||
181 | /* we should only have one item */ | 183 | /* we should only have one item */ |
182 | if (!ret && count != 1) { | 184 | if (!ret && count != 1) { |
183 | printk(KERN_CONT ".. filter failed .."); | 185 | printk(KERN_CONT ".. filter failed count=%ld ..", count); |
184 | ret = -1; | 186 | ret = -1; |
185 | goto out; | 187 | goto out; |
186 | } | 188 | } |