Skip to content

trace-cmd: Fix trace-cmd convert

Steven Rostedt linux-trace-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2trace-cmd library: Fail if tracecmd_init_data() failslib/trace-cmd/trace-input.c+4 -20 replies
2/2trace-cmd library: Fix reading of temp file used to decompresslib/trace-cmd/trace-input.c+8 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] trace-cmd: Fix trace-cmd convert

From: "Steven Rostedt (Google)" <[email protected]>

When fixing tracecmd_read_at() the convert command was broken. This was due to it using the temp file and not the zpage. The offsets were not accounted for in this path. trace-cmd convert uses the temp files and not the zpage so it was a casualty of the situation.

Steven Rostedt (Google) (2):
trace-cmd library: Fail if tracecmd_init_data() fails trace-cmd library: Fix reading of temp file used to decompress

 lib/trace-cmd/trace-input.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
Signature · 1 line
2.35.1