aboutsummaryrefslogtreecommitdiffstats
path: root/trace-usage.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-12 12:15:54 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-06-12 18:34:44 -0400
commit241507a7ade7bff1de4e00346ddceebc06d681f4 (patch)
tree69003693bb34572d00099479d1049aad6cb286aa /trace-usage.c
parent36676b4958dcd46b20f9b6f5043dd4fd99537992 (diff)
downloadtrace-cmd-241507a7ade7bff1de4e00346ddceebc06d681f4.tar.gz
trace-cmd: Have trace-cmd reset reset instances too with -B option
Add -B option to trace-cmd reset to reset instances. If the -B option is used, than the top instance is ignored unless the -t option is also used. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-usage.c')
-rw-r--r--trace-usage.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/trace-usage.c b/trace-usage.c
index 26959189..c76ff27f 100644
--- a/trace-usage.c
+++ b/trace-usage.c
@@ -99,10 +99,12 @@ static struct usage_help usage_help[] = {
{
"reset",
"disable all kernel tracing and clear the trace buffers",
- " %s reset [-b size]\n"
+ " %s reset [-b size][-B buf][-t]\n"
" Disables the tracer (may reset trace file)\n"
" Used in conjunction with start\n"
" -b change the kernel buffer size (in kilobytes per CPU)\n"
+ " -B reset the given buffer instance (top instance ignored)\n"
+ " -t still reset the top instance if -B option is given\n"
},
{
"report",