summaryrefslogtreecommitdiff
path: root/tools/perf/ui/gtk/gtk.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2012-12-21 12:20:13 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 23:40:16 +0400
commit0da41ce954840a74e7a0de9c8268bf855147e902 (patch)
tree7707066ce5dbc7dc225dd08a79e7822b2b8b5f30 /tools/perf/ui/gtk/gtk.h
parentc91368c4889a0ee5dd06552adbb50ae54f5096fd (diff)
downloadlinux-0da41ce954840a74e7a0de9c8268bf855147e902.tar.xz
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);
void perf_gtk__init_progress(void);
void perf_gtk__init_hpp(void);
-#ifndef HAVE_GTK_INFO_BAR
+void perf_gtk__signal(int sig);
+void perf_gtk__resize_window(GtkWidget *window);
+const char *perf_gtk__get_percent_color(double percent);
+GtkWidget *perf_gtk__setup_statusbar(void);
+
+#ifdef HAVE_GTK_INFO_BAR
+GtkWidget *perf_gtk__setup_info_bar(void);
+#else
static inline GtkWidget *perf_gtk__setup_info_bar(void)
{
return NULL;