mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] perf stat: fix memory corruption and core dump
@ 2014-01-17 15:34 Stephane Eranian
  2014-01-17 15:34 ` [PATCH 1/2] perf stat: fix NULL pointer reference bug with event unit Stephane Eranian
  2014-01-17 15:34 ` [PATCH 2/2] perf stat: fix memory corruption of xyarray when cpumask is used Stephane Eranian
  0 siblings, 2 replies; 6+ messages in thread
From: Stephane Eranian @ 2014-01-17 15:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: peterz, mingo, acme, jolsa, dsahern, Stephane Eranian

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-23 17:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-17 15:34 [PATCH 0/2] perf stat: fix memory corruption and core dump Stephane Eranian
2014-01-17 15:34 ` [PATCH 1/2] perf stat: fix NULL pointer reference bug with event unit Stephane Eranian
2014-01-23 17:03   ` [tip:perf/urgent] " tip-bot for Stephane Eranian
2014-01-17 15:34 ` [PATCH 2/2] perf stat: fix memory corruption of xyarray when cpumask is used Stephane Eranian
2014-01-20 19:06   ` Arnaldo Carvalho de Melo
2014-01-23 17:04   ` [tip:perf/urgent] perf stat: Fix " tip-bot for Stephane Eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome