mbox series

[0/2] Fix listener and add trace file validation

Message ID 20210217042341.1675546-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series Fix listener and add trace file validation | expand

Message

Tzvetomir Stoyanov (VMware) Feb. 17, 2021, 4:23 a.m. UTC
Added checks for trace file consistency when reading and writing it.
Fixed broken tarce-cmd listener.

Tzvetomir Stoyanov (VMware) (2):
  trace-cmd: Add validation for reading and writing trace.dat files
  trace-cmd: Fix broken listener and add error checks

 .../include/private/trace-cmd-private.h       |  24 ++-
 lib/trace-cmd/trace-input.c                   |  27 ++-
 lib/trace-cmd/trace-output.c                  | 161 +++++++++++++++---
 tracecmd/trace-listen.c                       |  22 ++-
 tracecmd/trace-record.c                       |  33 +++-
 tracecmd/trace-split.c                        |   2 +-
 6 files changed, 219 insertions(+), 50 deletions(-)