Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
tools
perf
ui
gtk
setup.c
Go to the documentation of this file.
1
#include "
gtk.h
"
2
#include "../../util/cache.h"
3
#include "../../util/debug.h"
4
5
extern
struct
perf_error_ops
perf_gtk_eops
;
6
7
int
perf_gtk__init
(
void
)
8
{
9
perf_error__register
(&
perf_gtk_eops
);
10
perf_gtk__init_helpline
();
11
perf_gtk__init_hpp
();
12
return
gtk_init_check(
NULL
,
NULL
) ? 0 : -1;
13
}
14
15
void
perf_gtk__exit
(
bool
wait_for_ok
__maybe_unused
)
16
{
17
if
(!perf_gtk__is_active_context(
pgctx
))
18
return
;
19
perf_error__unregister
(&
perf_gtk_eops
);
20
gtk_main_quit();
21
}
Generated on Thu Jan 10 2013 12:53:02 for Linux Kernel by
1.8.2