Message ID | 20230106183930.12565-8-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 762310195778ec91343b35ba64b15c319520899c |
Headers | show |
Series | trace-cmd: Fix trace-cmd stream | expand |
diff --git a/tracecmd/trace-record.c b/tracecmd/trace-record.c index 03f990e3b2d1..9eb10cd8ccdf 100644 --- a/tracecmd/trace-record.c +++ b/tracecmd/trace-record.c @@ -7161,11 +7161,15 @@ void trace_stream(int argc, char **argv) { struct common_record_context ctx; + /* Default sleep time is half a second for streaming */ + sleep_time = 500000; + parse_record_options(argc, argv, CMD_stream, &ctx); record_trace_command(argc, argv, &ctx); exit(0); } + void trace_profile(int argc, char **argv) { struct common_record_context ctx;