Home
last modified time | relevance | path

Searched refs:pgctx (Results 1 – 7 of 7) sorted by relevance

/external/linux-tools-perf/src/tools/perf/ui/gtk/
Dutil.c8 struct perf_gtk_context *pgctx; variable
14 ctx = malloc(sizeof(*pgctx)); in perf_gtk__activate_context()
36 if (!perf_gtk__is_active_context(pgctx) || in perf_gtk__error()
44 dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW(pgctx->main_window), in perf_gtk__error()
61 if (!perf_gtk__is_active_context(pgctx) || in perf_gtk__warning_info_bar()
69 gtk_label_set_text(GTK_LABEL(pgctx->message_label), msg); in perf_gtk__warning_info_bar()
70 gtk_info_bar_set_message_type(GTK_INFO_BAR(pgctx->info_bar), in perf_gtk__warning_info_bar()
72 gtk_widget_show(pgctx->info_bar); in perf_gtk__warning_info_bar()
82 if (!perf_gtk__is_active_context(pgctx) || in perf_gtk__warning_statusbar()
90 gtk_statusbar_pop(GTK_STATUSBAR(pgctx->statbar), in perf_gtk__warning_statusbar()
[all …]
Dhelpline.c11 if (!perf_gtk__is_active_context(pgctx)) in gtk_helpline_pop()
14 gtk_statusbar_pop(GTK_STATUSBAR(pgctx->statbar), in gtk_helpline_pop()
15 pgctx->statbar_ctx_id); in gtk_helpline_pop()
20 if (!perf_gtk__is_active_context(pgctx)) in gtk_helpline_push()
23 gtk_statusbar_push(GTK_STATUSBAR(pgctx->statbar), in gtk_helpline_push()
24 pgctx->statbar_ctx_id, msg); in gtk_helpline_push()
Dannotate.c174 if (perf_gtk__is_active_context(pgctx)) { in symbol__gtk_annotate()
175 window = pgctx->main_window; in symbol__gtk_annotate()
176 notebook = pgctx->notebook; in symbol__gtk_annotate()
193 pgctx = perf_gtk__activate_context(window); in symbol__gtk_annotate()
194 if (!pgctx) in symbol__gtk_annotate()
199 pgctx->notebook = notebook; in symbol__gtk_annotate()
233 if (!perf_gtk__is_active_context(pgctx)) in perf_gtk__show_annotations()
236 window = pgctx->main_window; in perf_gtk__show_annotations()
244 perf_gtk__deactivate_context(&pgctx); in perf_gtk__show_annotations()
Dbrowser.c67 pgctx->info_bar = info_bar; in perf_gtk__setup_info_bar()
68 pgctx->message_label = label; in perf_gtk__setup_info_bar()
83 pgctx->statbar = stbar; in perf_gtk__setup_statusbar()
84 pgctx->statbar_ctx_id = ctxid; in perf_gtk__setup_statusbar()
Dsetup.c19 if (!perf_gtk__is_active_context(pgctx)) in perf_gtk__exit()
Dgtk.h23 extern struct perf_gtk_context *pgctx;
Dhists.c359 pgctx = perf_gtk__activate_context(window); in perf_evlist__gtk_browse_hists()
360 if (!pgctx) in perf_evlist__gtk_browse_hists()
419 perf_gtk__deactivate_context(&pgctx); in perf_evlist__gtk_browse_hists()