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,
359 uint64_t eventPosition,
365 uint64_t msgLength );
420 uint64_t eventPosition,
427 uint64_t requestID );
476 uint64_t eventPosition,
479 uint64_t requestID );
524 uint64_t eventPosition,
527 uint64_t requestID );
581 uint64_t eventPosition,
587 uint64_t msgLength );
642 uint64_t eventPosition,
649 uint64_t requestID );
694 uint64_t eventPosition,
697 uint64_t requestID );
741 uint64_t eventPosition,
744 uint64_t requestID );
789 uint64_t eventPosition,
847 uint64_t eventPosition,
854 uint64_t sizeReceived );
902 uint64_t eventPosition,
905 uint32_t numberOfRequestedThreads );
953 uint64_t eventPosition,
1009 uint64_t eventPosition,
1013 uint32_t acquisitionOrder );
1067 uint64_t eventPosition,
1071 uint32_t acquisitionOrder );
1120 uint64_t eventPosition,
1174 uint64_t eventPosition,
1226 uint64_t eventPosition,
1285 uint64_t eventPosition,
1289 uint8_t numberOfMetrics,
1343 uint64_t eventPosition,
1396 uint64_t eventPosition,
1449 uint64_t eventPosition,
1508 uint64_t eventPosition,
1567 uint64_t eventPosition,
1614 uint64_t eventPosition,
1670 uint64_t eventPosition,
1678 uint64_t bytesReceived );
1731 uint64_t eventPosition,
1792 uint64_t eventPosition,
1852 uint64_t eventPosition,
1912 uint64_t eventPosition,
1970 uint64_t eventPosition,
2025 uint64_t eventPosition,
2078 uint64_t eventPosition,
2132 uint64_t eventPosition,
2138 uint64_t matchingId );
2189 uint64_t eventPosition,
2195 uint64_t matchingId );
2249 uint64_t eventPosition,
2256 uint64_t bytesReceived,
2257 uint64_t matchingId );
2307 uint64_t eventPosition,
2311 uint64_t matchingId );
2362 uint64_t eventPosition,
2366 uint64_t matchingId );
2418 uint64_t eventPosition,
2422 uint64_t matchingId );
2472 uint64_t eventPosition,
2476 uint64_t matchingId );
2522 uint64_t eventPosition,
2526 uint32_t numberOfRequestedThreads );
2571 uint64_t eventPosition,
2621 uint64_t eventPosition,
2671 uint64_t eventPosition,
2724 uint64_t eventPosition,
2729 uint32_t acquisitionOrder );
2779 uint64_t eventPosition,
2784 uint32_t acquisitionOrder );
2835 uint64_t eventPosition,
2839 uint32_t creatingThread,
2840 uint32_t generationNumber );
2893 uint64_t eventPosition,
2897 uint32_t creatingThread,
2898 uint32_t generationNumber );
2949 uint64_t eventPosition,
2953 uint32_t creatingThread,
2954 uint32_t generationNumber );
3004 uint64_t eventPosition,
3008 uint64_t sequenceCount );
3058 uint64_t eventPosition,
3062 uint64_t sequenceCount );
3112 uint64_t eventPosition,
3116 uint64_t sequenceCount );
3168 uint64_t eventPosition,
3172 uint64_t sequenceCount );
3235 uint64_t eventPosition,
3239 uint32_t unwindDistance );
3308 uint64_t eventPosition,
3373 uint64_t eventPosition,
3377 uint32_t unwindDistance,
3445 uint64_t eventPosition,
3509 uint64_t eventPosition,
3575 uint64_t eventPosition,
3634 uint64_t eventPosition,
3638 int64_t offsetRequest,
3640 uint64_t offsetResult );
3689 uint64_t eventPosition,
3743 uint64_t eventPosition,
3803 uint64_t eventPosition,
3809 uint64_t bytesRequest,
3810 uint64_t matchingId );
3863 uint64_t eventPosition,
3867 uint64_t matchingId );
3921 uint64_t eventPosition,
3925 uint64_t matchingId );
3979 uint64_t eventPosition,
3983 uint64_t bytesResult,
3984 uint64_t matchingId );
4039 uint64_t eventPosition,
4043 uint64_t matchingId );
4092 uint64_t eventPosition,
4144 uint64_t eventPosition,
4197 uint64_t eventPosition,
4261 uint64_t eventPosition,
4265 uint32_t numberOfArguments,
4325 uint64_t eventPosition,
4328 int64_t exitStatus );
4373 uint64_t eventPosition,
4376 uint64_t requestID );
4432 uint64_t eventPosition,
4439 uint64_t sizeReceived,
4440 uint64_t requestID );
4495 uint64_t eventPosition,
4552 uint64_t eventPosition,
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:4259
uint8_t OTF2_RmaSyncType
Wrapper for enum OTF2_RmaSyncType_enum.
Definition: OTF2_Events.h:190
uint8_t OTF2_IoSeekOption
Wrapper for enum OTF2_IoSeekOption_enum.
Definition: OTF2_Events.h:410
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:2777
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_ErrorCode OTF2_EvtReaderCallbacks_SetNonBlockingCollectiveRequestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_NonBlockingCollectiveRequest nonBlockingCollectiveRequestCallback)
Registers the callback for the NonBlockingCollectiveRequest 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:2023
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:142
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCommDestroyCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CommDestroy commDestroyCallback)
Registers the callback for the CommDestroy event.
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:2669
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:1612
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:1910
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:1007
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:596
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:4195
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_CallbackCode(* OTF2_EvtReaderCallback_CommCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)
Callback for the CommCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:4493
OTF2_CallbackCode(* OTF2_EvtReaderCallback_NonBlockingCollectiveComplete)(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, uint64_t requestID)
Callback for the NonBlockingCollectiveComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:4430
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:778
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:118
uint8_t OTF2_IoParadigmRef
Type used to indicate a reference to a IoParadigm definition.
Definition: OTF2_GeneralDefinitions.h:112
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:3443
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:1224
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:1283
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:739
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:1065
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:59
Metric value.
Definition: OTF2_Events.h:541
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:3371
uint32_t OTF2_ParameterRef
Type used to indicate a reference to a Parameter definition.
Definition: OTF2_GeneralDefinitions.h:190
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:2833
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:260
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:214
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:4090
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:1118
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:787
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:3110
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:974
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:845
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:484
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:226
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:4142
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCommCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CommCreate commCreateCallback)
Registers the callback for the CommCreate event.
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:239
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:2076
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:1729
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:3861
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:2470
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:3801
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:2891
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:692
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:106
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:238
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:3002
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:178
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:3056
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:2569
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:349
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:2305
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:220
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:1447
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:3573
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:79
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:900
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:579
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:4037
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadCreate threadCreateCallback)
Registers the callback for the ThreadCreate event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_NonBlockingCollectiveRequest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the NonBlockingCollectiveRequest event record.
Definition: OTF2_EvtReaderCallbacks.h:4371
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:3741
uint32_t OTF2_IoFileRef
Type used to indicate a reference to a IoRegularFile, or a IoDirectory definition.
Definition: OTF2_GeneralDefinitions.h:232
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:3306
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:418
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:474
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:2130
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:2722
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:1341
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:1565
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:1668
uint32_t OTF2_CommRef
Type used to indicate a reference to a Comm, or a InterComm definition.
Definition: OTF2_GeneralDefinitions.h:184
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:951
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:3687
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:2520
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:4323
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:3507
uint32_t OTF2_RegionRef
Type used to indicate a reference to a Region definition.
Definition: OTF2_GeneralDefinitions.h:148
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:1394
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:3166
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:640
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:3632
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:3977
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:2360
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CommDestroy)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)
Callback for the CommDestroy event record.
Definition: OTF2_EvtReaderCallbacks.h:4550
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:2247
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:2619
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:2416
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:3919
uint32_t OTF2_GroupRef
Type used to indicate a reference to a Group definition.
Definition: OTF2_GeneralDefinitions.h:166
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:1790
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:357
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:1172
uint32_t OTF2_IoCreationFlag
Wrapper for enum OTF2_IoCreationFlag_enum.
Definition: OTF2_Events.h:312
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:925
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:2187
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:1968
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:196
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:460
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:1850
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:522
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:3233
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:2947
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:1506
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationBegin ioOperationBeginCallback)
Registers the callback for the IoOperationBegin event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetNonBlockingCollectiveCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_NonBlockingCollectiveComplete nonBlockingCollectiveCompleteCallback)
Registers the callback for the NonBlockingCollectiveComplete event.