Linux Perf
setup.c
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-2.0
2 #include "gtk.h"
3 #include "../../util/cache.h"
4 #include "../../util/debug.h"
5 
6 extern struct perf_error_ops perf_gtk_eops;
7 
8 int perf_gtk__init(void)
9 {
14 
15  return gtk_init_check(NULL, NULL) ? 0 : -1;
16 }
17 
18 void perf_gtk__exit(bool wait_for_ok __maybe_unused)
19 {
21  return;
23  gtk_main_quit();
24 }
int perf_error__unregister(struct perf_error_ops *eops)
Definition: util.c:78
int perf_gtk__init(void)
Definition: setup.c:8
struct perf_error_ops perf_gtk_eops
Definition: util.c:107
void perf_gtk__exit(bool wait_for_ok __maybe_unused)
Definition: setup.c:18
int perf_error__register(struct perf_error_ops *eops)
Definition: util.c:63
struct perf_gtk_context * pgctx
Definition: util.c:10
static bool perf_gtk__is_active_context(struct perf_gtk_context *ctx)
Definition: gtk.h:29
void perf_gtk__init_helpline(void)
Definition: helpline.c:55
void gtk_ui_progress__init(void)
Definition: progress.c:57
void perf_gtk__init_hpp(void)
Definition: hists.c:79