Skip to content

trace-cmd fixes and clean-ups

Tzvetomir Stoyanov (VMware) linux-trace-devel 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 0 repliesNew
  2. v46 patches 0 repliesSuperseded
  3. v321 patches 10 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v221 patches0 repliesSuperseded
v121 patches0 repliesSuperseded

Changes in v5 from the cover letter

- Rebased on top of the latest master.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6trace-cmd library: Do not use local variables when reading CPU stat optionlib/trace-cmd/trace-input.c+7 -70 replies
2/6trace-cmd library: Track maximum CPUs count in input handlerlib/trace-cmd/trace-input.c+6 -10 replies
3/6trace-cmd library: Fix possible memory leak in read_event_files()lib/trace-cmd/trace-input.c+19 -200 replies
4/6trace-cmd library: Fix possible memory leak in read_ftrace_files()lib/trace-cmd/trace-input.c+11 -90 replies
5/6trace-cmd library: Set the correct file state when reading file with no kallsymslib/trace-cmd/trace-input.c+5 -30 replies
6/6trace-cmd library: Set the correct file state when reading file with no ftrace printk datalib/trace-cmd/trace-input.c+3 -10 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/6] trace-cmd fixes and clean-ups

Various trace-cmd application and library fixes, clean-ups and internal refactoring, needed for trace file version 7 and compression changes.

v5 changes:
- Rebased on top of the latest master.
v4 changes:
- Removed from the set the patches that were already merged upstream.
- Rebased on top of the latest master.
- Removed these 2 patches from the set, as they will be a separate patch sets:
"trace-cmd library: Refactor APIs for creating output handler" "trace-cmd library: Refactor the logic for writing trace data in the file"
- Addressed Steven's comments.
v3 changes:
- Fixed issues of split and convert commands with some corner cases.
v2 changes:
- More cleanups, forgotten in the first version.

Tzvetomir Stoyanov (VMware) (6):
trace-cmd library: Do not use local variables when reading CPU stat
option
trace-cmd library: Track maximum CPUs count in input handler trace-cmd library: Fix possible memory leak in read_event_files() trace-cmd library: Fix possible memory leak in read_ftrace_files() trace-cmd library: Set the correct file state when reading file with
no kallsyms
trace-cmd library: Set the correct file state when reading file with
no ftrace printk data

 lib/trace-cmd/trace-input.c | 92 ++++++++++++++++++++-----------------
 1 file changed, 51 insertions(+), 41 deletions(-)
Signature · 1 line
2.33.1