trace-cmd: Fix broken profile command
PATCH 1/1 trace-cmd: Fix broken profile command
Recent changes in creating trace.dat files broke the streams, used internaly by the trace-cmd profile command.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=213045
Reported-by Jerome Marchand <[email protected]>
Signed-off-by Tzvetomir Stoyanov (VMware) <[email protected]>
--- tracecmd/trace-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tracecmd/trace-stream.c +1 -1
@@ -59,7 +59,7 @@ trace_stream_init(struct buffer_instance *instance, int cpu, int fd, int cpus, goto fail; } -if (tracecmd_read_headers (trace_input,0 ) <0 ) +if (tracecmd_read_headers (trace_input,TRACECMD_FILE_PRINTK ) <0 ) goto fail_free_input;if (handle_init)
Signature · 1 line
2.31.1