/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PERF_GTK_H_ #define _PERF_GTK_H_ 1 #include <stdbool.h> #pragma GCC diagnostic ignored "-Wstrict-prototypes" #include <gtk/gtk.h> #pragma GCC diagnostic error "-Wstrict-prototypes" struct perf_gtk_context { GtkWidget *main_window; GtkWidget *notebook; #ifdef HAVE_GTK_INFO_BAR_SUPPORT GtkWidget *info_bar; GtkWidget *message_label; #endif GtkWidget *statbar; guint statbar_ctx_id; }; int perf_gtk__init(void); void perf_gtk__exit(bool wait_for_ok); extern struct perf_gtk_context *pgctx;
static inline bool perf_gtk__is_active_context(struct perf_gtk_context *ctx) { return ctx && ctx->main_window; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Namhyung Kim | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Namhyung Kim | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Namhyung Kim | 226 | 88.63% | 9 | 69.23% |
Pekka J Enberg | 25 | 9.80% | 1 | 7.69% |
Ingo Molnar | 2 | 0.78% | 1 | 7.69% |
Arnaldo Carvalho de Melo | 1 | 0.39% | 1 | 7.69% |
Greg Kroah-Hartman | 1 | 0.39% | 1 | 7.69% |
Total | 255 | 100.00% | 13 | 100.00% |