aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python-ext-sources
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2015-01-09 09:38:12 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-01-16 17:49:28 -0300
commit260d819e3abdbdaa2b88fb983d1314f1b263f9e2 (patch)
tree65e29f22733136264e30896fc28ee2874834d1db /tools/perf/util/python-ext-sources
parentperf tools: Fix building error in x86_64 when dwarf unwind is on (diff)
downloadlinux-dev-260d819e3abdbdaa2b88fb983d1314f1b263f9e2.tar.xz
linux-dev-260d819e3abdbdaa2b88fb983d1314f1b263f9e2.zip
perf machine: Fix __machine__findnew_thread() error path
When thread__init_map_groups() fails, a new thread should be removed from the rbtree since it's gonna be freed. Also update last match cache only if the function succeeded. Reported-by: David Ahern <dsahern@gmail.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1420763892-15535-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/python-ext-sources')
0 files changed, 0 insertions, 0 deletions