Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Wrapped_Symbols.h
Go to the documentation of this file.
1 /* ############################ MALP License ############################## */
2 /* # Fri Jan 18 14:00:00 CET 2013 # */
3 /* # Copyright or (C) or Copr. Commissariat a l'Energie Atomique # */
4 /* # # */
5 /* # This software is governed by the CeCILL-C license under French law # */
6 /* # and abiding by the rules of distribution of free software. You can # */
7 /* # use, modify and/ or redistribute the software under the terms of # */
8 /* # the CeCILL-C license as circulated by CEA, CNRS and INRIA at the # */
9 /* # following URL http://www.cecill.info. # */
10 /* # # */
11 /* # The fact that you are presently reading this means that you have # */
12 /* # had knowledge of the CeCILL-C license and that you accept its # */
13 /* # terms. # */
14 /* # # */
15 /* # Authors: # */
16 /* # - BESNARD Jean-Baptiste jean-baptiste.besnard@cea.fr # */
17 /* # # */
18 /* ######################################################################## */
19 
20 
27 #ifndef WRAPPED_SYMBOLS_H
28 #define WRAPPED_SYMBOLS_H
29 
30 #include <stdint.h>
31 
32 /* Wrapped symbols */
45 /* Rewrite macros */
46 #define T_POSIX_ENUM(a) T_##a
47 #define T_POSIX_NAME(a) #a
48 #define T_POSIX_ID(a) a
49 
50 
51 /***** Event_List ******/
55 typedef enum {
56  /* Count */
59 
60 
61 /***** Wrapped symbols names *****/
62 
66 static const char * const Wrapped_symbol_names[T_POSIX_COUNT] =
67 {
68 };
69 
70 
71 /********** Footprints **********/
87 /**** Event Footprint *****/
92 {
94  int64_t size;
95  void * ptr;
96 };
101 #endif /* WRAPPED_SYMBOLS_H */
102 
Structure defining event for wrapped symbols.
Wrapped_symbol
enum indicating which symbols are wrapped
int64_t size
For functions that manipulates data, the size of the data (for example, with malloc, the size of allocated data)
Wrapped_symbol type
The symbol type.
void * ptr
For functions that manipulates a pointer, the pointer (for example, with malloc, the allocated data) ...
static const char *const Wrapped_symbol_names[T_POSIX_COUNT]
Array containing wrapped symbols names.