diff options
author | Yasser Shalabi <yassershalabi@gmail.com> | 2014-10-04 17:37:57 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-10-15 21:16:53 +0200 |
commit | b2e19a934a36b2b4affcde9c170c0f01afabe50a (patch) | |
tree | b00d90fd96490014ed6ac0363ebdae221e5a8014 /tools/net | |
parent | perf test: Add test case for pmu event new style format (diff) | |
download | linux-b2e19a934a36b2b4affcde9c170c0f01afabe50a.tar.xz linux-b2e19a934a36b2b4affcde9c170c0f01afabe50a.zip |
perf evlist: Fix for double free in tools/perf stat
Fix for double free bug in tools/perf due to dangling thread_map pointer
in perf_evlist struct.
Code path excercised when perf stat -C switch is used but not set and is
followed by another switch.
Example:
perf stat -C -e.
Signed-off-by: Yasser Shalabi <yassershalabi@gmail.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1412437077-13109-1-git-send-email-yassershalabi@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions