aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/gtk/gtk.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2012-12-21 03:20:13 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 14:40:16 -0500
commit0da41ce954840a74e7a0de9c8268bf855147e902 (patch)
tree7707066ce5dbc7dc225dd08a79e7822b2b8b5f30 /tools/perf/ui/gtk/gtk.h
parentc91368c4889a0ee5dd06552adbb50ae54f5096fd (diff)
perf ui/gtk: Factor out common browser routines
Separate out common codes for setting up a browser, and move report/hist browser codes into hists.c. The common codes can be used for annotation browser. Signed-off-by: Namhyung Kim <namhyung@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/1356078018-31905-2-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/gtk/gtk.h')
-rw-r--r--tools/perf/ui/gtk/gtk.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/perf/ui/gtk/gtk.h b/tools/perf/ui/gtk/gtk.h
index 856320e2cc05..5d3693754828 100644
--- a/tools/perf/ui/gtk/gtk.h
+++ b/tools/perf/ui/gtk/gtk.h
@@ -33,7 +33,14 @@ void perf_gtk__init_helpline(void);
33void perf_gtk__init_progress(void); 33void perf_gtk__init_progress(void);
34void perf_gtk__init_hpp(void); 34void perf_gtk__init_hpp(void);
35 35
36#ifndef HAVE_GTK_INFO_BAR 36void perf_gtk__signal(int sig);
37void perf_gtk__resize_window(GtkWidget *window);
38const char *perf_gtk__get_percent_color(double percent);
39GtkWidget *perf_gtk__setup_statusbar(void);
40
41#ifdef HAVE_GTK_INFO_BAR
42GtkWidget *perf_gtk__setup_info_bar(void);
43#else
37static inline GtkWidget *perf_gtk__setup_info_bar(void) 44static inline GtkWidget *perf_gtk__setup_info_bar(void)
38{ 45{
39 return NULL; 46 return NULL;