~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to tools/perf/ui/ui.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#include <linux/compiler.h>
7
7
 
8
8
extern pthread_mutex_t ui__lock;
 
9
extern void *perf_gtk_handle;
9
10
 
10
11
extern int use_browser;
11
12
 
12
13
void setup_browser(bool fallback_to_pager);
13
14
void exit_browser(bool wait_for_ok);
14
15
 
15
 
#ifdef SLANG_SUPPORT
 
16
#ifdef HAVE_SLANG_SUPPORT
16
17
int ui__init(void);
17
18
void ui__exit(bool wait_for_ok);
18
19
#else
23
24
static inline void ui__exit(bool wait_for_ok __maybe_unused) {}
24
25
#endif
25
26
 
26
 
#ifdef GTK2_SUPPORT
27
 
int perf_gtk__init(void);
28
 
void perf_gtk__exit(bool wait_for_ok);
29
 
#else
30
 
static inline int perf_gtk__init(void)
31
 
{
32
 
        return -1;
33
 
}
34
 
static inline void perf_gtk__exit(bool wait_for_ok __maybe_unused) {}
35
 
#endif
36
 
 
37
27
void ui__refresh_dimensions(bool force);
38
28
 
39
29
#endif /* _PERF_UI_H_ */