lkml.org 
[lkml]   [2014]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] perf stat: fix memory corruption and core dump
Date
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(-)

--
1.7.9.5



\
 
 \ /
  Last update: 2014-01-18 01:41    [W:0.061 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site