perf top: Join the display thread on exit
authorJiri Olsa <jolsa@kernel.org>
Mon, 11 Aug 2014 08:50:05 +0000 (10:50 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Aug 2014 14:14:21 +0000 (11:14 -0300)
commitae256fa27118e54b0f093f0cfe2ada28f1704ef3
tree55497b0eca8235382697c788cad80c12c0b92a93
parente0336ed66f5dd974e02b1af4a81bb567a2391e45
perf top: Join the display thread on exit

We create the display thread, but never join it. It gives
the display thread a chance to quit and cleanup properly.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1407747014-18394-12-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c