perf tools: Add gtk.<command> config option for launching GTK browser
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 12 Nov 2012 02:50:17 +0000 (11:50 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 14 Nov 2012 19:51:30 +0000 (16:51 -0300)
commit0020ce23864d16f66e5667013b8b43d1df3e142e
tree4d6a6d8cf7bc0c7bd34c20f7b583e706679dc5d0
parent4f746c95f18ad4d85599d9c157da7e6da766c3d9
perf tools: Add gtk.<command> config option for launching GTK browser

Add config option for launching GTK browser for the specified command by
default.  Currently only 'report' command is supported.

Adding following line to the perfconfig file will have a same effect of
specifying --gtk option on command line (unless other related options
are not given).

$ cat ~/.perfconfig
[gtk]
report = true

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
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/1352688617-25570-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/perf.c