Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
7a60ba9
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
firewire
hv
include
lguest
lib
nfsd
perf
Documentation
arch
bench
config
python
scripts
tests
ui
browsers
gtk
annotate.c
browser.c
gtk.h
helpline.c
hists.c
progress.c
setup.c
util.c
stdio
tui
browser.c
browser.h
helpline.c
helpline.h
hist.c
keysyms.h
libslang.h
progress.c
progress.h
setup.c
ui.h
util.c
util.h
util
.gitignore
CREDITS
MANIFEST
Makefile
bash_completion
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c
builtin-evlist.c
builtin-help.c
builtin-inject.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-probe.c
builtin-record.c
builtin-report.c
builtin-sched.c
builtin-script.c
builtin-stat.c
builtin-timechart.c
builtin-top.c
builtin-trace.c
builtin.h
command-list.txt
design.txt
perf-archive.sh
perf.c
perf.h
power
scripts
testing
usb
virtio
vm
Makefile
usr
virt
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
REPORTING-BUGS
Breadcrumbs
linux
/
tools
/
perf
/
ui
/
gtk
/
gtk.h
Copy path
Blame
Blame
Latest commit
History
History
51 lines (39 loc) · 1.13 KB
Breadcrumbs
linux
/
tools
/
perf
/
ui
/
gtk
/
gtk.h
Top
File metadata and controls
Code
Blame
51 lines (39 loc) · 1.13 KB
Raw
#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 GtkWidget *info_bar; GtkWidget *message_label; #endif GtkWidget *statbar; guint statbar_ctx_id; }; extern struct perf_gtk_context *pgctx; static inline bool perf_gtk__is_active_context(struct perf_gtk_context *ctx) { return ctx && ctx->main_window; } struct perf_gtk_context *perf_gtk__activate_context(GtkWidget *window); int perf_gtk__deactivate_context(struct perf_gtk_context **ctx); void perf_gtk__init_helpline(void); void perf_gtk__init_progress(void); void perf_gtk__init_hpp(void); 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; } #endif #endif /* _PERF_GTK_H_ */
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
You can’t perform that action at this time.