diff options
author | Namhyung Kim <[email protected]> | 2015-01-09 09:38:12 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-01-16 17:49:28 -0300 |
commit | 260d819e3abdbdaa2b88fb983d1314f1b263f9e2 (patch) | |
tree | 65e29f22733136264e30896fc28ee2874834d1db /tools/lib/api/fs/debugfs.c | |
parent | c6e5e9fbc3ea1c1a5648a3498d085fc3978df2d4 (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