Linux Perf
setup.c File Reference
#include <pthread.h>
#include <dlfcn.h>
#include "../util/cache.h"
#include "../util/debug.h"
#include "../util/hist.h"
#include "../util/util.h"
Include dependency graph for setup.c:

Go to the source code of this file.

Macros

#define PERF_GTK_DSO   "libperf-gtk.so"
 

Functions

static int setup_gtk_browser (void)
 
static void exit_gtk_browser (bool wait_for_ok __maybe_unused)
 
int stdio__config_color (const struct option *opt __maybe_unused, const char *mode, int unset __maybe_unused)
 
void setup_browser (bool fallback_to_pager)
 
void exit_browser (bool wait_for_ok)
 

Variables

pthread_mutex_t ui__lock = PTHREAD_MUTEX_INITIALIZER
 
void * perf_gtk_handle
 
int use_browser = -1
 

Macro Definition Documentation

◆ PERF_GTK_DSO

#define PERF_GTK_DSO   "libperf-gtk.so"

Definition at line 14 of file setup.c.

Function Documentation

◆ exit_browser()

void exit_browser ( bool  wait_for_ok)

Definition at line 106 of file setup.c.

Here is the call graph for this function:

◆ exit_gtk_browser()

static void exit_gtk_browser ( bool wait_for_ok  __maybe_unused)
inlinestatic

Definition at line 66 of file setup.c.

◆ setup_browser()

void setup_browser ( bool  fallback_to_pager)

Definition at line 76 of file setup.c.

Here is the call graph for this function:

◆ setup_gtk_browser()

static int setup_gtk_browser ( void  )
inlinestatic

Definition at line 65 of file setup.c.

◆ stdio__config_color()

int stdio__config_color ( const struct option *opt  __maybe_unused,
const char *  mode,
int unset  __maybe_unused 
)

Definition at line 69 of file setup.c.

Here is the call graph for this function:

Variable Documentation

◆ perf_gtk_handle

void* perf_gtk_handle

Definition at line 11 of file setup.c.

◆ ui__lock

pthread_mutex_t ui__lock = PTHREAD_MUTEX_INITIALIZER

Definition at line 10 of file setup.c.

◆ use_browser

int use_browser = -1

Definition at line 12 of file setup.c.