[PATCH 1/3] perf tools: Avoid deadlock when map_groups are broken

2015-08-19 Thread Adrian Hunter
Attempting to clone map groups onto themselves will deadlock. It only happens because of other bugs, but the code should protect itself anyway. Signed-off-by: Adrian Hunter --- tools/perf/util/thread.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/util/thread.c

[PATCH 1/3] perf tools: Avoid deadlock when map_groups are broken

2015-08-19 Thread Adrian Hunter
Attempting to clone map groups onto themselves will deadlock. It only happens because of other bugs, but the code should protect itself anyway. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/thread.c | 6 ++ 1 file changed, 6 insertions(+) diff --git