trace-cmd: Fix trace-cmd split command
PATCH 1/1 trace-cmd: Fix trace-cmd split command
The trace-cmd split command seems to be broken with the changes moving the writing of saved_cmdlines after the trace session.
The call to tracecmd_write_cmdlines() is no more needed in this command context, the cmdlines should be copied from input to output files.
Signed-off-by Tzvetomir Stoyanov (VMware) <[email protected]>
---
This patch depends on "trace-cmd: Fixes for trace-cmd restore" patch set.
tracecmd/trace-split.c | 4 ---- 1 file changed, 4 deletions(-)
tracecmd/trace-split.c +0 -4
@@ -384,10 +384,6 @@ static double parse_file(struct tracecmd_input *handle,for (cpu =0 ; cpu < cpus; cpu ++) cpu_list[cpu] = cpu_data[cpu].file; -/* TODO: Fix me, this is suppose to come from handle */ -if (tracecmd_write_cmdlines (ohandle)) -die ("Writing cmdlines" ); -tracecmd_append_cpu_data (ohandle, cpus, cpu_list); current = end;
Signature · 1 line
2.29.2