summaryrefslogtreecommitdiff
path: root/tools/perf/tests
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2019-10-11 11:21:40 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-10-15 08:36:22 -0300
commit5a40e1994815ab09c59614c6a13d94eef55d1a7f (patch)
treebeb751b7d912c9cfbe712724dfae91c245288fad /tools/perf/tests
parentb3509b6ed7a79ec49f6b64e4f3b780f259a2a468 (diff)
perf evlist: Fix fix for freed id arrays
In the earlier fix for the memory overrun of id arrays I managed to typo the wrong event in the fix. Of course we need to close the current event in the loop, not the original failing event. The same test case as in the original patch still passes. Fixes: 7834fa948beb ("perf evlist: Fix access of freed id arrays") Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Link: http://lore.kernel.org/lkml/20191011182140.8353-2-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests')
0 files changed, 0 insertions, 0 deletions