]> git.openfabrics.org - ~emulex/infiniband.git/commit
perf ui: Add gtk2 support into setup_browser()
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 30 Apr 2012 04:55:08 +0000 (13:55 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 May 2012 19:17:34 +0000 (16:17 -0300)
commit281ef544a8476f750b9f378593c42b3e8a0b8788
tree685e23ed105380b167a36ccac54130c42aaf38c9
parent28e62b90d95a4ed8ae2ba93879003665051581a6
perf ui: Add gtk2 support into setup_browser()

Now setup_browser can handle gtk2 front-end so split the TUI code to
ui/tui/setup.c in order to remove dependency.

To this end, make ui__init/exit global symbols and take an argument.
Also split gtk code to ui/gtk/setup.c.

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.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/1335761711-31403-5-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/builtin-report.c
tools/perf/ui/gtk/browser.c
tools/perf/ui/gtk/setup.c [new file with mode: 0644]
tools/perf/ui/setup.c
tools/perf/ui/tui/setup.c [new file with mode: 0644]
tools/perf/util/cache.h