Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140765
b: refs/heads/master
c: d2ef7c2
h: refs/heads/master
i:
  140763: 356121b
v: v3
  • Loading branch information
Wenji Huang authored and Steven Rostedt committed Feb 17, 2009
1 parent d4e6a91 commit 83cda9d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af513098452b8887d7c0e15a39d7cb74479501bd
refs/heads/master: d2ef7c2f0f9ab48c25eafc0ebad0df5f7930420b
12 changes: 11 additions & 1 deletion trunk/kernel/trace/trace_selftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ trace_selftest_startup_sysprof(struct tracer *trace, struct trace_array *tr)
ret = tracer_init(trace, tr);
if (ret) {
warn_failed_init_tracer(trace, ret);
return 0;
return ret;
}

/* Sleep for a 1/10 of a second */
Expand All @@ -634,6 +634,11 @@ trace_selftest_startup_sysprof(struct tracer *trace, struct trace_array *tr)
trace->reset(tr);
tracing_start();

if (!ret && !count) {
printk(KERN_CONT ".. no entries found ..");
ret = -1;
}

return ret;
}
#endif /* CONFIG_SYSPROF_TRACER */
Expand Down Expand Up @@ -661,6 +666,11 @@ trace_selftest_startup_branch(struct tracer *trace, struct trace_array *tr)
trace->reset(tr);
tracing_start();

if (!ret && !count) {
printk(KERN_CONT ".. no entries found ..");
ret = -1;
}

return ret;
}
#endif /* CONFIG_BRANCH_TRACER */

0 comments on commit 83cda9d

Please sign in to comment.