13 #ifndef _VT_UNIFY_HOOKS_H_
14 #define _VT_UNIFY_HOOKS_H_
18 #include "vt_inttypes.h"
28 VT_UNIFY_HOOKS_RAW_GENID__SOMETHING1 = 1<<0,
29 VT_UNIFY_HOOKS_RAW_GENID__SOMETHING2 = 1<<1,
33 VT_UNIFY_HOOKS_AEVENTS_GENID__EVENT_STREAM_OPEN = 1<<2,
34 VT_UNIFY_HOOKS_AEVENTS_GENID__EVENT_STREAM_CLOSE = 1<<3,
38 VT_UNIFY_HOOKS_TDB_GENID__STARTSTOPTIME_EPOCH = 1<<4,
42 VT_UNIFY_HOOKS_MARGINS_GENID__EVENT_STREAM_OPEN = 1<<5,
43 VT_UNIFY_HOOKS_MARGINS_GENID__EVENT_STREAM_CLOSE = 1<<6
59 static const uint32_t MAX_VA_ARGS = 12;
64 typedef void *VaArgsT[MAX_VA_ARGS];
71 Phase_GetUnifyControls_pre, Phase_GetUnifyControls_post,
72 Phase_UnifyDefinitions_pre, Phase_UnifyDefinitions_post,
73 Phase_UnifyMarkers_pre, Phase_UnifyMarkers_post,
74 Phase_UnifyStatistics_pre, Phase_UnifyStatistics_post,
75 Phase_UnifyEvents_pre, Phase_UnifyEvents_post,
76 Phase_WriteMasterControl_pre, Phase_WriteMasterControl_post,
77 Phase_CleanUp_pre, Phase_CleanUp_post,
90 Record_DefTimerResolution,
92 Record_DefProcessGroup,
93 Record_DefProcessGroupAttributes,
99 Record_DefFunctionGroup,
102 Record_DefCounterGroup,
104 Record_DefCounterAssignments,
109 Record_FunctionSummary,
110 Record_MessageSummary,
111 Record_CollOpSummary,
112 Record_FileOpSummary,
130 Record_RMAPutRemoteEnd,
147 void registerHooks();
150 void triggerInitHook();
153 void triggerFinalizeHook(
const bool & error );
156 void triggerPhaseHook(
const PhaseTypeT & phase );
159 void triggerReadRecordHook(
const RecordTypeT & rectype,
const uint32_t & n,
160 void * a0 = 0,
void * a1 = 0,
void * a2 = 0,
161 void * a3 = 0,
void * a4 = 0,
void * a5 = 0,
162 void * a6 = 0,
void * a7 = 0,
void * a8 = 0,
163 void * a9 = 0,
void * a10 = 0,
void * a11 = 0 );
166 void triggerWriteRecordHook(
const RecordTypeT & rectype,
const uint32_t & n,
167 void * a0 = 0,
void * a1 = 0,
void * a2 = 0,
168 void * a3 = 0,
void * a4 = 0,
void * a5 = 0,
169 void * a6 = 0,
void * a7 = 0,
void * a8 = 0,
170 void * a9 = 0,
void * a10 = 0,
void * a11 = 0 );
173 void triggerGenericHook(
const uint32_t &
id,
const uint32_t & n,
174 void * a0 = 0,
void * a1 = 0,
void * a2 = 0,
175 void * a3 = 0,
void * a4 = 0,
void * a5 = 0,
176 void * a6 = 0,
void * a7 = 0,
void * a8 = 0,
177 void * a9 = 0,
void * a10 = 0,
void * a11 = 0 );
182 std::vector<HooksBaseC*> m_hooks;
189 #endif // _VT_UNIFY_HOOKS_H_
Definition: vt_unify_hooks.h:54
VampirTrace http://www.tu-dresden.de/zih/vampirtrace.
Definition: vt_unify_hooks_base.h:23