Skip to content

perf tool: small coverity clean ups

Sanskriti Sharma lkml 1 version Applied

Status from this message: Thanks, applied to perf/core

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5perf strbuf: match va_{add,copy} with va_endtools/perf/util/strbuf.c+8 -21 reply
2/5perf tools: cleanup trace-event-info 'tdata' leaktools/perf/util/trace-event-info.c+2 -01 reply
3/5perf tools: free 'printk' string in parse_ftrace_printk()tools/perf/util/trace-event-parse.c+1 -01 reply
4/5perf tools: avoid double free in read_event_file()tools/perf/util/trace-event-read.c+1 -31 reply
5/5perf tools: free temporary 'sys' string in read_event_files()tools/perf/util/trace-event-read.c+4 -11 reply

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJiri Olsa
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] perf tool: small coverity clean ups

This patch set fixes a few coverity static code analyzer complaints. Build tested only.

Sanskriti Sharma (5):
perf strbuf: match va_{add,copy} with va_end
perf tools: cleanup trace-event-info 'tdata' leak perf tools: free 'printk' string in parse_ftrace_printk() perf tools: avoid double free in read_event_file() perf tools: free temporary 'sys' string in read_event_files()

 tools/perf/util/strbuf.c            | 10 ++++++++--
 tools/perf/util/trace-event-info.c  |  2 ++
 tools/perf/util/trace-event-parse.c |  1 +
 tools/perf/util/trace-event-read.c  |  9 +++++----
 4 files changed, 16 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.3.1