diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-12-15 19:38:27 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-15 19:38:27 -0500 |
commit | 9b961aa74b44b0952232626c5e819161d3517035 (patch) | |
tree | 6de45e3ce3a2533cd52d3c3dabd6c00c862156d3 /trace-cmd.h | |
parent | aaa8b798203492e3ed80f06689c3f0c1f133d21b (diff) |
trace-cmd: Show ring buffer stastics at the end of tracing
When the tracer is completed, show the ring buffer statistics to
give a good idea about overruns and such.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-cmd.h')
-rw-r--r-- | trace-cmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-cmd.h b/trace-cmd.h index 27f30a7..4410f4c 100644 --- a/trace-cmd.h +++ b/trace-cmd.h | |||
@@ -109,6 +109,7 @@ void tracecmd_free_recorder(struct tracecmd_recorder *recorder); | |||
109 | struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu); | 109 | struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu); |
110 | int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep); | 110 | int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep); |
111 | void tracecmd_stop_recording(struct tracecmd_recorder *recorder); | 111 | void tracecmd_stop_recording(struct tracecmd_recorder *recorder); |
112 | void tracecmd_stat_cpu(struct trace_seq *s, int cpu); | ||
112 | 113 | ||
113 | 114 | ||
114 | #endif /* _TRACE_CMD_H */ | 115 | #endif /* _TRACE_CMD_H */ |