Linux Perf
util.c File Reference
#include "../util.h"
#include "../../util/util.h"
#include "../../util/debug.h"
#include "gtk.h"
#include <string.h>
Include dependency graph for util.c:

Go to the source code of this file.

Functions

struct perf_gtk_contextperf_gtk__activate_context (GtkWidget *window)
 
int perf_gtk__deactivate_context (struct perf_gtk_context **ctx)
 
static int perf_gtk__error (const char *format, va_list args)
 
static int perf_gtk__warning_statusbar (const char *format, va_list args)
 

Variables

struct perf_gtk_contextpgctx
 
struct perf_error_ops perf_gtk_eops
 

Function Documentation

◆ perf_gtk__activate_context()

struct perf_gtk_context* perf_gtk__activate_context ( GtkWidget *  window)

Definition at line 12 of file util.c.

Here is the call graph for this function:

◆ perf_gtk__deactivate_context()

int perf_gtk__deactivate_context ( struct perf_gtk_context **  ctx)

Definition at line 23 of file util.c.

Here is the call graph for this function:

◆ perf_gtk__error()

static int perf_gtk__error ( const char *  format,
va_list  args 
)
static

Definition at line 32 of file util.c.

Here is the call graph for this function:

◆ perf_gtk__warning_statusbar()

static int perf_gtk__warning_statusbar ( const char *  format,
va_list  args 
)
static

Definition at line 79 of file util.c.

Here is the call graph for this function:

Variable Documentation

◆ perf_gtk_eops

struct perf_error_ops perf_gtk_eops
Initial value:
= {
.error = perf_gtk__error,
}
static int perf_gtk__warning_statusbar(const char *format, va_list args)
Definition: util.c:79
static int perf_gtk__error(const char *format, va_list args)
Definition: util.c:32

Definition at line 107 of file util.c.

◆ pgctx

struct perf_gtk_context* pgctx

Definition at line 10 of file util.c.