Skip to content

perf: bug fixes, cleanup of parse events memory allocations

David Ahern lkml 1 version Applied

Status from this message: Thanks, applied,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6perf evsel: fix count parameter to read call in event_format__newtools/perf/util/evsel.c+1 -10 replies
2/6perf evlist: fix use of uninitialized variabletools/perf/util/evlist.c+1 -10 replies
3/6perf event: initialize allocated memory for synthesized eventstools/perf/util/event.c+4 -41 reply
4/6perf: don't free list head in parse_events__free_termstools/perf/util/parse-events.c+0 -20 replies
5/6perf test: make terms a stack variable in test_termtools/perf/tests/parse-events.c+5 -90 replies
6/6perf parse events: demystify memory allocationstools/perf/util/parse-events.c tools/perf/util/parse-events.h tools/perf/util/parse-events.y+61 -633 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/6] perf: bug fixes, cleanup of parse events memory allocations

David Ahern (6):
perf evsel: fix count parameter to read call in event_format__new perf evlist: fix use of uninitialized variable
perf event: initialize allocated memory for synthesized events
perf: don't free list head in parse_events__free_terms perf test: make terms a stack variable in test_term perf parse events: demystify memory allocations

 tools/perf/tests/parse-events.c |   14 ++++-----
 tools/perf/util/event.c         |    8 ++---
 tools/perf/util/evlist.c        |    2 +-
 tools/perf/util/evsel.c         |    2 +-
 tools/perf/util/parse-events.c  |   54 ++++++++++------------------------
 tools/perf/util/parse-events.h  |   10 +++----
 tools/perf/util/parse-events.y  |   62 +++++++++++++++++++++++++--------------
 7 files changed, 72 insertions(+), 80 deletions(-)
Signature · 1 line
1.7.10.1