mbox series

[v4,0/3] trace-cmd: Resend record --date fix

Message ID 20181214135749.12328-1-kaslevs@vmware.com (mailing list archive)
Headers show
Series trace-cmd: Resend record --date fix | expand

Message

Slavomir Kaslev Dec. 14, 2018, 1:57 p.m. UTC
Resending "trace-cmd record --date" fix while keeping backward compatibility.

Ideally those patches should land together since the last one assumes that all
v3 listeners follow new behavior and don't write options in the trace file.

Changes in v4:
  - split tracecmd_attach_cpu_data_fd into smaller functions
  - reorder the patches per Steven's request

Changes in v3:
  - added Signed-off-by

Changes in v2:
  - split into 3 patches for easier reviewing
  - fix tracecmd_msg_recv not reading cmd_size bytes it doesn't know about

Slavomir Kaslev (3):
  trace-cmd: Prepare for protocol bump to version 3
  trace-cmd: Fix record --date flag when sending tracing data to a
    listener
  trace-cmd: Bump protocol version to v3

 include/trace-cmd/trace-cmd.h |  16 ++-
 tracecmd/include/trace-msg.h  |   6 +-
 tracecmd/trace-listen.c       |  43 +++++---
 tracecmd/trace-msg.c          | 198 +++++++++++++++-------------------
 tracecmd/trace-output.c       |  78 +++++++-------
 tracecmd/trace-record.c       |  79 +++++++-------
 6 files changed, 210 insertions(+), 210 deletions(-)