32 #ifndef OTF2_EVT_READER_CALLBACKS_H
33 #define OTF2_EVT_READER_CALLBACKS_H
107 uint64_t eventPosition,
152 uint64_t eventPosition,
202 uint64_t eventPosition,
252 uint64_t eventPosition,
302 uint64_t eventPosition,
358 uint64_t eventPosition,
364 uint64_t msgLength );
418 uint64_t eventPosition,
425 uint64_t requestID );
469 uint64_t eventPosition,
472 uint64_t requestID );
516 uint64_t eventPosition,
519 uint64_t requestID );
572 uint64_t eventPosition,
578 uint64_t msgLength );
632 uint64_t eventPosition,
639 uint64_t requestID );
684 uint64_t eventPosition,
687 uint64_t requestID );
731 uint64_t eventPosition,
734 uint64_t requestID );
779 uint64_t eventPosition,
837 uint64_t eventPosition,
844 uint64_t sizeReceived );
892 uint64_t eventPosition,
895 uint32_t numberOfRequestedThreads );
943 uint64_t eventPosition,
998 uint64_t eventPosition,
1002 uint32_t acquisitionOrder );
1055 uint64_t eventPosition,
1059 uint32_t acquisitionOrder );
1108 uint64_t eventPosition,
1162 uint64_t eventPosition,
1214 uint64_t eventPosition,
1273 uint64_t eventPosition,
1277 uint8_t numberOfMetrics,
1331 uint64_t eventPosition,
1384 uint64_t eventPosition,
1437 uint64_t eventPosition,
1489 uint64_t eventPosition,
1539 uint64_t eventPosition,
1586 uint64_t eventPosition,
1643 uint64_t eventPosition,
1651 uint64_t bytesReceived );
1704 uint64_t eventPosition,
1765 uint64_t eventPosition,
1825 uint64_t eventPosition,
1885 uint64_t eventPosition,
1943 uint64_t eventPosition,
1998 uint64_t eventPosition,
2051 uint64_t eventPosition,
2105 uint64_t eventPosition,
2111 uint64_t matchingId );
2162 uint64_t eventPosition,
2168 uint64_t matchingId );
2221 uint64_t eventPosition,
2228 uint64_t bytesReceived,
2229 uint64_t matchingId );
2279 uint64_t eventPosition,
2283 uint64_t matchingId );
2334 uint64_t eventPosition,
2338 uint64_t matchingId );
2390 uint64_t eventPosition,
2394 uint64_t matchingId );
2444 uint64_t eventPosition,
2448 uint64_t matchingId );
2494 uint64_t eventPosition,
2498 uint32_t numberOfRequestedThreads );
2543 uint64_t eventPosition,
2592 uint64_t eventPosition,
2641 uint64_t eventPosition,
2694 uint64_t eventPosition,
2699 uint32_t acquisitionOrder );
2749 uint64_t eventPosition,
2754 uint32_t acquisitionOrder );
2805 uint64_t eventPosition,
2809 uint32_t creatingThread,
2810 uint32_t generationNumber );
2863 uint64_t eventPosition,
2867 uint32_t creatingThread,
2868 uint32_t generationNumber );
2919 uint64_t eventPosition,
2923 uint32_t creatingThread,
2924 uint32_t generationNumber );
2974 uint64_t eventPosition,
2978 uint64_t sequenceCount );
3028 uint64_t eventPosition,
3032 uint64_t sequenceCount );
3082 uint64_t eventPosition,
3086 uint64_t sequenceCount );
3138 uint64_t eventPosition,
3142 uint64_t sequenceCount );
3205 uint64_t eventPosition,
3209 uint32_t unwindDistance );
3278 uint64_t eventPosition,
3343 uint64_t eventPosition,
3347 uint32_t unwindDistance,
3415 uint64_t eventPosition,
3479 uint64_t eventPosition,
3545 uint64_t eventPosition,
3603 uint64_t eventPosition,
3607 int64_t offsetRequest,
3609 uint64_t offsetResult );
3658 uint64_t eventPosition,
3712 uint64_t eventPosition,
3772 uint64_t eventPosition,
3778 uint64_t bytesRequest,
3779 uint64_t matchingId );
3832 uint64_t eventPosition,
3836 uint64_t matchingId );
3890 uint64_t eventPosition,
3894 uint64_t matchingId );
3948 uint64_t eventPosition,
3952 uint64_t bytesResult,
3953 uint64_t matchingId );
4008 uint64_t eventPosition,
4012 uint64_t matchingId );
4061 uint64_t eventPosition,
4113 uint64_t eventPosition,
4166 uint64_t eventPosition,
4230 uint64_t eventPosition,
4234 uint32_t numberOfArguments,
4294 uint64_t eventPosition,
4297 int64_t exitStatus );
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetLeaveCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Leave leaveCallback)
Registers the callback for the Leave event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ProgramBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_StringRef programName, uint32_t numberOfArguments, const OTF2_StringRef *programArguments)
Callback for the ProgramBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:4228
uint8_t OTF2_RmaSyncType
Wrapper for enum OTF2_RmaSyncType_enum.
Definition: OTF2_Events.h:164
uint8_t OTF2_IoSeekOption
Wrapper for enum OTF2_IoSeekOption_enum.
Definition: OTF2_Events.h:361
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextEnterCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextEnter callingContextEnterCallback)
Registers the callback for the CallingContextEnter event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiSendCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiSend mpiSendCallback)
Registers the callback for the MpiSend event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the ThreadReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:2747
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaRequestLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaRequestLock rmaRequestLockCallback)
Registers the callback for the RmaRequestLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetEnterCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Enter enterCallback)
Registers the callback for the Enter event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoCreateHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoCreateHandle ioCreateHandleCallback)
Registers the callback for the IoCreateHandle event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaSync)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType)
Callback for the RmaSync event record.
Definition: OTF2_EvtReaderCallbacks.h:1996
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:139
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTeamEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
Callback for the ThreadTeamEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:2639
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteRemoteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteRemote rmaOpCompleteRemoteCallback)
Registers the callback for the RmaOpCompleteRemote event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaCollectiveBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the RmaCollectiveBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:1584
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoSeekCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoSeek ioSeekCallback)
Registers the callback for the IoSeek event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_BufferFlush)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_TimeStamp stopTime)
Callback for the BufferFlush event record.
Definition: OTF2_EvtReaderCallbacks.h:150
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaTryLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaTryLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1883
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the OmpAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:996
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterUnsignedIntCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterUnsignedInt parameterUnsignedIntCallback)
Registers the callback for the ParameterUnsignedInt event.
uint8_t OTF2_Type
Wrapper for enum OTF2_Type_enum.
Definition: OTF2_GeneralDefinitions.h:561
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpJoinCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpJoin ompJoinCallback)
Registers the callback for the OmpJoin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoTryLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoTryLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4164
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaTryLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaTryLock rmaTryLockCallback)
Registers the callback for the RmaTryLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRecv mpiRecvCallback)
Registers the callback for the MpiRecv event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWinCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWinCreate rmaWinCreateCallback)
Registers the callback for the RmaWinCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMetricCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Metric metricCallback)
Registers the callback for the Metric event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIsendCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIsendComplete mpiIsendCompleteCallback)
Registers the callback for the MpiIsendComplete event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskSwitchCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskSwitch threadTaskSwitchCallback)
Registers the callback for the ThreadTaskSwitch event.
uint8_t OTF2_Paradigm
Wrapper for enum OTF2_Paradigm_enum.
Definition: OTF2_GeneralDefinitions.h:711
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskComplete ompTaskCompleteCallback)
Registers the callback for the OmpTaskComplete event.
uint32_t OTF2_StringRef
Type used to indicate a reference to a String definition.
Definition: OTF2_GeneralDefinitions.h:115
uint8_t OTF2_IoParadigmRef
Type used to indicate a reference to a IoParadigm definition.
Definition: OTF2_GeneralDefinitions.h:109
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIrecvRequestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIrecvRequest mpiIrecvRequestCallback)
Registers the callback for the MpiIrecvRequest event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MeasurementOnOff)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_MeasurementMode measurementMode)
Callback for the MeasurementOnOff event record.
Definition: OTF2_EvtReaderCallbacks.h:200
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoCreateHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoAccessMode mode, OTF2_IoCreationFlag creationFlags, OTF2_IoStatusFlag statusFlags)
Callback for the IoCreateHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3413
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:1212
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Metric)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_MetricRef metric, uint8_t numberOfMetrics, const OTF2_Type *typeIDs, const OTF2_MetricValue *metricValues)
Callback for the Metric event record.
Definition: OTF2_EvtReaderCallbacks.h:1271
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRequestCancelled)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiRequestCancelled event record.
Definition: OTF2_EvtReaderCallbacks.h:729
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the OmpReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1053
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaGroupSyncCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaGroupSync rmaGroupSyncCallback)
Registers the callback for the RmaGroupSync event.
Enums and types used in event records.
uint8_t OTF2_MeasurementMode
Wrapper for enum OTF2_MeasurementMode_enum.
Definition: OTF2_Events.h:56
Metric value.
Definition: OTF2_Events.h:453
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextSample)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator)
Callback for the CallingContextSample event record.
Definition: OTF2_EvtReaderCallbacks.h:3341
uint32_t OTF2_ParameterRef
Type used to indicate a reference to a Parameter definition.
Definition: OTF2_GeneralDefinitions.h:187
This layer enables dynamic appending of arbitrary attributes to any type of event record...
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:2803
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaReleaseLock rmaReleaseLockCallback)
Registers the callback for the RmaReleaseLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaAcquireLock rmaAcquireLockCallback)
Registers the callback for the RmaAcquireLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpForkCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpFork ompForkCallback)
Registers the callback for the OmpFork event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMeasurementOnOffCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MeasurementOnOff measurementOnOffCallback)
Registers the callback for the MeasurementOnOff event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskCreate ompTaskCreateCallback)
Registers the callback for the OmpTaskCreate event.
uint8_t OTF2_RmaAtomicType
Wrapper for enum OTF2_RmaAtomicType_enum.
Definition: OTF2_Events.h:229
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:186
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4059
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:1106
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiCollectiveBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the MpiCollectiveBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:777
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadWait)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadWait event record.
Definition: OTF2_EvtReaderCallbacks.h:3080
OTF2_EvtReaderCallbacks * OTF2_EvtReaderCallbacks_New(void)
Allocates a new struct for the event callbacks.
struct OTF2_AttributeList_struct OTF2_AttributeList
Attribute list handle.
Definition: OTF2_AttributeList.h:104
uint32_t OTF2_IoStatusFlag
Wrapper for enum OTF2_IoStatusFlag_enum.
Definition: OTF2_Definitions.h:829
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:54
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskCreate threadTaskCreateCallback)
Registers the callback for the ThreadTaskCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadBegin threadBeginCallback)
Registers the callback for the ThreadBegin event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoReleaseLock ioReleaseLockCallback)
Registers the callback for the IoReleaseLock event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiCollectiveEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived)
Callback for the MpiCollectiveEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:835
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpTest rmaOpTestCallback)
Registers the callback for the RmaOpTest event.
uint32_t OTF2_IoOperationFlag
Wrapper for enum OTF2_IoOperationFlag_enum.
Definition: OTF2_Events.h:429
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetProgramEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ProgramEnd programEndCallback)
Registers the callback for the ProgramEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationComplete ioOperationCompleteCallback)
Registers the callback for the IoOperationComplete event.
uint32_t OTF2_InterruptGeneratorRef
Type used to indicate a reference to a InterruptGenerator definition.
Definition: OTF2_GeneralDefinitions.h:223
This header file provides general definitions which should be accessible in all internal and external...
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4111
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:209
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWaitChange)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWaitChange event record.
Definition: OTF2_EvtReaderCallbacks.h:2049
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteBlockingCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteBlocking rmaOpCompleteBlockingCallback)
Registers the callback for the RmaOpCompleteBlocking event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaGroupSync)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group)
Callback for the RmaGroupSync event record.
Definition: OTF2_EvtReaderCallbacks.h:1702
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationTest event record.
Definition: OTF2_EvtReaderCallbacks.h:3830
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoChangeStatusFlagsCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoChangeStatusFlags ioChangeStatusFlagsCallback)
Registers the callback for the IoChangeStatusFlags event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteRemote)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteRemote event record.
Definition: OTF2_EvtReaderCallbacks.h:2442
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIrecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIrecv mpiIrecvCallback)
Registers the callback for the MpiIrecv event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoOperationMode mode, OTF2_IoOperationFlag operationFlags, uint64_t bytesRequest, uint64_t matchingId)
Callback for the IoOperationBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:3770
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskSwitch)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskSwitch event record.
Definition: OTF2_EvtReaderCallbacks.h:2861
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRequestTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiRequestTest event record.
Definition: OTF2_EvtReaderCallbacks.h:682
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpAcquireLock ompAcquireLockCallback)
Registers the callback for the OmpAcquireLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationCancelledCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationCancelled ioOperationCancelledCallback)
Registers the callback for the IoOperationCancelled event.
uint64_t OTF2_TimeStamp
OTF2 time stamp.
Definition: OTF2_GeneralDefinitions.h:103
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadForkCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadFork threadForkCallback)
Registers the callback for the ThreadFork event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRequestTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRequestTest mpiRequestTestCallback)
Registers the callback for the MpiRequestTest event.
uint32_t OTF2_IoHandleRef
Type used to indicate a reference to a IoHandle definition.
Definition: OTF2_GeneralDefinitions.h:235
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:2972
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIsendCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIsend mpiIsendCallback)
Registers the callback for the MpiIsend event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDeleteFileCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDeleteFile ioDeleteFileCallback)
Registers the callback for the IoDeleteFile event.
uint32_t OTF2_MetricRef
Type used to indicate a reference to a MetricClass, or a MetricInstance definition.
Definition: OTF2_GeneralDefinitions.h:175
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRequestCancelledCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRequestCancelled mpiRequestCancelledCallback)
Registers the callback for the MpiRequestCancelled event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:3026
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Leave)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
Callback for the Leave event record.
Definition: OTF2_EvtReaderCallbacks.h:300
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaGetCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaGet rmaGetCallback)
Registers the callback for the RmaGet event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadJoin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model)
Callback for the ThreadJoin event record.
Definition: OTF2_EvtReaderCallbacks.h:2541
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextSampleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextSample callingContextSampleCallback)
Registers the callback for the CallingContextSample event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskSwitchCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskSwitch ompTaskSwitchCallback)
Registers the callback for the OmpTaskSwitch event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoAcquireLock ioAcquireLockCallback)
Registers the callback for the IoAcquireLock event.
OTF2_CallbackCode
Return value to indicate that the record reading should be interrupted.
Definition: OTF2_GeneralDefinitions.h:344
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWinDestroyCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWinDestroy rmaWinDestroyCallback)
Registers the callback for the RmaWinDestroy event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Unknown)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for an unknown event record.
Definition: OTF2_EvtReaderCallbacks.h:105
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteBlocking)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteBlocking event record.
Definition: OTF2_EvtReaderCallbacks.h:2277
void OTF2_EvtReaderCallbacks_Clear(OTF2_EvtReaderCallbacks *evtReaderCallbacks)
Clears a struct for the event callbacks.
uint32_t OTF2_CallingContextRef
Type used to indicate a reference to a CallingContext definition.
Definition: OTF2_GeneralDefinitions.h:217
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDestroyHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDestroyHandle ioDestroyHandleCallback)
Registers the callback for the IoDestroyHandle event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterUnsignedInt)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, uint64_t value)
Callback for the ParameterUnsignedInt event record.
Definition: OTF2_EvtReaderCallbacks.h:1435
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDuplicateHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef oldHandle, OTF2_IoHandleRef newHandle, OTF2_IoStatusFlag statusFlags)
Callback for the IoDuplicateHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3543
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadAcquireLock threadAcquireLockCallback)
Registers the callback for the ThreadAcquireLock event.
uint8_t OTF2_CollectiveOp
Wrapper for enum OTF2_CollectiveOp_enum.
Definition: OTF2_Events.h:75
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpFork)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t numberOfRequestedThreads)
Callback for the OmpFork event record.
Definition: OTF2_EvtReaderCallbacks.h:890
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetUnknownCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Unknown unknownCallback)
Registers the callback for the Unknown event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Callback for the MpiRecv event record.
Definition: OTF2_EvtReaderCallbacks.h:570
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationCancelled)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationCancelled event record.
Definition: OTF2_EvtReaderCallbacks.h:4006
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadCreate threadCreateCallback)
Registers the callback for the ThreadCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTeamEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTeamEnd threadTeamEndCallback)
Registers the callback for the ThreadTeamEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDuplicateHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDuplicateHandle ioDuplicateHandleCallback)
Registers the callback for the IoDuplicateHandle event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDeleteFile)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoParadigmRef ioParadigm, OTF2_IoFileRef file)
Callback for the IoDeleteFile event record.
Definition: OTF2_EvtReaderCallbacks.h:3710
uint32_t OTF2_IoFileRef
Type used to indicate a reference to a IoRegularFile, or a IoDirectory definition.
Definition: OTF2_GeneralDefinitions.h:229
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextLeave)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext)
Callback for the CallingContextLeave event record.
Definition: OTF2_EvtReaderCallbacks.h:3276
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaCollectiveEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaCollectiveEnd rmaCollectiveEndCallback)
Registers the callback for the RmaCollectiveEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaSyncCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaSync rmaSyncCallback)
Registers the callback for the RmaSync event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaPutCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaPut rmaPutCallback)
Registers the callback for the RmaPut event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoTryLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoTryLock ioTryLockCallback)
Registers the callback for the IoTryLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskComplete threadTaskCompleteCallback)
Registers the callback for the ThreadTaskComplete event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIsend)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Callback for the MpiIsend event record.
Definition: OTF2_EvtReaderCallbacks.h:416
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIsendComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiIsendComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:467
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadEnd threadEndCallback)
Registers the callback for the ThreadEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaPut)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Callback for the RmaPut event record.
Definition: OTF2_EvtReaderCallbacks.h:2103
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationIssuedCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationIssued ioOperationIssuedCallback)
Registers the callback for the IoOperationIssued event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterIntCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterInt parameterIntCallback)
Registers the callback for the ParameterInt event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Enter)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
Callback for the Enter event record.
Definition: OTF2_EvtReaderCallbacks.h:250
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextLeaveCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextLeave callingContextLeaveCallback)
Registers the callback for the CallingContextLeave event.
void OTF2_EvtReaderCallbacks_Delete(OTF2_EvtReaderCallbacks *evtReaderCallbacks)
Deallocates a struct for the event callbacks.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadWaitCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadWait threadWaitCallback)
Registers the callback for the ThreadWait event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiCollectiveBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiCollectiveBegin mpiCollectiveBeginCallback)
Registers the callback for the MpiCollectiveBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the ThreadAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:2692
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterString)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, OTF2_StringRef string)
Callback for the ParameterString event record.
Definition: OTF2_EvtReaderCallbacks.h:1329
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWaitChangeCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWaitChange rmaWaitChangeCallback)
Registers the callback for the RmaWaitChange event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationTest ioOperationTestCallback)
Registers the callback for the IoOperationTest event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetProgramBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ProgramBegin programBeginCallback)
Registers the callback for the ProgramBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWinDestroy)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWinDestroy event record.
Definition: OTF2_EvtReaderCallbacks.h:1537
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiCollectiveEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiCollectiveEnd mpiCollectiveEndCallback)
Registers the callback for the MpiCollectiveEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaCollectiveEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, uint32_t root, uint64_t bytesSent, uint64_t bytesReceived)
Callback for the RmaCollectiveEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:1641
uint32_t OTF2_CommRef
Type used to indicate a reference to a Comm definition.
Definition: OTF2_GeneralDefinitions.h:181
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetBufferFlushCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_BufferFlush bufferFlushCallback)
Registers the callback for the BufferFlush event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpJoin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the OmpJoin event record.
Definition: OTF2_EvtReaderCallbacks.h:941
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoChangeStatusFlags)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoStatusFlag statusFlags)
Callback for the IoChangeStatusFlags event record.
Definition: OTF2_EvtReaderCallbacks.h:3656
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadFork)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t numberOfRequestedThreads)
Callback for the ThreadFork event record.
Definition: OTF2_EvtReaderCallbacks.h:2492
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteNonBlockingCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking rmaOpCompleteNonBlockingCallback)
Registers the callback for the RmaOpCompleteNonBlocking event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadJoinCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadJoin threadJoinCallback)
Registers the callback for the ThreadJoin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ProgramEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, int64_t exitStatus)
Callback for the ProgramEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:4292
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDestroyHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle)
Callback for the IoDestroyHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3477
uint32_t OTF2_RegionRef
Type used to indicate a reference to a Region definition.
Definition: OTF2_GeneralDefinitions.h:145
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterInt)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, int64_t value)
Callback for the ParameterInt event record.
Definition: OTF2_EvtReaderCallbacks.h:1382
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:3136
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIrecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Callback for the MpiIrecv event record.
Definition: OTF2_EvtReaderCallbacks.h:630
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoSeek)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, int64_t offsetRequest, OTF2_IoSeekOption whence, uint64_t offsetResult)
Callback for the IoSeek event record.
Definition: OTF2_EvtReaderCallbacks.h:3601
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpReleaseLock ompReleaseLockCallback)
Registers the callback for the OmpReleaseLock event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t bytesResult, uint64_t matchingId)
Callback for the IoOperationComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:3946
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteNonBlocking event record.
Definition: OTF2_EvtReaderCallbacks.h:2332
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaAtomic)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaAtomicType type, uint64_t bytesSent, uint64_t bytesReceived, uint64_t matchingId)
Callback for the RmaAtomic event record.
Definition: OTF2_EvtReaderCallbacks.h:2219
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTeamBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
Callback for the ThreadTeamBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:2590
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpTest event record.
Definition: OTF2_EvtReaderCallbacks.h:2388
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationIssued)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationIssued event record.
Definition: OTF2_EvtReaderCallbacks.h:3888
uint32_t OTF2_GroupRef
Type used to indicate a reference to a Group definition.
Definition: OTF2_GeneralDefinitions.h:163
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaRequestLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaRequestLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1763
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiSend)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Callback for the MpiSend event record.
Definition: OTF2_EvtReaderCallbacks.h:356
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskSwitch)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskSwitch event record.
Definition: OTF2_EvtReaderCallbacks.h:1160
uint32_t OTF2_IoCreationFlag
Wrapper for enum OTF2_IoCreationFlag_enum.
Definition: OTF2_Events.h:274
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaCollectiveBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaCollectiveBegin rmaCollectiveBeginCallback)
Registers the callback for the RmaCollectiveBegin event.
uint8_t OTF2_IoAccessMode
Wrapper for enum OTF2_IoAccessMode_enum.
Definition: OTF2_Definitions.h:784
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaGet)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Callback for the RmaGet event record.
Definition: OTF2_EvtReaderCallbacks.h:2160
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadReleaseLock threadReleaseLockCallback)
Registers the callback for the ThreadReleaseLock event.
Error codes and error handling.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTeamBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTeamBegin threadTeamBeginCallback)
Registers the callback for the ThreadTeamBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId)
Callback for the RmaReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1941
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterStringCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterString parameterStringCallback)
Registers the callback for the ParameterString event.
uint32_t OTF2_RmaWinRef
Type used to indicate a reference to a RmaWin definition.
Definition: OTF2_GeneralDefinitions.h:193
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaAtomicCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaAtomic rmaAtomicCallback)
Registers the callback for the RmaAtomic event.
struct OTF2_EvtReaderCallbacks_struct OTF2_EvtReaderCallbacks
Opaque struct which holds all event record callbacks.
Definition: OTF2_EvtReaderCallbacks.h:62
uint8_t OTF2_IoOperationMode
Wrapper for enum OTF2_IoOperationMode_enum.
Definition: OTF2_Events.h:407
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1823
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIrecvRequest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiIrecvRequest event record.
Definition: OTF2_EvtReaderCallbacks.h:514
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextEnter)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance)
Callback for the CallingContextEnter event record.
Definition: OTF2_EvtReaderCallbacks.h:3203
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:2917
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWinCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWinCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:1487
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationBegin ioOperationBeginCallback)
Registers the callback for the IoOperationBegin event.