diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-12-16 14:45:52 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-01-05 15:03:59 -0500 |
commit | 4f28279c3e2f2cd3dc1fb836ace0ff245498fe0e (patch) | |
tree | 79b396d4f59146dbe8b6a72485118a4ed11a77f3 /trace-usage.c | |
parent | 48f4e10dbf504f830f117d6b5733eb535b7c4086 (diff) | |
download | trace-cmd-4f28279c3e2f2cd3dc1fb836ace0ff245498fe0e.tar.gz |
trace-cmd: Add trace-cmd stream
Add 'trace-cmd stream' which streams data from the ring buffer binary
files and converts them to human readable format and outputs them to
stdout. This is mainly added to be the infrastructure of the profile
command.
Stream is the same as record except that it does not take an output
file parameter (-o), and does not write a file.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-usage.c')
-rw-r--r-- | trace-usage.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/trace-usage.c b/trace-usage.c index 89d1f436..b0653f3d 100644 --- a/trace-usage.c +++ b/trace-usage.c @@ -146,6 +146,12 @@ static struct usage_help usage_help[] = { }, { + "stream", + "Start tracing and read the output directly", + " %s stream [-e event][-p plugin][-d][-O option ][-P pid]\n" + " Uses same options as record but does not write to files or the network.\n" + }, + { "hist", "show a historgram of the trace.dat information", " %s hist [-i file][-P] [file]" |