perf gtk/annotate: Fail early if it can't annotate
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 7 Feb 2013 09:02:13 +0000 (18:02 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Feb 2013 17:59:28 +0000 (14:59 -0300)
commitc0e79be74907b4654b622601692e1a27fd1dbeb3
tree1b42d81a1f71ad0b18c0b5461e281997cf25abd2
parent237522378604a2e26e19a8b11a70171eaf98c6c5
perf gtk/annotate: Fail early if it can't annotate

Don't need to setup a browser window if annotate cannot work.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1360227734-375-7-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/gtk/annotate.c