3.0-rc2 (revision 337012f1)
Typedefs | Functions
OTF2_GlobalEvtReaderCallbacks.h File Reference

This defines the callbacks for the global event reader. More...

#include <stdint.h>
#include <otf2/OTF2_ErrorCodes.h>
#include <otf2/OTF2_GeneralDefinitions.h>
#include <otf2/OTF2_AttributeList.h>
#include <otf2/OTF2_Events.h>

Go to the source code of this file.

Typedefs

typedef struct OTF2_GlobalEvtReaderCallbacks_struct OTF2_GlobalEvtReaderCallbacks
 Opaque struct which holds all event record callbacks.
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_Unknown) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList)
 Callback for an unknown event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_BufferFlush) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_TimeStamp stopTime)
 Callback for the BufferFlush event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MeasurementOnOff) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_MeasurementMode measurementMode)
 Callback for the MeasurementOnOff event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_Enter) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
 Callback for the Enter event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_Leave) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
 Callback for the Leave event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiSend) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
 Callback for the MpiSend event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiIsend) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiIsendComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
 Callback for the MpiIsendComplete event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiIrecvRequest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
 Callback for the MpiIrecvRequest event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiRecv) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
 Callback for the MpiRecv event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiIrecv) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiRequestTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
 Callback for the MpiRequestTest event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiRequestCancelled) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
 Callback for the MpiRequestCancelled event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiCollectiveBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList)
 Callback for the MpiCollectiveBegin event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_MpiCollectiveEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_OmpFork) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t numberOfRequestedThreads)
 Callback for the OmpFork event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_OmpJoin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList)
 Callback for the OmpJoin event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_OmpAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
 Callback for the OmpAcquireLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_OmpReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
 Callback for the OmpReleaseLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_OmpTaskCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
 Callback for the OmpTaskCreate event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_OmpTaskSwitch) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
 Callback for the OmpTaskSwitch event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_OmpTaskComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
 Callback for the OmpTaskComplete event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_Metric) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ParameterString) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, OTF2_StringRef string)
 Callback for the ParameterString event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ParameterInt) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, int64_t value)
 Callback for the ParameterInt event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ParameterUnsignedInt) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, uint64_t value)
 Callback for the ParameterUnsignedInt event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaWinCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
 Callback for the RmaWinCreate event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaWinDestroy) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
 Callback for the RmaWinDestroy event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaCollectiveBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList)
 Callback for the RmaCollectiveBegin event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaCollectiveEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaGroupSync) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group)
 Callback for the RmaGroupSync event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaRequestLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
 Callback for the RmaRequestLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
 Callback for the RmaAcquireLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaTryLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
 Callback for the RmaTryLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId)
 Callback for the RmaReleaseLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaSync) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType)
 Callback for the RmaSync event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaWaitChange) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
 Callback for the RmaWaitChange event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaPut) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
 Callback for the RmaPut event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaGet) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
 Callback for the RmaGet event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaAtomic) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaOpCompleteBlocking) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
 Callback for the RmaOpCompleteBlocking event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaOpCompleteNonBlocking) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
 Callback for the RmaOpCompleteNonBlocking event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaOpTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
 Callback for the RmaOpTest event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_RmaOpCompleteRemote) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
 Callback for the RmaOpCompleteRemote event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadFork) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t numberOfRequestedThreads)
 Callback for the ThreadFork event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadJoin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model)
 Callback for the ThreadJoin event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadTeamBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
 Callback for the ThreadTeamBegin event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadTeamEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
 Callback for the ThreadTeamEnd event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
 Callback for the ThreadAcquireLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
 Callback for the ThreadReleaseLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadTaskCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
 Callback for the ThreadTaskCreate event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadTaskSwitch) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
 Callback for the ThreadTaskSwitch event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadTaskComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
 Callback for the ThreadTaskComplete event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
 Callback for the ThreadCreate event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
 Callback for the ThreadBegin event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadWait) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
 Callback for the ThreadWait event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ThreadEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
 Callback for the ThreadEnd event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_CallingContextEnter) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance)
 Callback for the CallingContextEnter event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_CallingContextLeave) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext)
 Callback for the CallingContextLeave event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_CallingContextSample) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator)
 Callback for the CallingContextSample event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoCreateHandle) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoAccessMode mode, OTF2_IoCreationFlag creationFlags, OTF2_IoStatusFlag statusFlags)
 Callback for the IoCreateHandle event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoDestroyHandle) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle)
 Callback for the IoDestroyHandle event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoDuplicateHandle) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef oldHandle, OTF2_IoHandleRef newHandle, OTF2_IoStatusFlag statusFlags)
 Callback for the IoDuplicateHandle event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoSeek) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, int64_t offsetRequest, OTF2_IoSeekOption whence, uint64_t offsetResult)
 Callback for the IoSeek event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoChangeStatusFlags) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoStatusFlag statusFlags)
 Callback for the IoChangeStatusFlags event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoDeleteFile) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoParadigmRef ioParadigm, OTF2_IoFileRef file)
 Callback for the IoDeleteFile event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoOperationBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoOperationTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
 Callback for the IoOperationTest event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoOperationIssued) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
 Callback for the IoOperationIssued event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoOperationComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t bytesResult, uint64_t matchingId)
 Callback for the IoOperationComplete event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoOperationCancelled) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
 Callback for the IoOperationCancelled event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
 Callback for the IoAcquireLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
 Callback for the IoReleaseLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_IoTryLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
 Callback for the IoTryLock event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ProgramBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_StringRef programName, uint32_t numberOfArguments, const OTF2_StringRef *programArguments)
 Callback for the ProgramBegin event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_ProgramEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, int64_t exitStatus)
 Callback for the ProgramEnd event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_NonBlockingCollectiveRequest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
 Callback for the NonBlockingCollectiveRequest event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_NonBlockingCollectiveComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_CommCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)
 Callback for the CommCreate event record. More...
 
typedef OTF2_CallbackCode(* OTF2_GlobalEvtReaderCallback_CommDestroy) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)
 Callback for the CommDestroy event record. More...
 

Functions

OTF2_GlobalEvtReaderCallbacksOTF2_GlobalEvtReaderCallbacks_New (void)
 Allocates a new struct for the event callbacks. More...
 
void OTF2_GlobalEvtReaderCallbacks_Delete (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks)
 Deallocates a struct for the global event callbacks. More...
 
void OTF2_GlobalEvtReaderCallbacks_Clear (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks)
 Clears a struct for the global event callbacks. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetUnknownCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_Unknown unknownCallback)
 Registers the callback for unknown events. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetBufferFlushCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_BufferFlush bufferFlushCallback)
 Registers the callback for the BufferFlush event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMeasurementOnOffCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MeasurementOnOff measurementOnOffCallback)
 Registers the callback for the MeasurementOnOff event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetEnterCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_Enter enterCallback)
 Registers the callback for the Enter event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetLeaveCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_Leave leaveCallback)
 Registers the callback for the Leave event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiSendCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiSend mpiSendCallback)
 Registers the callback for the MpiSend event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIsendCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiIsend mpiIsendCallback)
 Registers the callback for the MpiIsend event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIsendCompleteCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiIsendComplete mpiIsendCompleteCallback)
 Registers the callback for the MpiIsendComplete event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIrecvRequestCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiIrecvRequest mpiIrecvRequestCallback)
 Registers the callback for the MpiIrecvRequest event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRecvCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiRecv mpiRecvCallback)
 Registers the callback for the MpiRecv event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIrecvCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiIrecv mpiIrecvCallback)
 Registers the callback for the MpiIrecv event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRequestTestCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiRequestTest mpiRequestTestCallback)
 Registers the callback for the MpiRequestTest event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRequestCancelledCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiRequestCancelled mpiRequestCancelledCallback)
 Registers the callback for the MpiRequestCancelled event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiCollectiveBeginCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiCollectiveBegin mpiCollectiveBeginCallback)
 Registers the callback for the MpiCollectiveBegin event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiCollectiveEndCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_MpiCollectiveEnd mpiCollectiveEndCallback)
 Registers the callback for the MpiCollectiveEnd event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpForkCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_OmpFork ompForkCallback)
 Registers the callback for the OmpFork event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpJoinCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_OmpJoin ompJoinCallback)
 Registers the callback for the OmpJoin event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpAcquireLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_OmpAcquireLock ompAcquireLockCallback)
 Registers the callback for the OmpAcquireLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpReleaseLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_OmpReleaseLock ompReleaseLockCallback)
 Registers the callback for the OmpReleaseLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskCreateCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_OmpTaskCreate ompTaskCreateCallback)
 Registers the callback for the OmpTaskCreate event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskSwitchCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_OmpTaskSwitch ompTaskSwitchCallback)
 Registers the callback for the OmpTaskSwitch event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskCompleteCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_OmpTaskComplete ompTaskCompleteCallback)
 Registers the callback for the OmpTaskComplete event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMetricCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_Metric metricCallback)
 Registers the callback for the Metric event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterStringCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ParameterString parameterStringCallback)
 Registers the callback for the ParameterString event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterIntCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ParameterInt parameterIntCallback)
 Registers the callback for the ParameterInt event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterUnsignedIntCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ParameterUnsignedInt parameterUnsignedIntCallback)
 Registers the callback for the ParameterUnsignedInt event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWinCreateCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaWinCreate rmaWinCreateCallback)
 Registers the callback for the RmaWinCreate event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWinDestroyCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaWinDestroy rmaWinDestroyCallback)
 Registers the callback for the RmaWinDestroy event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaCollectiveBeginCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaCollectiveBegin rmaCollectiveBeginCallback)
 Registers the callback for the RmaCollectiveBegin event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaCollectiveEndCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaCollectiveEnd rmaCollectiveEndCallback)
 Registers the callback for the RmaCollectiveEnd event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaGroupSyncCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaGroupSync rmaGroupSyncCallback)
 Registers the callback for the RmaGroupSync event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaRequestLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaRequestLock rmaRequestLockCallback)
 Registers the callback for the RmaRequestLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaAcquireLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaAcquireLock rmaAcquireLockCallback)
 Registers the callback for the RmaAcquireLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaTryLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaTryLock rmaTryLockCallback)
 Registers the callback for the RmaTryLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaReleaseLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaReleaseLock rmaReleaseLockCallback)
 Registers the callback for the RmaReleaseLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaSyncCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaSync rmaSyncCallback)
 Registers the callback for the RmaSync event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWaitChangeCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaWaitChange rmaWaitChangeCallback)
 Registers the callback for the RmaWaitChange event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaPutCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaPut rmaPutCallback)
 Registers the callback for the RmaPut event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaGetCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaGet rmaGetCallback)
 Registers the callback for the RmaGet event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaAtomicCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaAtomic rmaAtomicCallback)
 Registers the callback for the RmaAtomic event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteBlockingCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaOpCompleteBlocking rmaOpCompleteBlockingCallback)
 Registers the callback for the RmaOpCompleteBlocking event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteNonBlockingCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaOpCompleteNonBlocking rmaOpCompleteNonBlockingCallback)
 Registers the callback for the RmaOpCompleteNonBlocking event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpTestCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaOpTest rmaOpTestCallback)
 Registers the callback for the RmaOpTest event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteRemoteCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_RmaOpCompleteRemote rmaOpCompleteRemoteCallback)
 Registers the callback for the RmaOpCompleteRemote event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadForkCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadFork threadForkCallback)
 Registers the callback for the ThreadFork event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadJoinCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadJoin threadJoinCallback)
 Registers the callback for the ThreadJoin event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTeamBeginCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadTeamBegin threadTeamBeginCallback)
 Registers the callback for the ThreadTeamBegin event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTeamEndCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadTeamEnd threadTeamEndCallback)
 Registers the callback for the ThreadTeamEnd event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadAcquireLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadAcquireLock threadAcquireLockCallback)
 Registers the callback for the ThreadAcquireLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadReleaseLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadReleaseLock threadReleaseLockCallback)
 Registers the callback for the ThreadReleaseLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskCreateCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadTaskCreate threadTaskCreateCallback)
 Registers the callback for the ThreadTaskCreate event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskSwitchCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadTaskSwitch threadTaskSwitchCallback)
 Registers the callback for the ThreadTaskSwitch event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskCompleteCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadTaskComplete threadTaskCompleteCallback)
 Registers the callback for the ThreadTaskComplete event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadCreateCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadCreate threadCreateCallback)
 Registers the callback for the ThreadCreate event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadBeginCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadBegin threadBeginCallback)
 Registers the callback for the ThreadBegin event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadWaitCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadWait threadWaitCallback)
 Registers the callback for the ThreadWait event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadEndCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ThreadEnd threadEndCallback)
 Registers the callback for the ThreadEnd event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextEnterCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_CallingContextEnter callingContextEnterCallback)
 Registers the callback for the CallingContextEnter event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextLeaveCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_CallingContextLeave callingContextLeaveCallback)
 Registers the callback for the CallingContextLeave event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextSampleCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_CallingContextSample callingContextSampleCallback)
 Registers the callback for the CallingContextSample event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoCreateHandleCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoCreateHandle ioCreateHandleCallback)
 Registers the callback for the IoCreateHandle event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoDestroyHandleCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoDestroyHandle ioDestroyHandleCallback)
 Registers the callback for the IoDestroyHandle event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoDuplicateHandleCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoDuplicateHandle ioDuplicateHandleCallback)
 Registers the callback for the IoDuplicateHandle event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoSeekCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoSeek ioSeekCallback)
 Registers the callback for the IoSeek event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoChangeStatusFlagsCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoChangeStatusFlags ioChangeStatusFlagsCallback)
 Registers the callback for the IoChangeStatusFlags event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoDeleteFileCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoDeleteFile ioDeleteFileCallback)
 Registers the callback for the IoDeleteFile event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationBeginCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoOperationBegin ioOperationBeginCallback)
 Registers the callback for the IoOperationBegin event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationTestCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoOperationTest ioOperationTestCallback)
 Registers the callback for the IoOperationTest event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationIssuedCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoOperationIssued ioOperationIssuedCallback)
 Registers the callback for the IoOperationIssued event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationCompleteCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoOperationComplete ioOperationCompleteCallback)
 Registers the callback for the IoOperationComplete event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationCancelledCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoOperationCancelled ioOperationCancelledCallback)
 Registers the callback for the IoOperationCancelled event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoAcquireLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoAcquireLock ioAcquireLockCallback)
 Registers the callback for the IoAcquireLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoReleaseLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoReleaseLock ioReleaseLockCallback)
 Registers the callback for the IoReleaseLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoTryLockCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_IoTryLock ioTryLockCallback)
 Registers the callback for the IoTryLock event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetProgramBeginCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ProgramBegin programBeginCallback)
 Registers the callback for the ProgramBegin event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetProgramEndCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_ProgramEnd programEndCallback)
 Registers the callback for the ProgramEnd event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetNonBlockingCollectiveRequestCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_NonBlockingCollectiveRequest nonBlockingCollectiveRequestCallback)
 Registers the callback for the NonBlockingCollectiveRequest event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetNonBlockingCollectiveCompleteCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_NonBlockingCollectiveComplete nonBlockingCollectiveCompleteCallback)
 Registers the callback for the NonBlockingCollectiveComplete event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCommCreateCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_CommCreate commCreateCallback)
 Registers the callback for the CommCreate event. More...
 
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCommDestroyCallback (OTF2_GlobalEvtReaderCallbacks *globalEvtReaderCallbacks, OTF2_GlobalEvtReaderCallback_CommDestroy commDestroyCallback)
 Registers the callback for the CommDestroy event. More...
 

Detailed Description

This defines the callbacks for the global event reader.

Source template
templates/OTF2_GlobalEvtReaderCallbacks.tmpl.h

Typedef Documentation

typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_Unknown) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList)

Callback for an unknown event record.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_BufferFlush) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_TimeStamp stopTime)

Callback for the BufferFlush event record.

This event signals that the internal buffer was flushed at the given time.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
stopTimeThe time the buffer flush finished.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MeasurementOnOff) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_MeasurementMode measurementMode)

Callback for the MeasurementOnOff event record.

This event signals where the measurement system turned measurement on or off.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
measurementModeIs the measurement turned on (OTF2_MEASUREMENT_ON) or off (OTF2_MEASUREMENT_OFF)?
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_Enter) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)

Callback for the Enter event record.

An Enter record indicates that the program enters a code region.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
regionNeeds to be defined in a definition record References a Region definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_REGION is available.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_Leave) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)

Callback for the Leave event record.

A Leave record indicates that the program leaves a code region.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
regionNeeds to be defined in a definition record References a Region definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_REGION is available.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiSend) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)

Callback for the MpiSend event record.

An MpiSend record indicates that an MPI send operation was initiated (MPI_SEND). It keeps the necessary information for this event: receiver of the message, communicator, and the message tag. You can optionally add further information like the message length (size of the send buffer).

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
receiverMPI rank of receiver in communicator.
communicatorCommunicator ID. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
msgTagMessage tag
msgLengthMessage length
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiIsend) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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.

An MpiIsend record indicates that a non-blocking MPI send operation was initiated (MPI_ISEND). It keeps the necessary information for this event: receiver of the message, communicator, and the message tag. You can optionally add further information like the message length (size of the send buffer).

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
receiverMPI rank of receiver in communicator.
communicatorCommunicator ID. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
msgTagMessage tag
msgLengthMessage length
requestIDID of the related request
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiIsendComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)

Callback for the MpiIsendComplete event record.

An MpiIsendComplete record indicates the completion of a non- blocking MPI send operation. In the case where the send request is released before it is completed by MPI, this record will only indicate the release, as it becomes impossible to track the completion of the send operation afterwards. This case may be identified by the surrounding events.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
requestIDID of the related request
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiIrecvRequest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)

Callback for the MpiIrecvRequest event record.

An MpiIrecvRequest record indicates that a non-blocking MPI receive operation was initiated (MPI_IRECV).

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
requestIDID of the requested receive
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiRecv) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)

Callback for the MpiRecv event record.

An MpiRecv record indicates that an MPI message was received (MPI_RECV). It keeps the necessary information for this event: sender of the message, communicator, and the message tag. You can optionally add further information like the message length (size of the receive buffer).

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
senderMPI rank of sender in communicator.
communicatorCommunicator ID. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
msgTagMessage tag
msgLengthMessage length
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiIrecv) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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.

An MpiIrecv record indicates the completion of a non-blocking MPI receive operation completed (MPI_IRECV). It keeps the necessary information for this event: sender of the message, communicator, and the message tag. You can optionally add further information like the message length (size of the receive buffer).

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
senderMPI rank of sender in communicator.
communicatorCommunicator ID. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
msgTagMessage tag
msgLengthMessage length
requestIDID of the related request
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiRequestTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)

Callback for the MpiRequestTest event record.

This events appears if the program tests if a request has already completed but the test failed.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
requestIDID of the related request
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiRequestCancelled) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)

Callback for the MpiRequestCancelled event record.

This events appears if the program canceled a request.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
requestIDID of the related request
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiCollectiveBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList)

Callback for the MpiCollectiveBegin event record.

An MpiCollectiveBegin record marks the begin of an MPI collective operation (MPI_GATHER, MPI_SCATTER etc.).

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_MpiCollectiveEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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.

An MpiCollectiveEnd record marks the end of an MPI collective operation (MPI_GATHER, MPI_SCATTER etc.). It keeps the necessary information for this event: type of collective operation, communicator, the root of this collective operation. You can optionally add further information like sent and received bytes.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
collectiveOpDetermines which collective operation it is.
communicatorCommunicator References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
rootRank of root in communicator or any predefined constant of OTF2_CollectiveRoot.
sizeSentSize of the sent message.
sizeReceivedSize of the received message.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpFork) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t numberOfRequestedThreads)

Callback for the OmpFork event record.

An OmpFork record marks that an OpenMP Thread forks a thread team.

This event record is superseded by the ThreadFork event record and should not be used when the ThreadFork event record is in use.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
numberOfRequestedThreadsRequested size of the team.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpJoin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList)

Callback for the OmpJoin event record.

An OmpJoin record marks that a team of threads is joint and only the master thread continues execution.

This event record is superseded by the ThreadJoin event record and should not be used when the ThreadJoin event record is in use.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)

Callback for the OmpAcquireLock event record.

An OmpAcquireLock record marks that a thread acquires an OpenMP lock.

This event record is superseded by the ThreadAcquireLock event record and should not be used when the ThreadAcquireLock event record is in use.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
lockIDID of the lock.
acquisitionOrderA monotonically increasing number to determine the order of lock acquisitions (with unsynchronized clocks this is otherwise not possible). Corresponding acquire-release events have same number.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)

Callback for the OmpReleaseLock event record.

An OmpReleaseLock record marks that a thread releases an OpenMP lock.

This event record is superseded by the ThreadReleaseLock event record and should not be used when the ThreadReleaseLock event record is in use.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
lockIDID of the lock.
acquisitionOrderA monotonically increasing number to determine the order of lock acquisitions (with unsynchronized clocks this is otherwise not possible). Corresponding acquire-release events have same number.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpTaskCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)

Callback for the OmpTaskCreate event record.

An OmpTaskCreate record marks that an OpenMP Task was/will be created in the current region.

This event record is superseded by the ThreadTaskCreate event record and should not be used when the ThreadTaskCreate event record is in use.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
taskIDIdentifier of the newly created task instance.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpTaskSwitch) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)

Callback for the OmpTaskSwitch event record.

An OmpTaskSwitch record indicates that the execution of the current task will be suspended and another task starts/restarts its execution. Please note that this may change the current call stack of the executing location.

This event record is superseded by the ThreadTaskSwitch event record and should not be used when the ThreadTaskSwitch event record is in use.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
taskIDIdentifier of the now active task instance.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_OmpTaskComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)

Callback for the OmpTaskComplete event record.

An OmpTaskComplete record indicates that the execution of an OpenMP task has finished.

This event record is superseded by the ThreadTaskComplete event record and should not be used when the ThreadTaskComplete event record is in use.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
taskIDIdentifier of the completed task instance.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_Metric) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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.

A Metric event is always stored at the location that recorded the metric. The event can reference a MetricClass or MetricInstance. Therefore, metric classes and instances share same ID space. Synchronous metrics are always located right immediately the corresponding Enter and Leave event.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
metricCould be a metric class or a metric instance. References a MetricClass, or a MetricInstance definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_METRIC is available.
numberOfMetricsNumber of metrics with in the set.
typeIDsList of metric types. These types must match that of the corresponding MetricMember definitions.
metricValuesList of metric values.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ParameterString) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, OTF2_StringRef string)

Callback for the ParameterString event record.

A ParameterString record marks that in the current region, the specified string parameter has the specified value.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
parameterParameter ID. References a Parameter definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_PARAMETER is available.
stringValue: Handle of a string definition References a String definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_STRING is available.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ParameterInt) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, int64_t value)

Callback for the ParameterInt event record.

A ParameterInt record marks that in the current region, the specified integer parameter has the specified value.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
parameterParameter ID. References a Parameter definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_PARAMETER is available.
valueValue of the recorded parameter.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ParameterUnsignedInt) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, uint64_t value)

Callback for the ParameterUnsignedInt event record.

A ParameterUnsignedInt record marks that in the current region, the specified unsigned integer parameter has the specified value.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
parameterParameter ID. References a Parameter definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_PARAMETER is available.
valueValue of the recorded parameter.
Since
Version 1.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaWinCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)

Callback for the RmaWinCreate event record.

An RmaWinCreate record denotes the creation of an RMA window. Only valid if the RmaWin definition was flagged with OTF2_RMA_WIN_FLAG_CREATE_DESTROY_EVENTS. This event can be enclosed by an RmaCollectiveBegin and RmaCollectiveEnd event pair either with OTF2_COLLECTIVE_OP_CREATE_HANDLE or OTF2_COLLECTIVE_OP_CREATE_HANDLE_AND_ALLOCATE as the operation type.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window created. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaWinDestroy) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)

Callback for the RmaWinDestroy event record.

An RmaWinDestroy record denotes the destruction of an RMA window. Only valid if the RmaWin definition was flagged with OTF2_RMA_WIN_FLAG_CREATE_DESTROY_EVENTS. This event can be enclosed by an RmaCollectiveBegin and RmaCollectiveEnd event pair either with OTF2_COLLECTIVE_OP_DESTROY_HANDLE or OTF2_COLLECTIVE_OP_DESTROY_HANDLE_AND_DEALLOCATE as the operation type. In this case the RMA window is only marked for destruction, which will happen with the RmaCollectiveEnd event.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window destructed. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaCollectiveBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList)

Callback for the RmaCollectiveBegin event record.

An RmaCollectiveBegin record denotes the beginning of a collective RMA operation.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaCollectiveEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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.

An RmaCollectiveEnd record denotes the end of a collective RMA operation.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
collectiveOpDetermines which collective operation it is.
syncLevelSynchronization level of this collective operation.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
rootRoot process for this operation or any predefined constant of OTF2_CollectiveRoot.
bytesSentBytes sent in operation.
bytesReceivedBytes receives in operation.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaGroupSync) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group)

Callback for the RmaGroupSync event record.

An RmaGroupSync record denotes the synchronization with a subgroup of processes on an RMA window.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
syncLevelSynchronization level of this collective operation.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
groupGroup of remote processes involved in synchronization. References a Group definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_GROUP is available.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaRequestLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)

Callback for the RmaRequestLock event record.

An RmaRequestLock record denotes the time a lock was requested and with it the earliest time it could have been granted. It is used to mark (possibly) non-blocking lock request, as defined by the MPI standard.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
remoteRank of the locked remote process or OTF2_UNDEFINED_UINT32 if all processes of the specified window are locked.
lockIdID of the lock acquired, if multiple locks are defined on a window.
lockTypeType of lock acquired.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)

Callback for the RmaAcquireLock event record.

An RmaAcquireLock record denotes the time a lock was acquired by the process.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
remoteRank of the locked remote process or OTF2_UNDEFINED_UINT32 if all processes of the specified window are locked.
lockIdID of the lock acquired, if multiple locks are defined on a window.
lockTypeType of lock acquired.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaTryLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)

Callback for the RmaTryLock event record.

An RmaTryLock record denotes the time of an unsuccessful attempt to acquire the lock.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
remoteRank of the locked remote process or OTF2_UNDEFINED_UINT32 if all processes of the specified window are locked.
lockIdID of the lock acquired, if multiple locks are defined on a window.
lockTypeType of lock acquired.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId)

Callback for the RmaReleaseLock event record.

An RmaReleaseLock record denotes the time the lock was released.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
remoteRank of the locked remote process or OTF2_UNDEFINED_UINT32 if all processes of the specified window are locked.
lockIdID of the lock released, if multiple locks are defined on a window.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaSync) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType)

Callback for the RmaSync event record.

An RmaSync record denotes the direct synchronization with a possibly remote process.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
remoteRank of the locked remote process.
syncTypeType of synchronization.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaWaitChange) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)

Callback for the RmaWaitChange event record.

An RmaWaitChange record denotes the change of a window that was waited for.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaPut) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)

Callback for the RmaPut event record.

An RmaPut record denotes the time a put operation was issued.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
remoteRank of the target process.
bytesBytes sent to target.
matchingIdID used for matching the corresponding completion record.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaGet) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)

Callback for the RmaGet event record.

An RmaGet record denotes the time a get operation was issued.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
remoteRank of the target process.
bytesBytes received from target.
matchingIdID used for matching the corresponding completion record.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaAtomic) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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.

An RmaAtomic record denotes the time an atomic RMA operation was issued.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
remoteRank of the target process.
typeType of atomic operation.
bytesSentBytes sent to target.
bytesReceivedBytes received from target.
matchingIdID used for matching the corresponding completion record.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaOpCompleteBlocking) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)

Callback for the RmaOpCompleteBlocking event record.

An RmaOpCompleteBlocking record denotes the local completion of a blocking RMA operation.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
matchingIdID used for matching the corresponding RMA operation record.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaOpCompleteNonBlocking) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)

Callback for the RmaOpCompleteNonBlocking event record.

An RmaOpCompleteNonBlocking record denotes the local completion of a non-blocking RMA operation.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
matchingIdID used for matching the corresponding RMA operation record.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaOpTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)

Callback for the RmaOpTest event record.

An RmaOpTest record denotes that a non-blocking RMA operation has been tested for completion unsuccessfully.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
matchingIdID used for matching the corresponding RMA operation record.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_RmaOpCompleteRemote) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)

Callback for the RmaOpCompleteRemote event record.

An RmaOpCompleteRemote record denotes the remote completion of an RMA operation.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
winID of the window used for this operation. References a RmaWin definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_RMA_WIN is available.
matchingIdID used for matching the corresponding RMA operation record.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadFork) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t numberOfRequestedThreads)

Callback for the ThreadFork event record.

A ThreadFork record marks that a thread forks a thread team.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
modelThe threading paradigm this event took place.
numberOfRequestedThreadsRequested size of the team.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadJoin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model)

Callback for the ThreadJoin event record.

A ThreadJoin record marks that a team of threads is joint and only the master thread continues execution.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
modelThe threading paradigm this event took place.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTeamBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)

Callback for the ThreadTeamBegin event record.

The current location enters the specified thread team.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadTeamThread team References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTeamEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)

Callback for the ThreadTeamEnd event record.

The current location leaves the specified thread team.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadTeamThread team References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)

Callback for the ThreadAcquireLock event record.

A ThreadAcquireLock record marks that a thread acquires a lock.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
modelThe threading paradigm this event took place.
lockIDID of the lock.
acquisitionOrderA monotonically increasing number to determine the order of lock acquisitions (with unsynchronized clocks this is otherwise not possible). Corresponding acquire-release events have same number.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)

Callback for the ThreadReleaseLock event record.

A ThreadReleaseLock record marks that a thread releases a lock.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
modelThe threading paradigm this event took place.
lockIDID of the lock.
acquisitionOrderA monotonically increasing number to determine the order of lock acquisitions (with unsynchronized clocks this is otherwise not possible). Corresponding acquire-release events have same number.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTaskCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)

Callback for the ThreadTaskCreate event record.

A ThreadTaskCreate record marks that a task in was/will be created and will be processed by the specified thread team.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadTeamThread team References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
creatingThreadCreating thread of this task.
generationNumberThread-private generation number of task's creating thread.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTaskSwitch) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)

Callback for the ThreadTaskSwitch event record.

A ThreadTaskSwitch record indicates that the execution of the current task will be suspended and another task starts/restarts its execution. Please note that this may change the current call stack of the executing location.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadTeamThread team References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
creatingThreadCreating thread of this task.
generationNumberThread-private generation number of task's creating thread.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadTaskComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)

Callback for the ThreadTaskComplete event record.

A ThreadTaskComplete record indicates that the execution of an OpenMP task has finished.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadTeamThread team References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
creatingThreadCreating thread of this task.
generationNumberThread-private generation number of task's creating thread.
Since
Version 1.2
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)

Callback for the ThreadCreate event record.

The location created successfully a new thread.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadContingentThe thread contingent. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
sequenceCountA threadContingent unique number. The corresponding ThreadBegin event does have the same number.
Since
Version 1.3
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)

Callback for the ThreadBegin event record.

Marks the begin of a thread created by another thread.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadContingentThe thread contingent. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
sequenceCountA threadContingent unique number. The corresponding ThreadCreate event does have the same number.
Since
Version 1.3
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadWait) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)

Callback for the ThreadWait event record.

The location waits for the completion of another thread.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadContingentThe thread contingent. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
sequenceCountA threadContingent unique number. The corresponding ThreadEnd event does have the same number.
Since
Version 1.3
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ThreadEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)

Callback for the ThreadEnd event record.

Marks the end of a thread.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
threadContingentThe thread contingent. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
sequenceCountA threadContingent unique number. The corresponding ThreadWait event does have the same number. OTF2_UNDEFINED_UINT64 in case no corresponding ThreadWait event exists.
Since
Version 1.3
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_CallingContextEnter) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance)

Callback for the CallingContextEnter event record.

The thread entered an instrumented region, represented by the referenced CallingContext. In contrast to the Enter event, it gives the full calling context through the CallingContext tree.

Events based on the CallingContext definition are mutually exclusive with the Enter/Leave events in a trace.

If no callback for this event is set but a callback for Enter events is defined, the reader will automatically generate an Enter callback call for the Region referenced by the CallingContext attribute of this event. Note that this emulation does not re-create the full calling context! It only re-creates the event order for instrumented regions.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
callingContextThe entered region as referenced by the CallingContext definition. References a CallingContext definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_CALLING_CONTEXT is available.
unwindDistanceThe unwindDistance for this callingContext. See the description in CallingContext.
Since
Version 2.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_CallingContextLeave) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext)

Callback for the CallingContextLeave event record.

The thread left an instrumented region, represented by the referenced CallingContext. In contrast to the Leave event, it gives the full calling context through the CallingContext tree.

The unwind distance for this CallingContext is defined to be 1. Because it must be assumed that the instrumented region made progress since the previous CallingContext event.

Events based on the CallingContext definition are mutually exclusive with the Enter/Leave events in a trace.

The parent of the CallingContext must be used as the previous calling context for the next event.

If no callback for this event is set but a callback for Leave events is defined, the reader will automatically generate an Leave callback call for the Region referenced by the CallingContext attribute of this event. Note that this emulation does not re-create the full calling context! It only re-creates the event order for instrumented regions.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
callingContextThe left region as referenced by the CallingContext definition. References a CallingContext definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_CALLING_CONTEXT is available.
Since
Version 2.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_CallingContextSample) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator)

Callback for the CallingContextSample event record.

The thread was interrupted to take a sample of its current state (region and source code location).

Events based on the CallingContext definition are mutually exclusive with the Enter/Leave events in a trace.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
callingContextDescribes the calling context of the thread when it was interrupted. References a CallingContext definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_CALLING_CONTEXT is available.
unwindDistanceThe unwindDistance for this callingContext. See the description in CallingContext.
interruptGeneratorReferences a InterruptGenerator definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_INTERRUPT_GENERATOR is available.
Since
Version 1.5
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoCreateHandle) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoAccessMode mode, OTF2_IoCreationFlag creationFlags, OTF2_IoStatusFlag statusFlags)

Callback for the IoCreateHandle event record.

An IoCreateHandle record marks the creation of a new active I/O handle that can be used by subsequent I/O operation events.

An IoHandle is active between a pair of consecutive IoCreateHandle and IoDestroyHandle events. All Locations of a LocationGroup have access to an active IoHandle.

If the Comm attribute of the IoHandle handle is not OTF2_UNDEFINED_COMM, this is a collective operation over Comm.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleA previously inactive I/O handle which will be activated by this record. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
modeDetermines which I/O operations can be applied to this I/O handle (e.g., read-only, write-only, read- write).
creationFlagsRequested I/O handle creation flags (e.g., create, exclusive, etc.).
statusFlagsI/O handle status flags which will be associated with the handle attribute (e.g., append, create, close-on-exec, async, etc).
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoDestroyHandle) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle)

Callback for the IoDestroyHandle event record.

An IoDestroyHandle record marks the end of an active I/O handle's lifetime.

An IoHandle is active between a pair of consecutive IoCreateHandle and IoDestroyHandle events. All Locations of a LocationGroup have access to an active IoHandle.

If the Comm attribute of the IoHandle handle is not OTF2_UNDEFINED_COMM, this is a collective operation over Comm.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle which will be inactivated by this records. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoDuplicateHandle) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef oldHandle, OTF2_IoHandleRef newHandle, OTF2_IoStatusFlag statusFlags)

Callback for the IoDuplicateHandle event record.

An IoDuplicateHandle record marks the duplication of an already existing active I/O handle.

The new I/O handle newHandle is active after this event.

Both IoHandles must reference the same Comm definition or be OTF2_UNDEFINED_COMM. If the Comm attribute of the IoHandle handles is not OTF2_UNDEFINED_COMM, this is a collective operation over Comm.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
oldHandleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
newHandleA previously inactive I/O handle which will be activated by this record. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
statusFlagsThe status flag for the new I/O handle newHandle. No status flags will be inherited from the I/O handle oldHandle.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoSeek) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, int64_t offsetRequest, OTF2_IoSeekOption whence, uint64_t offsetResult)

Callback for the IoSeek event record.

An IoSeek record marks a change of the position, e.g., within a file.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
offsetRequestRequested offset.
whencePosition inside the file from where offsetRequest should be applied (e.g., absolute from the start or end, relative to the current position).
offsetResultResulting offset, e.g., within the file relative to the beginning of the file.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoChangeStatusFlags) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoStatusFlag statusFlags)

Callback for the IoChangeStatusFlags event record.

An IoChangeStatusFlags record marks a change to the status flags associated with an active I/O handle.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
statusFlagsSet flags (e.g., close-on-exec, append, etc.).
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoDeleteFile) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoParadigmRef ioParadigm, OTF2_IoFileRef file)

Callback for the IoDeleteFile event record.

An IoDeleteFile record marks the deletion of an I/O file.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
ioParadigmThe I/O paradigm which induced the deletion. References a IoParadigm definition.
fileFile identifier. References a IoRegularFile, or a IoDirectory definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_FILE is available.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoOperationBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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.

An IoOperationBegin record marks the begin of a file operation (read, write, etc.).

See Event order for I/O operation records for the possible event orders.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
modeMode of an I/O handle operation (e.g., read or write).
operationFlagsSpecial semantic of this operation.
bytesRequestRequested bytes to write/read.
matchingIdIdentifier used to correlate associated event records of an I/O operation. This identifier is unique for the referenced IoHandle.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoOperationTest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)

Callback for the IoOperationTest event record.

An IoOperationTest record marks an unsuccessful test whether an I/O operation has already finished.

See Event order for I/O operation records for the possible event orders.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
matchingIdIdentifier used to correlate associated event records of an I/O operation. This identifier is unique for the referenced IoHandle.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoOperationIssued) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)

Callback for the IoOperationIssued event record.

An IoOperationIssued record marks the successful initiation of a non-blocking operation (read, write, etc.) on an active I/O handle.

See Event order for I/O operation records for the possible event orders.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
matchingIdIdentifier used to correlate associated event records of an I/O operation. This identifier is unique for the referenced IoHandle.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoOperationComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t bytesResult, uint64_t matchingId)

Callback for the IoOperationComplete event record.

An IoOperationComplete record marks the end of a file operation (read, write, etc.) on an active I/O handle.

See Event order for I/O operation records for the possible event orders.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
bytesResultNumber of actual transferred bytes.
matchingIdIdentifier used to correlate associated event records of an I/O operation. This identifier is unique for the referenced IoHandle.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoOperationCancelled) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)

Callback for the IoOperationCancelled event record.

An IoOperationCancelled record marks the successful cancellation of a non-blocking operation (read, write, etc.) on an active I/O handle.

See Event order for I/O operation records for the possible event orders.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
matchingIdIdentifier used to correlate associated event records of an I/O operation. This identifier is unique for the referenced IoHandle.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoAcquireLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)

Callback for the IoAcquireLock event record.

An IoAcquireLock record marks the acquisition of an I/O lock.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
lockTypeType of the lock.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoReleaseLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)

Callback for the IoReleaseLock event record.

An IoReleaseLock record marks the release of an I/O lock.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
lockTypeType of the lock.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_IoTryLock) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)

Callback for the IoTryLock event record.

An IoTryLock record marks when an I/O lock was requested but not granted.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
handleAn active I/O handle. References a IoHandle definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_IO_HANDLE is available.
lockTypeType of the lock.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ProgramBegin) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_StringRef programName, uint32_t numberOfArguments, const OTF2_StringRef *programArguments)

Callback for the ProgramBegin event record.

The ProgramBegin record marks the begin of the program.

This event is restricted to happen at most once on any Location in a LocationGroup that is of type OTF2_LOCATION_GROUP_TYPE_PROCESS.

If there is a ProgramBegin record, a corresponding ProgramEnd record on any Location in the same LocationGroup is mandatory and vice versa.

None of the timestamps recorded within the same LocationGroup must be smaller than ProgramBegin's timestamp.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
programNameThe name of the program. References a String definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_STRING is available.
numberOfArgumentsNumber of additional arguments to the program.
programArgumentsList of additional arguments to the program.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_ProgramEnd) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, int64_t exitStatus)

Callback for the ProgramEnd event record.

The ProgramEnd record marks the end of the program.

This event is restricted to happen at most once on any Location in a LocationGroup that is of type OTF2_LOCATION_GROUP_TYPE_PROCESS.

If there is a ProgramEnd record, a corresponding ProgramBegin record on any Location in the same LocationGroup is mandatory, and vice versa.

None of the timestamps recorded within the same LocationGroup must be larger than ProgramEnd's timestamp.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
exitStatusThe exit status of the program. Note, that on some systems only the least significant 8 bits may be visible to other processes. Use OTF2_UNDEFINED_INT64, if the exit status was not available.
Since
Version 2.1
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_NonBlockingCollectiveRequest) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)

Callback for the NonBlockingCollectiveRequest event record.

A NonBlockingCollectiveRequest record indicates that a non-blocking collective operation was initiated.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
requestIDID of the requested operation.
Since
Version 3.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_NonBlockingCollectiveComplete) (OTF2_LocationRef locationID, OTF2_TimeStamp time, 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.

A NonBlockingCollectiveComplete record indicates that a non- blocking collective operation completed.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
collectiveOpDetermines which collective operation it is.
communicatorCommunicator ID. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
rootRank of root in communicator or any predefined constant of OTF2_CollectiveRoot.
sizeSentSize of the sent data.
sizeReceivedSize of the received data.
requestIDID of the requested operation.
Since
Version 3.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_CommCreate) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)

Callback for the CommCreate event record.

A CommCreate record denotes the creation of a communicator. Only valid if the Comm definition was flagged with OTF2_COMM_FLAG_CREATE_DESTROY_EVENTS. This event must be enclosed by an MpiCollectiveBegin and MpiCollectiveEnd or NonBlockingCollectiveRequest and NonBlockingCollectiveComplete event pair with OTF2_COLLECTIVE_OP_CREATE_HANDLE as the operation type.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
communicatorCommunicator ID. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
Since
Version 3.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.
typedef OTF2_CallbackCode( * OTF2_GlobalEvtReaderCallback_CommDestroy) (OTF2_LocationRef locationID, OTF2_TimeStamp time, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)

Callback for the CommDestroy event record.

A CommDestroy record marks the communicator for destruction at the end of the enclosing MpiCollectiveBegin and MpiCollectiveEnd event pair. Only valid if the Comm definition was flagged with OTF2_COMM_FLAG_CREATE_DESTROY_EVENTS. This event must be enclosed by an MpiCollectiveBegin and MpiCollectiveEnd event pair with OTF2_COLLECTIVE_OP_DESTROY_HANDLE as the operation type.

Parameters
locationIDThe location where this event happened.
timeThe time when this event happened.
userDataUser data as set by OTF2_Reader_RegisterGlobalEvtCallbacks or OTF2_GlobalEvtReader_SetCallbacks.
attributeListAdditional attributes for this event.
communicatorCommunicator ID. References a Comm, or a InterComm definition and will be mapped to the global definition if a mapping table of type OTF2_MAPPING_COMM is available.
Since
Version 3.0
Returns
OTF2_CALLBACK_SUCCESS or OTF2_CALLBACK_INTERRUPT.

Function Documentation

OTF2_GlobalEvtReaderCallbacks* OTF2_GlobalEvtReaderCallbacks_New ( void  )

Allocates a new struct for the event callbacks.

Returns
A newly allocated struct of type OTF2_GlobalEvtReaderCallbacks.
Examples:
otf2_mpi_reader_example.c, otf2_mpi_reader_example.cc, and otf2_reader_example.c.
void OTF2_GlobalEvtReaderCallbacks_Delete ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks)

Deallocates a struct for the global event callbacks.

Parameters
globalEvtReaderCallbacksHandle to a struct previously allocated with OTF2_GlobalEvtReaderCallbacks_New.
Examples:
otf2_mpi_reader_example.c, otf2_mpi_reader_example.cc, and otf2_reader_example.c.
void OTF2_GlobalEvtReaderCallbacks_Clear ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks)

Clears a struct for the global event callbacks.

Parameters
globalEvtReaderCallbacksHandle to a struct previously allocated with OTF2_GlobalEvtReaderCallbacks_New.
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetUnknownCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_Unknown  unknownCallback 
)

Registers the callback for unknown events.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
unknownCallbackFunction which should be called for all unknown events.
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetBufferFlushCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_BufferFlush  bufferFlushCallback 
)

Registers the callback for the BufferFlush event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
bufferFlushCallbackFunction which should be called for all BufferFlush definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMeasurementOnOffCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MeasurementOnOff  measurementOnOffCallback 
)

Registers the callback for the MeasurementOnOff event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
measurementOnOffCallbackFunction which should be called for all MeasurementOnOff definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetEnterCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_Enter  enterCallback 
)

Registers the callback for the Enter event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
enterCallbackFunction which should be called for all Enter definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
Examples:
otf2_mpi_reader_example.c, otf2_mpi_reader_example.cc, and otf2_reader_example.c.
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetLeaveCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_Leave  leaveCallback 
)

Registers the callback for the Leave event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
leaveCallbackFunction which should be called for all Leave definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
Examples:
otf2_mpi_reader_example.c, otf2_mpi_reader_example.cc, and otf2_reader_example.c.
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiSendCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiSend  mpiSendCallback 
)

Registers the callback for the MpiSend event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiSendCallbackFunction which should be called for all MpiSend definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIsendCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiIsend  mpiIsendCallback 
)

Registers the callback for the MpiIsend event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiIsendCallbackFunction which should be called for all MpiIsend definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIsendCompleteCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiIsendComplete  mpiIsendCompleteCallback 
)

Registers the callback for the MpiIsendComplete event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiIsendCompleteCallbackFunction which should be called for all MpiIsendComplete definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIrecvRequestCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiIrecvRequest  mpiIrecvRequestCallback 
)

Registers the callback for the MpiIrecvRequest event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiIrecvRequestCallbackFunction which should be called for all MpiIrecvRequest definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRecvCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiRecv  mpiRecvCallback 
)

Registers the callback for the MpiRecv event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiRecvCallbackFunction which should be called for all MpiRecv definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiIrecvCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiIrecv  mpiIrecvCallback 
)

Registers the callback for the MpiIrecv event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiIrecvCallbackFunction which should be called for all MpiIrecv definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRequestTestCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiRequestTest  mpiRequestTestCallback 
)

Registers the callback for the MpiRequestTest event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiRequestTestCallbackFunction which should be called for all MpiRequestTest definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiRequestCancelledCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiRequestCancelled  mpiRequestCancelledCallback 
)

Registers the callback for the MpiRequestCancelled event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiRequestCancelledCallbackFunction which should be called for all MpiRequestCancelled definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiCollectiveBeginCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiCollectiveBegin  mpiCollectiveBeginCallback 
)

Registers the callback for the MpiCollectiveBegin event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiCollectiveBeginCallbackFunction which should be called for all MpiCollectiveBegin definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMpiCollectiveEndCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_MpiCollectiveEnd  mpiCollectiveEndCallback 
)

Registers the callback for the MpiCollectiveEnd event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
mpiCollectiveEndCallbackFunction which should be called for all MpiCollectiveEnd definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpForkCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_OmpFork  ompForkCallback 
)

Registers the callback for the OmpFork event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ompForkCallbackFunction which should be called for all OmpFork definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpJoinCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_OmpJoin  ompJoinCallback 
)

Registers the callback for the OmpJoin event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ompJoinCallbackFunction which should be called for all OmpJoin definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpAcquireLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_OmpAcquireLock  ompAcquireLockCallback 
)

Registers the callback for the OmpAcquireLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ompAcquireLockCallbackFunction which should be called for all OmpAcquireLock definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpReleaseLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_OmpReleaseLock  ompReleaseLockCallback 
)

Registers the callback for the OmpReleaseLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ompReleaseLockCallbackFunction which should be called for all OmpReleaseLock definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskCreateCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_OmpTaskCreate  ompTaskCreateCallback 
)

Registers the callback for the OmpTaskCreate event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ompTaskCreateCallbackFunction which should be called for all OmpTaskCreate definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskSwitchCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_OmpTaskSwitch  ompTaskSwitchCallback 
)

Registers the callback for the OmpTaskSwitch event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ompTaskSwitchCallbackFunction which should be called for all OmpTaskSwitch definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetOmpTaskCompleteCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_OmpTaskComplete  ompTaskCompleteCallback 
)

Registers the callback for the OmpTaskComplete event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ompTaskCompleteCallbackFunction which should be called for all OmpTaskComplete definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetMetricCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_Metric  metricCallback 
)

Registers the callback for the Metric event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
metricCallbackFunction which should be called for all Metric definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterStringCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ParameterString  parameterStringCallback 
)

Registers the callback for the ParameterString event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
parameterStringCallbackFunction which should be called for all ParameterString definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterIntCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ParameterInt  parameterIntCallback 
)

Registers the callback for the ParameterInt event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
parameterIntCallbackFunction which should be called for all ParameterInt definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetParameterUnsignedIntCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ParameterUnsignedInt  parameterUnsignedIntCallback 
)

Registers the callback for the ParameterUnsignedInt event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
parameterUnsignedIntCallbackFunction which should be called for all ParameterUnsignedInt definitions.
Since
Version 1.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWinCreateCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaWinCreate  rmaWinCreateCallback 
)

Registers the callback for the RmaWinCreate event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaWinCreateCallbackFunction which should be called for all RmaWinCreate definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWinDestroyCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaWinDestroy  rmaWinDestroyCallback 
)

Registers the callback for the RmaWinDestroy event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaWinDestroyCallbackFunction which should be called for all RmaWinDestroy definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaCollectiveBeginCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaCollectiveBegin  rmaCollectiveBeginCallback 
)

Registers the callback for the RmaCollectiveBegin event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaCollectiveBeginCallbackFunction which should be called for all RmaCollectiveBegin definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaCollectiveEndCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaCollectiveEnd  rmaCollectiveEndCallback 
)

Registers the callback for the RmaCollectiveEnd event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaCollectiveEndCallbackFunction which should be called for all RmaCollectiveEnd definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaGroupSyncCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaGroupSync  rmaGroupSyncCallback 
)

Registers the callback for the RmaGroupSync event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaGroupSyncCallbackFunction which should be called for all RmaGroupSync definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaRequestLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaRequestLock  rmaRequestLockCallback 
)

Registers the callback for the RmaRequestLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaRequestLockCallbackFunction which should be called for all RmaRequestLock definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaAcquireLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaAcquireLock  rmaAcquireLockCallback 
)

Registers the callback for the RmaAcquireLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaAcquireLockCallbackFunction which should be called for all RmaAcquireLock definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaTryLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaTryLock  rmaTryLockCallback 
)

Registers the callback for the RmaTryLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaTryLockCallbackFunction which should be called for all RmaTryLock definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaReleaseLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaReleaseLock  rmaReleaseLockCallback 
)

Registers the callback for the RmaReleaseLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaReleaseLockCallbackFunction which should be called for all RmaReleaseLock definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaSyncCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaSync  rmaSyncCallback 
)

Registers the callback for the RmaSync event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaSyncCallbackFunction which should be called for all RmaSync definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaWaitChangeCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaWaitChange  rmaWaitChangeCallback 
)

Registers the callback for the RmaWaitChange event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaWaitChangeCallbackFunction which should be called for all RmaWaitChange definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaPutCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaPut  rmaPutCallback 
)

Registers the callback for the RmaPut event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaPutCallbackFunction which should be called for all RmaPut definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaGetCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaGet  rmaGetCallback 
)

Registers the callback for the RmaGet event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaGetCallbackFunction which should be called for all RmaGet definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaAtomicCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaAtomic  rmaAtomicCallback 
)

Registers the callback for the RmaAtomic event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaAtomicCallbackFunction which should be called for all RmaAtomic definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteBlockingCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaOpCompleteBlocking  rmaOpCompleteBlockingCallback 
)

Registers the callback for the RmaOpCompleteBlocking event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaOpCompleteBlockingCallbackFunction which should be called for all RmaOpCompleteBlocking definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteNonBlockingCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaOpCompleteNonBlocking  rmaOpCompleteNonBlockingCallback 
)

Registers the callback for the RmaOpCompleteNonBlocking event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaOpCompleteNonBlockingCallbackFunction which should be called for all RmaOpCompleteNonBlocking definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpTestCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaOpTest  rmaOpTestCallback 
)

Registers the callback for the RmaOpTest event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaOpTestCallbackFunction which should be called for all RmaOpTest definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetRmaOpCompleteRemoteCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_RmaOpCompleteRemote  rmaOpCompleteRemoteCallback 
)

Registers the callback for the RmaOpCompleteRemote event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
rmaOpCompleteRemoteCallbackFunction which should be called for all RmaOpCompleteRemote definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadForkCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadFork  threadForkCallback 
)

Registers the callback for the ThreadFork event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadForkCallbackFunction which should be called for all ThreadFork definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadJoinCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadJoin  threadJoinCallback 
)

Registers the callback for the ThreadJoin event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadJoinCallbackFunction which should be called for all ThreadJoin definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTeamBeginCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadTeamBegin  threadTeamBeginCallback 
)

Registers the callback for the ThreadTeamBegin event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadTeamBeginCallbackFunction which should be called for all ThreadTeamBegin definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTeamEndCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadTeamEnd  threadTeamEndCallback 
)

Registers the callback for the ThreadTeamEnd event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadTeamEndCallbackFunction which should be called for all ThreadTeamEnd definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadAcquireLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadAcquireLock  threadAcquireLockCallback 
)

Registers the callback for the ThreadAcquireLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadAcquireLockCallbackFunction which should be called for all ThreadAcquireLock definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadReleaseLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadReleaseLock  threadReleaseLockCallback 
)

Registers the callback for the ThreadReleaseLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadReleaseLockCallbackFunction which should be called for all ThreadReleaseLock definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskCreateCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadTaskCreate  threadTaskCreateCallback 
)

Registers the callback for the ThreadTaskCreate event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadTaskCreateCallbackFunction which should be called for all ThreadTaskCreate definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskSwitchCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadTaskSwitch  threadTaskSwitchCallback 
)

Registers the callback for the ThreadTaskSwitch event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadTaskSwitchCallbackFunction which should be called for all ThreadTaskSwitch definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadTaskCompleteCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadTaskComplete  threadTaskCompleteCallback 
)

Registers the callback for the ThreadTaskComplete event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadTaskCompleteCallbackFunction which should be called for all ThreadTaskComplete definitions.
Since
Version 1.2
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadCreateCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadCreate  threadCreateCallback 
)

Registers the callback for the ThreadCreate event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadCreateCallbackFunction which should be called for all ThreadCreate definitions.
Since
Version 1.3
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadBeginCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadBegin  threadBeginCallback 
)

Registers the callback for the ThreadBegin event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadBeginCallbackFunction which should be called for all ThreadBegin definitions.
Since
Version 1.3
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadWaitCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadWait  threadWaitCallback 
)

Registers the callback for the ThreadWait event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadWaitCallbackFunction which should be called for all ThreadWait definitions.
Since
Version 1.3
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetThreadEndCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ThreadEnd  threadEndCallback 
)

Registers the callback for the ThreadEnd event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
threadEndCallbackFunction which should be called for all ThreadEnd definitions.
Since
Version 1.3
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextEnterCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_CallingContextEnter  callingContextEnterCallback 
)

Registers the callback for the CallingContextEnter event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
callingContextEnterCallbackFunction which should be called for all CallingContextEnter definitions.
Since
Version 2.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextLeaveCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_CallingContextLeave  callingContextLeaveCallback 
)

Registers the callback for the CallingContextLeave event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
callingContextLeaveCallbackFunction which should be called for all CallingContextLeave definitions.
Since
Version 2.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCallingContextSampleCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_CallingContextSample  callingContextSampleCallback 
)

Registers the callback for the CallingContextSample event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
callingContextSampleCallbackFunction which should be called for all CallingContextSample definitions.
Since
Version 1.5
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoCreateHandleCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoCreateHandle  ioCreateHandleCallback 
)

Registers the callback for the IoCreateHandle event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioCreateHandleCallbackFunction which should be called for all IoCreateHandle definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoDestroyHandleCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoDestroyHandle  ioDestroyHandleCallback 
)

Registers the callback for the IoDestroyHandle event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioDestroyHandleCallbackFunction which should be called for all IoDestroyHandle definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoDuplicateHandleCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoDuplicateHandle  ioDuplicateHandleCallback 
)

Registers the callback for the IoDuplicateHandle event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioDuplicateHandleCallbackFunction which should be called for all IoDuplicateHandle definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoSeekCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoSeek  ioSeekCallback 
)

Registers the callback for the IoSeek event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioSeekCallbackFunction which should be called for all IoSeek definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoChangeStatusFlagsCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoChangeStatusFlags  ioChangeStatusFlagsCallback 
)

Registers the callback for the IoChangeStatusFlags event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioChangeStatusFlagsCallbackFunction which should be called for all IoChangeStatusFlags definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoDeleteFileCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoDeleteFile  ioDeleteFileCallback 
)

Registers the callback for the IoDeleteFile event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioDeleteFileCallbackFunction which should be called for all IoDeleteFile definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationBeginCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoOperationBegin  ioOperationBeginCallback 
)

Registers the callback for the IoOperationBegin event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioOperationBeginCallbackFunction which should be called for all IoOperationBegin definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationTestCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoOperationTest  ioOperationTestCallback 
)

Registers the callback for the IoOperationTest event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioOperationTestCallbackFunction which should be called for all IoOperationTest definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationIssuedCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoOperationIssued  ioOperationIssuedCallback 
)

Registers the callback for the IoOperationIssued event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioOperationIssuedCallbackFunction which should be called for all IoOperationIssued definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationCompleteCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoOperationComplete  ioOperationCompleteCallback 
)

Registers the callback for the IoOperationComplete event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioOperationCompleteCallbackFunction which should be called for all IoOperationComplete definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoOperationCancelledCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoOperationCancelled  ioOperationCancelledCallback 
)

Registers the callback for the IoOperationCancelled event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioOperationCancelledCallbackFunction which should be called for all IoOperationCancelled definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoAcquireLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoAcquireLock  ioAcquireLockCallback 
)

Registers the callback for the IoAcquireLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioAcquireLockCallbackFunction which should be called for all IoAcquireLock definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoReleaseLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoReleaseLock  ioReleaseLockCallback 
)

Registers the callback for the IoReleaseLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioReleaseLockCallbackFunction which should be called for all IoReleaseLock definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetIoTryLockCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_IoTryLock  ioTryLockCallback 
)

Registers the callback for the IoTryLock event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
ioTryLockCallbackFunction which should be called for all IoTryLock definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetProgramBeginCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ProgramBegin  programBeginCallback 
)

Registers the callback for the ProgramBegin event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
programBeginCallbackFunction which should be called for all ProgramBegin definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetProgramEndCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_ProgramEnd  programEndCallback 
)

Registers the callback for the ProgramEnd event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
programEndCallbackFunction which should be called for all ProgramEnd definitions.
Since
Version 2.1
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetNonBlockingCollectiveRequestCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_NonBlockingCollectiveRequest  nonBlockingCollectiveRequestCallback 
)

Registers the callback for the NonBlockingCollectiveRequest event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
nonBlockingCollectiveRequestCallbackFunction which should be called for all NonBlockingCollectiveRequest definitions.
Since
Version 3.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetNonBlockingCollectiveCompleteCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_NonBlockingCollectiveComplete  nonBlockingCollectiveCompleteCallback 
)

Registers the callback for the NonBlockingCollectiveComplete event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
nonBlockingCollectiveCompleteCallbackFunction which should be called for all NonBlockingCollectiveComplete definitions.
Since
Version 3.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCommCreateCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_CommCreate  commCreateCallback 
)

Registers the callback for the CommCreate event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
commCreateCallbackFunction which should be called for all CommCreate definitions.
Since
Version 3.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument
OTF2_ErrorCode OTF2_GlobalEvtReaderCallbacks_SetCommDestroyCallback ( OTF2_GlobalEvtReaderCallbacks globalEvtReaderCallbacks,
OTF2_GlobalEvtReaderCallback_CommDestroy  commDestroyCallback 
)

Registers the callback for the CommDestroy event.

Parameters
globalEvtReaderCallbacksStruct for all callbacks.
commDestroyCallbackFunction which should be called for all CommDestroy definitions.
Since
Version 3.0
Returns
OTF2_SUCCESS
if successful
OTF2_ERROR_INVALID_ARGUMENT
for an invalid defReaderCallbacks argument