ardour
Classes | Macros | Typedefs | Functions | Variables
gprofhelper.c File Reference
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>
#include <pthread.h>

Go to the source code of this file.

Classes

struct  wrapper_s
 

Macros

#define _GNU_SOURCE
 

Typedefs

typedef struct wrapper_s wrapper_t
 

Functions

static void * wrapper_routine (void *)
 
void _init (void)
 
int pthread_create (pthread_t *__restrict thread, __const pthread_attr_t *__restrict attr, void *(*start_routine)(void *), void *__restrict arg)
 

Variables

static int(* pthread_create_orig )(pthread_t *__restrict, __const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict) = NULL
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 18 of file gprofhelper.c.

Typedef Documentation

typedef struct wrapper_s wrapper_t

Function Documentation

void _init ( void  )

Definition at line 34 of file gprofhelper.c.

int pthread_create ( pthread_t *__restrict  thread,
__const pthread_attr_t *__restrict  attr,
void *(*)(void *)  start_routine,
void *__restrict  arg 
)

Definition at line 83 of file gprofhelper.c.

static void * wrapper_routine ( void *  data)
static

Definition at line 64 of file gprofhelper.c.

Variable Documentation

int(* pthread_create_orig)(pthread_t *__restrict, __const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict) = NULL
static

Definition at line 28 of file gprofhelper.c.