Message ID | 20220404112031.61506913@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | 2efc9575a663ed10ef83d12fe96870c04042de91 |
Headers | show |
Series | trace-cmd library: Write buffer option in out_write_cpu_data() | expand |
diff --git a/lib/trace-cmd/trace-output.c b/lib/trace-cmd/trace-output.c index f3a203ec347f..ca7132e113c0 100644 --- a/lib/trace-cmd/trace-output.c +++ b/lib/trace-cmd/trace-output.c @@ -2526,6 +2526,9 @@ __hidden int out_write_cpu_data(struct tracecmd_output *handle, handle->file_state = TRACECMD_FILE_CPU_FLYRECORD; + if (HAS_SECTIONS(handle)) + tracecmd_write_options(handle); + return 0; out_free: