aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/fs/debugfs.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2015-01-09 09:38:12 +0900
committerArnaldo Carvalho de Melo <[email protected]>2015-01-16 17:49:28 -0300
commit260d819e3abdbdaa2b88fb983d1314f1b263f9e2 (patch)
tree65e29f22733136264e30896fc28ee2874834d1db /tools/lib/api/fs/debugfs.c
parentc6e5e9fbc3ea1c1a5648a3498d085fc3978df2d4 (diff)
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 <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: David Ahern <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/debugfs.c')
0 files changed, 0 insertions, 0 deletions