Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Posix_Wrapp.h File Reference
#include <dlfcn.h>
#include "Wrapped_Symbols.h"
Include dependency graph for Posix_Wrapp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  function_table_elem
 Union defining a function pointer. More...
 

Macros

#define _GNU_SOURCE
 
#define to_string(a)   _to_string(a)
 Retrieves the id of a symbol by its name. More...
 
#define _to_string(a)   #a
 
#define REAL(a)   a
 
#define pREAL(a)   a
 
#define TEST_LOAD_SYMBOL(a)
 

Functions

static void * Tracelib_resolve_symbol (int id)
 Gets a symbol with its ID. More...
 
void Posix_Wrapp_init ()
 
void Wrapp_enable ()
 
void Wrapp_disable ()
 

Variables

union function_table_elem Tracelib_symbol_table [T_POSIX_COUNT]
 The table containing every wrapped symbols. More...
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 22 of file Posix_Wrapp.h.

#define _to_string (   a)    #a

Definition at line 58 of file Posix_Wrapp.h.

#define pREAL (   a)    a

Definition at line 82 of file Posix_Wrapp.h.

#define REAL (   a)    a

Definition at line 81 of file Posix_Wrapp.h.

#define TEST_LOAD_SYMBOL (   a)

Definition at line 83 of file Posix_Wrapp.h.

#define to_string (   a)    _to_string(a)

Retrieves the id of a symbol by its name.

Definition at line 57 of file Posix_Wrapp.h.

Function Documentation

void Posix_Wrapp_init ( )

Definition at line 69 of file Posix_Wrapp.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void* Tracelib_resolve_symbol ( int  id)
inlinestatic

Gets a symbol with its ID.

Parameters
idthe ID of wanted symbol
Returns
the corresponding function pointed

Definition at line 47 of file Posix_Wrapp.h.

void Wrapp_disable ( )

Definition at line 50 of file Posix_Wrapp.c.

Here is the caller graph for this function:

void Wrapp_enable ( )

Definition at line 44 of file Posix_Wrapp.c.

Here is the caller graph for this function:

Variable Documentation

union function_table_elem Tracelib_symbol_table[T_POSIX_COUNT]

The table containing every wrapped symbols.

Definition at line 40 of file Posix_Wrapp.c.