Home
last modified time | relevance | path

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

/linux-5.19.10/tools/perf/ui/gtk/
Dutil.c9 struct perf_gtk_context *pgctx; variable
15 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.c12 if (!perf_gtk__is_active_context(pgctx)) in gtk_helpline_pop()
15 gtk_statusbar_pop(GTK_STATUSBAR(pgctx->statbar), in gtk_helpline_pop()
16 pgctx->statbar_ctx_id); in gtk_helpline_pop()
21 if (!perf_gtk__is_active_context(pgctx)) in gtk_helpline_push()
24 gtk_statusbar_push(GTK_STATUSBAR(pgctx->statbar), in gtk_helpline_push()
25 pgctx->statbar_ctx_id, msg); in gtk_helpline_push()
Dannotate.c188 if (perf_gtk__is_active_context(pgctx)) { in symbol__gtk_annotate()
189 window = pgctx->main_window; in symbol__gtk_annotate()
190 notebook = pgctx->notebook; in symbol__gtk_annotate()
207 pgctx = perf_gtk__activate_context(window); in symbol__gtk_annotate()
208 if (!pgctx) in symbol__gtk_annotate()
213 pgctx->notebook = notebook; in symbol__gtk_annotate()
254 if (!perf_gtk__is_active_context(pgctx)) in perf_gtk__show_annotations()
257 window = pgctx->main_window; in perf_gtk__show_annotations()
265 perf_gtk__deactivate_context(&pgctx); in perf_gtk__show_annotations()
Dbrowser.c66 pgctx->info_bar = info_bar; in perf_gtk__setup_info_bar()
67 pgctx->message_label = label; in perf_gtk__setup_info_bar()
82 pgctx->statbar = stbar; in perf_gtk__setup_statusbar()
83 pgctx->statbar_ctx_id = ctxid; in perf_gtk__setup_statusbar()
Dsetup.c20 if (!perf_gtk__is_active_context(pgctx)) in perf_gtk__exit()
Dgtk.h27 extern struct perf_gtk_context *pgctx;
Dhists.c615 pgctx = perf_gtk__activate_context(window); in evlist__gtk_browse_hists()
616 if (!pgctx) in evlist__gtk_browse_hists()
678 perf_gtk__deactivate_context(&pgctx); in evlist__gtk_browse_hists()