perf stat: fix memory corruption and core dump
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf stat: fix NULL pointer reference bug with event unittools/ tools/ tools/ | +22 | 0 replies | |
| 2/2 | perf stat: fix memory corruption of xyarray when cpumask is usedtools/ tools/ | +5 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] perf stat: fix memory corruption and core dump
This short patch series fixes two problems:
- segfault for perf stat -e cpu/event=0x3c ls
- memory corruption via xyarray of evsel->fd.
The patch is relative to tip.get
Stephane Eranian (2):
perf stat: fix NULL pointer reference bug with event unit perf stat: fix memory corruption of xyarray when cpumask is used
tools/perf/util/evlist.c | 7 +++++-- tools/perf/util/evsel.c | 2 -- tools/perf/util/parse-events.c | 2 +- tools/perf/util/pmu.c | 24 ++++++++++++++++++++---- tools/perf/util/pmu.h | 2 +- 5 files changed, 27 insertions(+), 10 deletions(-)
Signature · 1 line
1.7.9.5