3.2 (revision 440b9273)
OTF2_EvtReaderCallbacks.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software (http://www.score-p.org)
3  *
4  * Copyright (c) 2009-2012,
5  * RWTH Aachen University, Germany
6  *
7  * Copyright (c) 2009-2012,
8  * Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
9  *
10  * Copyright (c) 2009-2012,
11  * Technische Universitaet Dresden, Germany
12  *
13  * Copyright (c) 2009-2012,
14  * University of Oregon, Eugene, USA
15  *
16  * Copyright (c) 2009-2012,
17  * Forschungszentrum Juelich GmbH, Germany
18  *
19  * Copyright (c) 2009-2012,
20  * German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
21  *
22  * Copyright (c) 2009-2012,
23  * Technische Universitaet Muenchen, Germany
24  *
25  * This software may be modified and distributed under the terms of
26  * a BSD-style license. See the COPYING file in the package base
27  * directory for details.
28  *
29  */
30 
31 
32 #ifndef OTF2_EVT_READER_CALLBACKS_H
33 #define OTF2_EVT_READER_CALLBACKS_H
34 
35 
44 #include <stdint.h>
45 
46 
47 #include <otf2/OTF2_ErrorCodes.h>
48 
49 
52 #include <otf2/OTF2_Events.h>
53 
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif /* __cplusplus */
58 
59 
62 typedef struct OTF2_EvtReaderCallbacks_struct OTF2_EvtReaderCallbacks;
63 
64 
71 
72 
78 void
80 
81 
87 void
89 
90 
104 typedef OTF2_CallbackCode
106  OTF2_TimeStamp time,
107  uint64_t eventPosition,
108  void* userData,
109  OTF2_AttributeList* attributeList );
110 
111 
126  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
127  OTF2_EvtReaderCallback_Unknown unknownCallback );
128 
129 
149 typedef OTF2_CallbackCode
151  OTF2_TimeStamp time,
152  uint64_t eventPosition,
153  void* userData,
154  OTF2_AttributeList* attributeList,
155  OTF2_TimeStamp stopTime );
156 
157 
174  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
175  OTF2_EvtReaderCallback_BufferFlush bufferFlushCallback );
176 
177 
199 typedef OTF2_CallbackCode
201  OTF2_TimeStamp time,
202  uint64_t eventPosition,
203  void* userData,
204  OTF2_AttributeList* attributeList,
205  OTF2_MeasurementMode measurementMode );
206 
207 
224  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
225  OTF2_EvtReaderCallback_MeasurementOnOff measurementOnOffCallback );
226 
227 
249 typedef OTF2_CallbackCode
251  OTF2_TimeStamp time,
252  uint64_t eventPosition,
253  void* userData,
254  OTF2_AttributeList* attributeList,
255  OTF2_RegionRef region );
256 
257 
274  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
275  OTF2_EvtReaderCallback_Enter enterCallback );
276 
277 
299 typedef OTF2_CallbackCode
301  OTF2_TimeStamp time,
302  uint64_t eventPosition,
303  void* userData,
304  OTF2_AttributeList* attributeList,
305  OTF2_RegionRef region );
306 
307 
324  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
325  OTF2_EvtReaderCallback_Leave leaveCallback );
326 
327 
356 typedef OTF2_CallbackCode
358  OTF2_TimeStamp time,
359  uint64_t eventPosition,
360  void* userData,
361  OTF2_AttributeList* attributeList,
362  uint32_t receiver,
363  OTF2_CommRef communicator,
364  uint32_t msgTag,
365  uint64_t msgLength );
366 
367 
384  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
385  OTF2_EvtReaderCallback_MpiSend mpiSendCallback );
386 
387 
417 typedef OTF2_CallbackCode
419  OTF2_TimeStamp time,
420  uint64_t eventPosition,
421  void* userData,
422  OTF2_AttributeList* attributeList,
423  uint32_t receiver,
424  OTF2_CommRef communicator,
425  uint32_t msgTag,
426  uint64_t msgLength,
427  uint64_t requestID );
428 
429 
446  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
447  OTF2_EvtReaderCallback_MpiIsend mpiIsendCallback );
448 
449 
473 typedef OTF2_CallbackCode
475  OTF2_TimeStamp time,
476  uint64_t eventPosition,
477  void* userData,
478  OTF2_AttributeList* attributeList,
479  uint64_t requestID );
480 
481 
498  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
499  OTF2_EvtReaderCallback_MpiIsendComplete mpiIsendCompleteCallback );
500 
501 
521 typedef OTF2_CallbackCode
523  OTF2_TimeStamp time,
524  uint64_t eventPosition,
525  void* userData,
526  OTF2_AttributeList* attributeList,
527  uint64_t requestID );
528 
529 
546  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
547  OTF2_EvtReaderCallback_MpiIrecvRequest mpiIrecvRequestCallback );
548 
549 
578 typedef OTF2_CallbackCode
580  OTF2_TimeStamp time,
581  uint64_t eventPosition,
582  void* userData,
583  OTF2_AttributeList* attributeList,
584  uint32_t sender,
585  OTF2_CommRef communicator,
586  uint32_t msgTag,
587  uint64_t msgLength );
588 
589 
606  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
607  OTF2_EvtReaderCallback_MpiRecv mpiRecvCallback );
608 
609 
639 typedef OTF2_CallbackCode
641  OTF2_TimeStamp time,
642  uint64_t eventPosition,
643  void* userData,
644  OTF2_AttributeList* attributeList,
645  uint32_t sender,
646  OTF2_CommRef communicator,
647  uint32_t msgTag,
648  uint64_t msgLength,
649  uint64_t requestID );
650 
651 
668  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
669  OTF2_EvtReaderCallback_MpiIrecv mpiIrecvCallback );
670 
671 
691 typedef OTF2_CallbackCode
693  OTF2_TimeStamp time,
694  uint64_t eventPosition,
695  void* userData,
696  OTF2_AttributeList* attributeList,
697  uint64_t requestID );
698 
699 
716  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
717  OTF2_EvtReaderCallback_MpiRequestTest mpiRequestTestCallback );
718 
719 
738 typedef OTF2_CallbackCode
740  OTF2_TimeStamp time,
741  uint64_t eventPosition,
742  void* userData,
743  OTF2_AttributeList* attributeList,
744  uint64_t requestID );
745 
746 
764  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
765  OTF2_EvtReaderCallback_MpiRequestCancelled mpiRequestCancelledCallback );
766 
767 
786 typedef OTF2_CallbackCode
788  OTF2_TimeStamp time,
789  uint64_t eventPosition,
790  void* userData,
791  OTF2_AttributeList* attributeList );
792 
793 
810  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
811  OTF2_EvtReaderCallback_MpiCollectiveBegin mpiCollectiveBeginCallback );
812 
813 
844 typedef OTF2_CallbackCode
846  OTF2_TimeStamp time,
847  uint64_t eventPosition,
848  void* userData,
849  OTF2_AttributeList* attributeList,
850  OTF2_CollectiveOp collectiveOp,
851  OTF2_CommRef communicator,
852  uint32_t root,
853  uint64_t sizeSent,
854  uint64_t sizeReceived );
855 
856 
873  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
874  OTF2_EvtReaderCallback_MpiCollectiveEnd mpiCollectiveEndCallback );
875 
876 
899 typedef OTF2_CallbackCode
901  OTF2_TimeStamp time,
902  uint64_t eventPosition,
903  void* userData,
904  OTF2_AttributeList* attributeList,
905  uint32_t numberOfRequestedThreads );
906 
907 
924  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
925  OTF2_EvtReaderCallback_OmpFork ompForkCallback );
926 
927 
950 typedef OTF2_CallbackCode
952  OTF2_TimeStamp time,
953  uint64_t eventPosition,
954  void* userData,
955  OTF2_AttributeList* attributeList );
956 
957 
974  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
975  OTF2_EvtReaderCallback_OmpJoin ompJoinCallback );
976 
977 
1006 typedef OTF2_CallbackCode
1008  OTF2_TimeStamp time,
1009  uint64_t eventPosition,
1010  void* userData,
1011  OTF2_AttributeList* attributeList,
1012  uint32_t lockID,
1013  uint32_t acquisitionOrder );
1014 
1015 
1032  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1033  OTF2_EvtReaderCallback_OmpAcquireLock ompAcquireLockCallback );
1034 
1035 
1064 typedef OTF2_CallbackCode
1066  OTF2_TimeStamp time,
1067  uint64_t eventPosition,
1068  void* userData,
1069  OTF2_AttributeList* attributeList,
1070  uint32_t lockID,
1071  uint32_t acquisitionOrder );
1072 
1073 
1090  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1091  OTF2_EvtReaderCallback_OmpReleaseLock ompReleaseLockCallback );
1092 
1093 
1117 typedef OTF2_CallbackCode
1119  OTF2_TimeStamp time,
1120  uint64_t eventPosition,
1121  void* userData,
1122  OTF2_AttributeList* attributeList,
1123  uint64_t taskID );
1124 
1125 
1142  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1143  OTF2_EvtReaderCallback_OmpTaskCreate ompTaskCreateCallback );
1144 
1145 
1171 typedef OTF2_CallbackCode
1173  OTF2_TimeStamp time,
1174  uint64_t eventPosition,
1175  void* userData,
1176  OTF2_AttributeList* attributeList,
1177  uint64_t taskID );
1178 
1179 
1196  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1197  OTF2_EvtReaderCallback_OmpTaskSwitch ompTaskSwitchCallback );
1198 
1199 
1223 typedef OTF2_CallbackCode
1225  OTF2_TimeStamp time,
1226  uint64_t eventPosition,
1227  void* userData,
1228  OTF2_AttributeList* attributeList,
1229  uint64_t taskID );
1230 
1231 
1248  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1249  OTF2_EvtReaderCallback_OmpTaskComplete ompTaskCompleteCallback );
1250 
1251 
1282 typedef OTF2_CallbackCode
1284  OTF2_TimeStamp time,
1285  uint64_t eventPosition,
1286  void* userData,
1287  OTF2_AttributeList* attributeList,
1288  OTF2_MetricRef metric,
1289  uint8_t numberOfMetrics,
1290  const OTF2_Type* typeIDs,
1291  const OTF2_MetricValue* metricValues );
1292 
1293 
1310  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1311  OTF2_EvtReaderCallback_Metric metricCallback );
1312 
1313 
1340 typedef OTF2_CallbackCode
1342  OTF2_TimeStamp time,
1343  uint64_t eventPosition,
1344  void* userData,
1345  OTF2_AttributeList* attributeList,
1346  OTF2_ParameterRef parameter,
1347  OTF2_StringRef string );
1348 
1349 
1366  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1367  OTF2_EvtReaderCallback_ParameterString parameterStringCallback );
1368 
1369 
1393 typedef OTF2_CallbackCode
1395  OTF2_TimeStamp time,
1396  uint64_t eventPosition,
1397  void* userData,
1398  OTF2_AttributeList* attributeList,
1399  OTF2_ParameterRef parameter,
1400  int64_t value );
1401 
1402 
1419  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1420  OTF2_EvtReaderCallback_ParameterInt parameterIntCallback );
1421 
1422 
1446 typedef OTF2_CallbackCode
1448  OTF2_TimeStamp time,
1449  uint64_t eventPosition,
1450  void* userData,
1451  OTF2_AttributeList* attributeList,
1452  OTF2_ParameterRef parameter,
1453  uint64_t value );
1454 
1455 
1473  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1474  OTF2_EvtReaderCallback_ParameterUnsignedInt parameterUnsignedIntCallback );
1475 
1476 
1505 typedef OTF2_CallbackCode
1507  OTF2_TimeStamp time,
1508  uint64_t eventPosition,
1509  void* userData,
1510  OTF2_AttributeList* attributeList,
1511  OTF2_RmaWinRef win );
1512 
1513 
1530  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1531  OTF2_EvtReaderCallback_RmaWinCreate rmaWinCreateCallback );
1532 
1533 
1564 typedef OTF2_CallbackCode
1566  OTF2_TimeStamp time,
1567  uint64_t eventPosition,
1568  void* userData,
1569  OTF2_AttributeList* attributeList,
1570  OTF2_RmaWinRef win );
1571 
1572 
1589  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1590  OTF2_EvtReaderCallback_RmaWinDestroy rmaWinDestroyCallback );
1591 
1592 
1611 typedef OTF2_CallbackCode
1613  OTF2_TimeStamp time,
1614  uint64_t eventPosition,
1615  void* userData,
1616  OTF2_AttributeList* attributeList );
1617 
1618 
1635  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1636  OTF2_EvtReaderCallback_RmaCollectiveBegin rmaCollectiveBeginCallback );
1637 
1638 
1667 typedef OTF2_CallbackCode
1669  OTF2_TimeStamp time,
1670  uint64_t eventPosition,
1671  void* userData,
1672  OTF2_AttributeList* attributeList,
1673  OTF2_CollectiveOp collectiveOp,
1674  OTF2_RmaSyncLevel syncLevel,
1675  OTF2_RmaWinRef win,
1676  uint32_t root,
1677  uint64_t bytesSent,
1678  uint64_t bytesReceived );
1679 
1680 
1697  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1698  OTF2_EvtReaderCallback_RmaCollectiveEnd rmaCollectiveEndCallback );
1699 
1700 
1728 typedef OTF2_CallbackCode
1730  OTF2_TimeStamp time,
1731  uint64_t eventPosition,
1732  void* userData,
1733  OTF2_AttributeList* attributeList,
1734  OTF2_RmaSyncLevel syncLevel,
1735  OTF2_RmaWinRef win,
1736  OTF2_GroupRef group );
1737 
1738 
1755  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1756  OTF2_EvtReaderCallback_RmaGroupSync rmaGroupSyncCallback );
1757 
1758 
1789 typedef OTF2_CallbackCode
1791  OTF2_TimeStamp time,
1792  uint64_t eventPosition,
1793  void* userData,
1794  OTF2_AttributeList* attributeList,
1795  OTF2_RmaWinRef win,
1796  uint32_t remote,
1797  uint64_t lockId,
1798  OTF2_LockType lockType );
1799 
1800 
1817  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1818  OTF2_EvtReaderCallback_RmaRequestLock rmaRequestLockCallback );
1819 
1820 
1849 typedef OTF2_CallbackCode
1851  OTF2_TimeStamp time,
1852  uint64_t eventPosition,
1853  void* userData,
1854  OTF2_AttributeList* attributeList,
1855  OTF2_RmaWinRef win,
1856  uint32_t remote,
1857  uint64_t lockId,
1858  OTF2_LockType lockType );
1859 
1860 
1877  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1878  OTF2_EvtReaderCallback_RmaAcquireLock rmaAcquireLockCallback );
1879 
1880 
1909 typedef OTF2_CallbackCode
1911  OTF2_TimeStamp time,
1912  uint64_t eventPosition,
1913  void* userData,
1914  OTF2_AttributeList* attributeList,
1915  OTF2_RmaWinRef win,
1916  uint32_t remote,
1917  uint64_t lockId,
1918  OTF2_LockType lockType );
1919 
1920 
1937  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1938  OTF2_EvtReaderCallback_RmaTryLock rmaTryLockCallback );
1939 
1940 
1967 typedef OTF2_CallbackCode
1969  OTF2_TimeStamp time,
1970  uint64_t eventPosition,
1971  void* userData,
1972  OTF2_AttributeList* attributeList,
1973  OTF2_RmaWinRef win,
1974  uint32_t remote,
1975  uint64_t lockId );
1976 
1977 
1994  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
1995  OTF2_EvtReaderCallback_RmaReleaseLock rmaReleaseLockCallback );
1996 
1997 
2022 typedef OTF2_CallbackCode
2024  OTF2_TimeStamp time,
2025  uint64_t eventPosition,
2026  void* userData,
2027  OTF2_AttributeList* attributeList,
2028  OTF2_RmaWinRef win,
2029  uint32_t remote,
2030  OTF2_RmaSyncType syncType );
2031 
2032 
2049  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2050  OTF2_EvtReaderCallback_RmaSync rmaSyncCallback );
2051 
2052 
2075 typedef OTF2_CallbackCode
2077  OTF2_TimeStamp time,
2078  uint64_t eventPosition,
2079  void* userData,
2080  OTF2_AttributeList* attributeList,
2081  OTF2_RmaWinRef win );
2082 
2083 
2100  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2101  OTF2_EvtReaderCallback_RmaWaitChange rmaWaitChangeCallback );
2102 
2103 
2129 typedef OTF2_CallbackCode
2131  OTF2_TimeStamp time,
2132  uint64_t eventPosition,
2133  void* userData,
2134  OTF2_AttributeList* attributeList,
2135  OTF2_RmaWinRef win,
2136  uint32_t remote,
2137  uint64_t bytes,
2138  uint64_t matchingId );
2139 
2140 
2157  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2158  OTF2_EvtReaderCallback_RmaPut rmaPutCallback );
2159 
2160 
2186 typedef OTF2_CallbackCode
2188  OTF2_TimeStamp time,
2189  uint64_t eventPosition,
2190  void* userData,
2191  OTF2_AttributeList* attributeList,
2192  OTF2_RmaWinRef win,
2193  uint32_t remote,
2194  uint64_t bytes,
2195  uint64_t matchingId );
2196 
2197 
2214  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2215  OTF2_EvtReaderCallback_RmaGet rmaGetCallback );
2216 
2217 
2246 typedef OTF2_CallbackCode
2248  OTF2_TimeStamp time,
2249  uint64_t eventPosition,
2250  void* userData,
2251  OTF2_AttributeList* attributeList,
2252  OTF2_RmaWinRef win,
2253  uint32_t remote,
2254  OTF2_RmaAtomicType type,
2255  uint64_t bytesSent,
2256  uint64_t bytesReceived,
2257  uint64_t matchingId );
2258 
2259 
2276  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2277  OTF2_EvtReaderCallback_RmaAtomic rmaAtomicCallback );
2278 
2279 
2304 typedef OTF2_CallbackCode
2306  OTF2_TimeStamp time,
2307  uint64_t eventPosition,
2308  void* userData,
2309  OTF2_AttributeList* attributeList,
2310  OTF2_RmaWinRef win,
2311  uint64_t matchingId );
2312 
2313 
2331  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2332  OTF2_EvtReaderCallback_RmaOpCompleteBlocking rmaOpCompleteBlockingCallback );
2333 
2334 
2359 typedef OTF2_CallbackCode
2361  OTF2_TimeStamp time,
2362  uint64_t eventPosition,
2363  void* userData,
2364  OTF2_AttributeList* attributeList,
2365  OTF2_RmaWinRef win,
2366  uint64_t matchingId );
2367 
2368 
2387  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2388  OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking rmaOpCompleteNonBlockingCallback );
2389 
2390 
2415 typedef OTF2_CallbackCode
2417  OTF2_TimeStamp time,
2418  uint64_t eventPosition,
2419  void* userData,
2420  OTF2_AttributeList* attributeList,
2421  OTF2_RmaWinRef win,
2422  uint64_t matchingId );
2423 
2424 
2441  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2442  OTF2_EvtReaderCallback_RmaOpTest rmaOpTestCallback );
2443 
2444 
2469 typedef OTF2_CallbackCode
2471  OTF2_TimeStamp time,
2472  uint64_t eventPosition,
2473  void* userData,
2474  OTF2_AttributeList* attributeList,
2475  OTF2_RmaWinRef win,
2476  uint64_t matchingId );
2477 
2478 
2496  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2497  OTF2_EvtReaderCallback_RmaOpCompleteRemote rmaOpCompleteRemoteCallback );
2498 
2499 
2519 typedef OTF2_CallbackCode
2521  OTF2_TimeStamp time,
2522  uint64_t eventPosition,
2523  void* userData,
2524  OTF2_AttributeList* attributeList,
2525  OTF2_Paradigm model,
2526  uint32_t numberOfRequestedThreads );
2527 
2528 
2545  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2546  OTF2_EvtReaderCallback_ThreadFork threadForkCallback );
2547 
2548 
2568 typedef OTF2_CallbackCode
2570  OTF2_TimeStamp time,
2571  uint64_t eventPosition,
2572  void* userData,
2573  OTF2_AttributeList* attributeList,
2574  OTF2_Paradigm model );
2575 
2576 
2593  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2594  OTF2_EvtReaderCallback_ThreadJoin threadJoinCallback );
2595 
2596 
2618 typedef OTF2_CallbackCode
2620  OTF2_TimeStamp time,
2621  uint64_t eventPosition,
2622  void* userData,
2623  OTF2_AttributeList* attributeList,
2624  OTF2_CommRef threadTeam );
2625 
2626 
2643  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2644  OTF2_EvtReaderCallback_ThreadTeamBegin threadTeamBeginCallback );
2645 
2646 
2668 typedef OTF2_CallbackCode
2670  OTF2_TimeStamp time,
2671  uint64_t eventPosition,
2672  void* userData,
2673  OTF2_AttributeList* attributeList,
2674  OTF2_CommRef threadTeam );
2675 
2676 
2693  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2694  OTF2_EvtReaderCallback_ThreadTeamEnd threadTeamEndCallback );
2695 
2696 
2721 typedef OTF2_CallbackCode
2723  OTF2_TimeStamp time,
2724  uint64_t eventPosition,
2725  void* userData,
2726  OTF2_AttributeList* attributeList,
2727  OTF2_Paradigm model,
2728  uint32_t lockID,
2729  uint32_t acquisitionOrder );
2730 
2731 
2748  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2749  OTF2_EvtReaderCallback_ThreadAcquireLock threadAcquireLockCallback );
2750 
2751 
2776 typedef OTF2_CallbackCode
2778  OTF2_TimeStamp time,
2779  uint64_t eventPosition,
2780  void* userData,
2781  OTF2_AttributeList* attributeList,
2782  OTF2_Paradigm model,
2783  uint32_t lockID,
2784  uint32_t acquisitionOrder );
2785 
2786 
2803  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2804  OTF2_EvtReaderCallback_ThreadReleaseLock threadReleaseLockCallback );
2805 
2806 
2833 typedef OTF2_CallbackCode
2835  OTF2_TimeStamp time,
2836  uint64_t eventPosition,
2837  void* userData,
2838  OTF2_AttributeList* attributeList,
2839  OTF2_CommRef threadTeam,
2840  uint32_t creatingThread,
2841  uint32_t generationNumber );
2842 
2843 
2860  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2861  OTF2_EvtReaderCallback_ThreadTaskCreate threadTaskCreateCallback );
2862 
2863 
2892 typedef OTF2_CallbackCode
2894  OTF2_TimeStamp time,
2895  uint64_t eventPosition,
2896  void* userData,
2897  OTF2_AttributeList* attributeList,
2898  OTF2_CommRef threadTeam,
2899  uint32_t creatingThread,
2900  uint32_t generationNumber );
2901 
2902 
2919  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2920  OTF2_EvtReaderCallback_ThreadTaskSwitch threadTaskSwitchCallback );
2921 
2922 
2949 typedef OTF2_CallbackCode
2951  OTF2_TimeStamp time,
2952  uint64_t eventPosition,
2953  void* userData,
2954  OTF2_AttributeList* attributeList,
2955  OTF2_CommRef threadTeam,
2956  uint32_t creatingThread,
2957  uint32_t generationNumber );
2958 
2959 
2976  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2977  OTF2_EvtReaderCallback_ThreadTaskComplete threadTaskCompleteCallback );
2978 
2979 
3004 typedef OTF2_CallbackCode
3006  OTF2_TimeStamp time,
3007  uint64_t eventPosition,
3008  void* userData,
3009  OTF2_AttributeList* attributeList,
3010  OTF2_CommRef threadContingent,
3011  uint64_t sequenceCount );
3012 
3013 
3030  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3031  OTF2_EvtReaderCallback_ThreadCreate threadCreateCallback );
3032 
3033 
3058 typedef OTF2_CallbackCode
3060  OTF2_TimeStamp time,
3061  uint64_t eventPosition,
3062  void* userData,
3063  OTF2_AttributeList* attributeList,
3064  OTF2_CommRef threadContingent,
3065  uint64_t sequenceCount );
3066 
3067 
3084  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3085  OTF2_EvtReaderCallback_ThreadBegin threadBeginCallback );
3086 
3087 
3112 typedef OTF2_CallbackCode
3114  OTF2_TimeStamp time,
3115  uint64_t eventPosition,
3116  void* userData,
3117  OTF2_AttributeList* attributeList,
3118  OTF2_CommRef threadContingent,
3119  uint64_t sequenceCount );
3120 
3121 
3138  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3139  OTF2_EvtReaderCallback_ThreadWait threadWaitCallback );
3140 
3141 
3168 typedef OTF2_CallbackCode
3170  OTF2_TimeStamp time,
3171  uint64_t eventPosition,
3172  void* userData,
3173  OTF2_AttributeList* attributeList,
3174  OTF2_CommRef threadContingent,
3175  uint64_t sequenceCount );
3176 
3177 
3194  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3195  OTF2_EvtReaderCallback_ThreadEnd threadEndCallback );
3196 
3197 
3235 typedef OTF2_CallbackCode
3237  OTF2_TimeStamp time,
3238  uint64_t eventPosition,
3239  void* userData,
3240  OTF2_AttributeList* attributeList,
3241  OTF2_CallingContextRef callingContext,
3242  uint32_t unwindDistance );
3243 
3244 
3262  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3263  OTF2_EvtReaderCallback_CallingContextEnter callingContextEnterCallback );
3264 
3265 
3308 typedef OTF2_CallbackCode
3310  OTF2_TimeStamp time,
3311  uint64_t eventPosition,
3312  void* userData,
3313  OTF2_AttributeList* attributeList,
3314  OTF2_CallingContextRef callingContext );
3315 
3316 
3334  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3335  OTF2_EvtReaderCallback_CallingContextLeave callingContextLeaveCallback );
3336 
3337 
3374 typedef OTF2_CallbackCode
3376  OTF2_TimeStamp time,
3377  uint64_t eventPosition,
3378  void* userData,
3379  OTF2_AttributeList* attributeList,
3380  OTF2_CallingContextRef callingContext,
3381  uint32_t unwindDistance,
3382  OTF2_InterruptGeneratorRef interruptGenerator );
3383 
3384 
3402  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3403  OTF2_EvtReaderCallback_CallingContextSample callingContextSampleCallback );
3404 
3405 
3446 typedef OTF2_CallbackCode
3448  OTF2_TimeStamp time,
3449  uint64_t eventPosition,
3450  void* userData,
3451  OTF2_AttributeList* attributeList,
3452  OTF2_IoHandleRef handle,
3453  OTF2_IoAccessMode mode,
3454  OTF2_IoCreationFlag creationFlags,
3455  OTF2_IoStatusFlag statusFlags );
3456 
3457 
3474  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3475  OTF2_EvtReaderCallback_IoCreateHandle ioCreateHandleCallback );
3476 
3477 
3510 typedef OTF2_CallbackCode
3512  OTF2_TimeStamp time,
3513  uint64_t eventPosition,
3514  void* userData,
3515  OTF2_AttributeList* attributeList,
3516  OTF2_IoHandleRef handle );
3517 
3518 
3535  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3536  OTF2_EvtReaderCallback_IoDestroyHandle ioDestroyHandleCallback );
3537 
3538 
3576 typedef OTF2_CallbackCode
3578  OTF2_TimeStamp time,
3579  uint64_t eventPosition,
3580  void* userData,
3581  OTF2_AttributeList* attributeList,
3582  OTF2_IoHandleRef oldHandle,
3583  OTF2_IoHandleRef newHandle,
3584  OTF2_IoStatusFlag statusFlags );
3585 
3586 
3603  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3604  OTF2_EvtReaderCallback_IoDuplicateHandle ioDuplicateHandleCallback );
3605 
3606 
3635 typedef OTF2_CallbackCode
3637  OTF2_TimeStamp time,
3638  uint64_t eventPosition,
3639  void* userData,
3640  OTF2_AttributeList* attributeList,
3641  OTF2_IoHandleRef handle,
3642  int64_t offsetRequest,
3643  OTF2_IoSeekOption whence,
3644  uint64_t offsetResult );
3645 
3646 
3663  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3664  OTF2_EvtReaderCallback_IoSeek ioSeekCallback );
3665 
3666 
3690 typedef OTF2_CallbackCode
3692  OTF2_TimeStamp time,
3693  uint64_t eventPosition,
3694  void* userData,
3695  OTF2_AttributeList* attributeList,
3696  OTF2_IoHandleRef handle,
3697  OTF2_IoStatusFlag statusFlags );
3698 
3699 
3717  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3718  OTF2_EvtReaderCallback_IoChangeStatusFlags ioChangeStatusFlagsCallback );
3719 
3720 
3744 typedef OTF2_CallbackCode
3746  OTF2_TimeStamp time,
3747  uint64_t eventPosition,
3748  void* userData,
3749  OTF2_AttributeList* attributeList,
3750  OTF2_IoParadigmRef ioParadigm,
3751  OTF2_IoFileRef file );
3752 
3753 
3770  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3771  OTF2_EvtReaderCallback_IoDeleteFile ioDeleteFileCallback );
3772 
3773 
3804 typedef OTF2_CallbackCode
3806  OTF2_TimeStamp time,
3807  uint64_t eventPosition,
3808  void* userData,
3809  OTF2_AttributeList* attributeList,
3810  OTF2_IoHandleRef handle,
3811  OTF2_IoOperationMode mode,
3812  OTF2_IoOperationFlag operationFlags,
3813  uint64_t bytesRequest,
3814  uint64_t matchingId );
3815 
3816 
3833  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3834  OTF2_EvtReaderCallback_IoOperationBegin ioOperationBeginCallback );
3835 
3836 
3864 typedef OTF2_CallbackCode
3866  OTF2_TimeStamp time,
3867  uint64_t eventPosition,
3868  void* userData,
3869  OTF2_AttributeList* attributeList,
3870  OTF2_IoHandleRef handle,
3871  uint64_t matchingId );
3872 
3873 
3890  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3891  OTF2_EvtReaderCallback_IoOperationTest ioOperationTestCallback );
3892 
3893 
3922 typedef OTF2_CallbackCode
3924  OTF2_TimeStamp time,
3925  uint64_t eventPosition,
3926  void* userData,
3927  OTF2_AttributeList* attributeList,
3928  OTF2_IoHandleRef handle,
3929  uint64_t matchingId );
3930 
3931 
3948  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3949  OTF2_EvtReaderCallback_IoOperationIssued ioOperationIssuedCallback );
3950 
3951 
3980 typedef OTF2_CallbackCode
3982  OTF2_TimeStamp time,
3983  uint64_t eventPosition,
3984  void* userData,
3985  OTF2_AttributeList* attributeList,
3986  OTF2_IoHandleRef handle,
3987  uint64_t bytesResult,
3988  uint64_t matchingId );
3989 
3990 
4008  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4009  OTF2_EvtReaderCallback_IoOperationComplete ioOperationCompleteCallback );
4010 
4011 
4040 typedef OTF2_CallbackCode
4042  OTF2_TimeStamp time,
4043  uint64_t eventPosition,
4044  void* userData,
4045  OTF2_AttributeList* attributeList,
4046  OTF2_IoHandleRef handle,
4047  uint64_t matchingId );
4048 
4049 
4067  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4068  OTF2_EvtReaderCallback_IoOperationCancelled ioOperationCancelledCallback );
4069 
4070 
4093 typedef OTF2_CallbackCode
4095  OTF2_TimeStamp time,
4096  uint64_t eventPosition,
4097  void* userData,
4098  OTF2_AttributeList* attributeList,
4099  OTF2_IoHandleRef handle,
4100  OTF2_LockType lockType );
4101 
4102 
4119  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4120  OTF2_EvtReaderCallback_IoAcquireLock ioAcquireLockCallback );
4121 
4122 
4145 typedef OTF2_CallbackCode
4147  OTF2_TimeStamp time,
4148  uint64_t eventPosition,
4149  void* userData,
4150  OTF2_AttributeList* attributeList,
4151  OTF2_IoHandleRef handle,
4152  OTF2_LockType lockType );
4153 
4154 
4171  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4172  OTF2_EvtReaderCallback_IoReleaseLock ioReleaseLockCallback );
4173 
4174 
4198 typedef OTF2_CallbackCode
4200  OTF2_TimeStamp time,
4201  uint64_t eventPosition,
4202  void* userData,
4203  OTF2_AttributeList* attributeList,
4204  OTF2_IoHandleRef handle,
4205  OTF2_LockType lockType );
4206 
4207 
4224  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4225  OTF2_EvtReaderCallback_IoTryLock ioTryLockCallback );
4226 
4227 
4262 typedef OTF2_CallbackCode
4264  OTF2_TimeStamp time,
4265  uint64_t eventPosition,
4266  void* userData,
4267  OTF2_AttributeList* attributeList,
4268  OTF2_StringRef programName,
4269  uint32_t numberOfArguments,
4270  const OTF2_StringRef* programArguments );
4271 
4272 
4289  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4290  OTF2_EvtReaderCallback_ProgramBegin programBeginCallback );
4291 
4292 
4326 typedef OTF2_CallbackCode
4328  OTF2_TimeStamp time,
4329  uint64_t eventPosition,
4330  void* userData,
4331  OTF2_AttributeList* attributeList,
4332  int64_t exitStatus );
4333 
4334 
4351  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4352  OTF2_EvtReaderCallback_ProgramEnd programEndCallback );
4353 
4354 
4374 typedef OTF2_CallbackCode
4376  OTF2_TimeStamp time,
4377  uint64_t eventPosition,
4378  void* userData,
4379  OTF2_AttributeList* attributeList,
4380  uint64_t requestID );
4381 
4382 
4401  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4402  OTF2_EvtReaderCallback_NonBlockingCollectiveRequest nonBlockingCollectiveRequestCallback );
4403 
4404 
4433 typedef OTF2_CallbackCode
4435  OTF2_TimeStamp time,
4436  uint64_t eventPosition,
4437  void* userData,
4438  OTF2_AttributeList* attributeList,
4439  OTF2_CollectiveOp collectiveOp,
4440  OTF2_CommRef communicator,
4441  uint32_t root,
4442  uint64_t sizeSent,
4443  uint64_t sizeReceived,
4444  uint64_t requestID );
4445 
4446 
4465  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4466  OTF2_EvtReaderCallback_NonBlockingCollectiveComplete nonBlockingCollectiveCompleteCallback );
4467 
4468 
4496 typedef OTF2_CallbackCode
4498  OTF2_TimeStamp time,
4499  uint64_t eventPosition,
4500  void* userData,
4501  OTF2_AttributeList* attributeList,
4502  OTF2_CommRef communicator );
4503 
4504 
4521  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4522  OTF2_EvtReaderCallback_CommCreate commCreateCallback );
4523 
4524 
4553 typedef OTF2_CallbackCode
4555  OTF2_TimeStamp time,
4556  uint64_t eventPosition,
4557  void* userData,
4558  OTF2_AttributeList* attributeList,
4559  OTF2_CommRef communicator );
4560 
4561 
4578  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4579  OTF2_EvtReaderCallback_CommDestroy commDestroyCallback );
4580 
4581 
4610 typedef OTF2_CallbackCode
4612  OTF2_TimeStamp time,
4613  uint64_t eventPosition,
4614  void* userData,
4615  OTF2_AttributeList* attributeList,
4616  uint32_t sender,
4617  OTF2_CommRef communicator,
4618  uint32_t tag,
4619  uint64_t messageId );
4620 
4621 
4638  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4639  OTF2_EvtReaderCallback_MpiProbe mpiProbeCallback );
4640 
4641 
4661 typedef OTF2_CallbackCode
4663  OTF2_TimeStamp time,
4664  uint64_t eventPosition,
4665  void* userData,
4666  OTF2_AttributeList* attributeList,
4667  uint64_t messageId,
4668  uint64_t msgLength );
4669 
4670 
4687  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4688  OTF2_EvtReaderCallback_MpiMrecv mpiMrecvCallback );
4689 
4690 
4711 typedef OTF2_CallbackCode
4713  OTF2_TimeStamp time,
4714  uint64_t eventPosition,
4715  void* userData,
4716  OTF2_AttributeList* attributeList,
4717  uint64_t messageId,
4718  uint64_t requestId );
4719 
4720 
4737  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4738  OTF2_EvtReaderCallback_MpiImrecvRequest mpiImrecvRequestCallback );
4739 
4740 
4760 typedef OTF2_CallbackCode
4762  OTF2_TimeStamp time,
4763  uint64_t eventPosition,
4764  void* userData,
4765  OTF2_AttributeList* attributeList,
4766  uint64_t requestId,
4767  uint64_t msgLength );
4768 
4769 
4786  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4787  OTF2_EvtReaderCallback_MpiImrecv mpiImrecvCallback );
4788 
4789 
4790 #ifdef __cplusplus
4791 }
4792 #endif /* __cplusplus */
4793 
4794 
4795 #endif /* !OTF2_EVT_READER_CALLBACKS_H */
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetLeaveCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Leave leaveCallback)
Registers the callback for the Leave event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiImrecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestId, uint64_t msgLength)
Callback for the MpiImrecv event record.
Definition: OTF2_EvtReaderCallbacks.h:4761
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ProgramBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_StringRef programName, uint32_t numberOfArguments, const OTF2_StringRef *programArguments)
Callback for the ProgramBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:4263
uint8_t OTF2_RmaSyncType
Wrapper for enum OTF2_RmaSyncType_enum.
Definition: OTF2_Events.h:190
uint8_t OTF2_IoSeekOption
Wrapper for enum OTF2_IoSeekOption_enum.
Definition: OTF2_Events.h:414
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextEnterCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextEnter callingContextEnterCallback)
Registers the callback for the CallingContextEnter event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiSendCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiSend mpiSendCallback)
Registers the callback for the MpiSend event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the ThreadReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:2777
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaRequestLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaRequestLock rmaRequestLockCallback)
Registers the callback for the RmaRequestLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetEnterCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Enter enterCallback)
Registers the callback for the Enter event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoCreateHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoCreateHandle ioCreateHandleCallback)
Registers the callback for the IoCreateHandle event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetNonBlockingCollectiveRequestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_NonBlockingCollectiveRequest nonBlockingCollectiveRequestCallback)
Registers the callback for the NonBlockingCollectiveRequest event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaSync)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType)
Callback for the RmaSync event record.
Definition: OTF2_EvtReaderCallbacks.h:2023
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:142
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCommDestroyCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CommDestroy commDestroyCallback)
Registers the callback for the CommDestroy event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTeamEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
Callback for the ThreadTeamEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:2669
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteRemoteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteRemote rmaOpCompleteRemoteCallback)
Registers the callback for the RmaOpCompleteRemote event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaCollectiveBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the RmaCollectiveBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:1612
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoSeekCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoSeek ioSeekCallback)
Registers the callback for the IoSeek event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_BufferFlush)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_TimeStamp stopTime)
Callback for the BufferFlush event record.
Definition: OTF2_EvtReaderCallbacks.h:150
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaTryLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaTryLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1910
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the OmpAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1007
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterUnsignedIntCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterUnsignedInt parameterUnsignedIntCallback)
Registers the callback for the ParameterUnsignedInt event.
uint8_t OTF2_Type
Wrapper for enum OTF2_Type_enum.
Definition: OTF2_GeneralDefinitions.h:596
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpJoinCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpJoin ompJoinCallback)
Registers the callback for the OmpJoin event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiImrecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiImrecv mpiImrecvCallback)
Registers the callback for the MpiImrecv event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoTryLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoTryLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4199
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaTryLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaTryLock rmaTryLockCallback)
Registers the callback for the RmaTryLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRecv mpiRecvCallback)
Registers the callback for the MpiRecv event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWinCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWinCreate rmaWinCreateCallback)
Registers the callback for the RmaWinCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMetricCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Metric metricCallback)
Registers the callback for the Metric event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIsendCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIsendComplete mpiIsendCompleteCallback)
Registers the callback for the MpiIsendComplete event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CommCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)
Callback for the CommCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:4497
OTF2_CallbackCode(* OTF2_EvtReaderCallback_NonBlockingCollectiveComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived, uint64_t requestID)
Callback for the NonBlockingCollectiveComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:4434
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskSwitchCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskSwitch threadTaskSwitchCallback)
Registers the callback for the ThreadTaskSwitch event.
uint8_t OTF2_Paradigm
Wrapper for enum OTF2_Paradigm_enum.
Definition: OTF2_GeneralDefinitions.h:778
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskComplete ompTaskCompleteCallback)
Registers the callback for the OmpTaskComplete event.
uint32_t OTF2_StringRef
Type used to indicate a reference to a String definition.
Definition: OTF2_GeneralDefinitions.h:118
uint8_t OTF2_IoParadigmRef
Type used to indicate a reference to a IoParadigm definition.
Definition: OTF2_GeneralDefinitions.h:112
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIrecvRequestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIrecvRequest mpiIrecvRequestCallback)
Registers the callback for the MpiIrecvRequest event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MeasurementOnOff)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_MeasurementMode measurementMode)
Callback for the MeasurementOnOff event record.
Definition: OTF2_EvtReaderCallbacks.h:200
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoCreateHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoAccessMode mode, OTF2_IoCreationFlag creationFlags, OTF2_IoStatusFlag statusFlags)
Callback for the IoCreateHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3447
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:1224
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Metric)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_MetricRef metric, uint8_t numberOfMetrics, const OTF2_Type *typeIDs, const OTF2_MetricValue *metricValues)
Callback for the Metric event record.
Definition: OTF2_EvtReaderCallbacks.h:1283
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRequestCancelled)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiRequestCancelled event record.
Definition: OTF2_EvtReaderCallbacks.h:739
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the OmpReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1065
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaGroupSyncCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaGroupSync rmaGroupSyncCallback)
Registers the callback for the RmaGroupSync event.
Enums and types used in event records.
uint8_t OTF2_MeasurementMode
Wrapper for enum OTF2_MeasurementMode_enum.
Definition: OTF2_Events.h:59
Metric value.
Definition: OTF2_Events.h:563
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextSample)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator)
Callback for the CallingContextSample event record.
Definition: OTF2_EvtReaderCallbacks.h:3375
uint32_t OTF2_ParameterRef
Type used to indicate a reference to a Parameter definition.
Definition: OTF2_GeneralDefinitions.h:190
This layer enables dynamic appending of arbitrary attributes to any type of event record...
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:2834
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaReleaseLock rmaReleaseLockCallback)
Registers the callback for the RmaReleaseLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaAcquireLock rmaAcquireLockCallback)
Registers the callback for the RmaAcquireLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpForkCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpFork ompForkCallback)
Registers the callback for the OmpFork event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiImrecvRequestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiImrecvRequest mpiImrecvRequestCallback)
Registers the callback for the MpiImrecvRequest event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMeasurementOnOffCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MeasurementOnOff measurementOnOffCallback)
Registers the callback for the MeasurementOnOff event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskCreate ompTaskCreateCallback)
Registers the callback for the OmpTaskCreate event.
uint8_t OTF2_RmaAtomicType
Wrapper for enum OTF2_RmaAtomicType_enum.
Definition: OTF2_Events.h:262
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:214
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4094
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:1118
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiCollectiveBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the MpiCollectiveBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:787
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiImrecvRequest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t messageId, uint64_t requestId)
Callback for the MpiImrecvRequest event record.
Definition: OTF2_EvtReaderCallbacks.h:4712
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadWait)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadWait event record.
Definition: OTF2_EvtReaderCallbacks.h:3113
OTF2_EvtReaderCallbacks * OTF2_EvtReaderCallbacks_New(void)
Allocates a new struct for the event callbacks.
struct OTF2_AttributeList_struct OTF2_AttributeList
Attribute list handle.
Definition: OTF2_AttributeList.h:104
uint32_t OTF2_IoStatusFlag
Wrapper for enum OTF2_IoStatusFlag_enum.
Definition: OTF2_Definitions.h:1016
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:36
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskCreate threadTaskCreateCallback)
Registers the callback for the ThreadTaskCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadBegin threadBeginCallback)
Registers the callback for the ThreadBegin event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoReleaseLock ioReleaseLockCallback)
Registers the callback for the IoReleaseLock event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiCollectiveEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived)
Callback for the MpiCollectiveEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:845
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpTest rmaOpTestCallback)
Registers the callback for the RmaOpTest event.
uint32_t OTF2_IoOperationFlag
Wrapper for enum OTF2_IoOperationFlag_enum.
Definition: OTF2_Events.h:488
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetProgramEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ProgramEnd programEndCallback)
Registers the callback for the ProgramEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationComplete ioOperationCompleteCallback)
Registers the callback for the IoOperationComplete event.
uint32_t OTF2_InterruptGeneratorRef
Type used to indicate a reference to a InterruptGenerator definition.
Definition: OTF2_GeneralDefinitions.h:226
This header file provides general definitions which should be accessible in all internal and external...
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4146
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCommCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CommCreate commCreateCallback)
Registers the callback for the CommCreate event.
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:241
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWaitChange)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWaitChange event record.
Definition: OTF2_EvtReaderCallbacks.h:2076
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteBlockingCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteBlocking rmaOpCompleteBlockingCallback)
Registers the callback for the RmaOpCompleteBlocking event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaGroupSync)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group)
Callback for the RmaGroupSync event record.
Definition: OTF2_EvtReaderCallbacks.h:1729
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationTest event record.
Definition: OTF2_EvtReaderCallbacks.h:3865
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoChangeStatusFlagsCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoChangeStatusFlags ioChangeStatusFlagsCallback)
Registers the callback for the IoChangeStatusFlags event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteRemote)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteRemote event record.
Definition: OTF2_EvtReaderCallbacks.h:2470
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIrecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIrecv mpiIrecvCallback)
Registers the callback for the MpiIrecv event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoOperationMode mode, OTF2_IoOperationFlag operationFlags, uint64_t bytesRequest, uint64_t matchingId)
Callback for the IoOperationBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:3805
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskSwitch)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskSwitch event record.
Definition: OTF2_EvtReaderCallbacks.h:2893
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiMrecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t messageId, uint64_t msgLength)
Callback for the MpiMrecv event record.
Definition: OTF2_EvtReaderCallbacks.h:4662
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRequestTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiRequestTest event record.
Definition: OTF2_EvtReaderCallbacks.h:692
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpAcquireLock ompAcquireLockCallback)
Registers the callback for the OmpAcquireLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationCancelledCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationCancelled ioOperationCancelledCallback)
Registers the callback for the IoOperationCancelled event.
uint64_t OTF2_TimeStamp
OTF2 time stamp.
Definition: OTF2_GeneralDefinitions.h:106
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadForkCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadFork threadForkCallback)
Registers the callback for the ThreadFork event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRequestTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRequestTest mpiRequestTestCallback)
Registers the callback for the MpiRequestTest event.
uint32_t OTF2_IoHandleRef
Type used to indicate a reference to a IoHandle definition.
Definition: OTF2_GeneralDefinitions.h:238
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:3005
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIsendCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIsend mpiIsendCallback)
Registers the callback for the MpiIsend event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDeleteFileCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDeleteFile ioDeleteFileCallback)
Registers the callback for the IoDeleteFile event.
uint32_t OTF2_MetricRef
Type used to indicate a reference to a MetricClass, or a MetricInstance definition.
Definition: OTF2_GeneralDefinitions.h:178
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRequestCancelledCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRequestCancelled mpiRequestCancelledCallback)
Registers the callback for the MpiRequestCancelled event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:3059
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Leave)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
Callback for the Leave event record.
Definition: OTF2_EvtReaderCallbacks.h:300
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaGetCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaGet rmaGetCallback)
Registers the callback for the RmaGet event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadJoin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model)
Callback for the ThreadJoin event record.
Definition: OTF2_EvtReaderCallbacks.h:2569
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextSampleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextSample callingContextSampleCallback)
Registers the callback for the CallingContextSample event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskSwitchCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskSwitch ompTaskSwitchCallback)
Registers the callback for the OmpTaskSwitch event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoAcquireLock ioAcquireLockCallback)
Registers the callback for the IoAcquireLock event.
OTF2_CallbackCode
Return value to indicate that the record reading should be interrupted.
Definition: OTF2_GeneralDefinitions.h:349
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWinDestroyCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWinDestroy rmaWinDestroyCallback)
Registers the callback for the RmaWinDestroy event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Unknown)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for an unknown event record.
Definition: OTF2_EvtReaderCallbacks.h:105
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteBlocking)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteBlocking event record.
Definition: OTF2_EvtReaderCallbacks.h:2305
void OTF2_EvtReaderCallbacks_Clear(OTF2_EvtReaderCallbacks *evtReaderCallbacks)
Clears a struct for the event callbacks.
uint32_t OTF2_CallingContextRef
Type used to indicate a reference to a CallingContext definition.
Definition: OTF2_GeneralDefinitions.h:220
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDestroyHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDestroyHandle ioDestroyHandleCallback)
Registers the callback for the IoDestroyHandle event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterUnsignedInt)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, uint64_t value)
Callback for the ParameterUnsignedInt event record.
Definition: OTF2_EvtReaderCallbacks.h:1447
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDuplicateHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef oldHandle, OTF2_IoHandleRef newHandle, OTF2_IoStatusFlag statusFlags)
Callback for the IoDuplicateHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3577
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadAcquireLock threadAcquireLockCallback)
Registers the callback for the ThreadAcquireLock event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiProbe)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t tag, uint64_t messageId)
Callback for the MpiProbe event record.
Definition: OTF2_EvtReaderCallbacks.h:4611
uint8_t OTF2_CollectiveOp
Wrapper for enum OTF2_CollectiveOp_enum.
Definition: OTF2_Events.h:79
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpFork)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t numberOfRequestedThreads)
Callback for the OmpFork event record.
Definition: OTF2_EvtReaderCallbacks.h:900
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetUnknownCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Unknown unknownCallback)
Registers the callback for the Unknown event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Callback for the MpiRecv event record.
Definition: OTF2_EvtReaderCallbacks.h:579
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationCancelled)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationCancelled event record.
Definition: OTF2_EvtReaderCallbacks.h:4041
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadCreate threadCreateCallback)
Registers the callback for the ThreadCreate event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_NonBlockingCollectiveRequest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the NonBlockingCollectiveRequest event record.
Definition: OTF2_EvtReaderCallbacks.h:4375
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTeamEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTeamEnd threadTeamEndCallback)
Registers the callback for the ThreadTeamEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDuplicateHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDuplicateHandle ioDuplicateHandleCallback)
Registers the callback for the IoDuplicateHandle event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDeleteFile)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoParadigmRef ioParadigm, OTF2_IoFileRef file)
Callback for the IoDeleteFile event record.
Definition: OTF2_EvtReaderCallbacks.h:3745
uint32_t OTF2_IoFileRef
Type used to indicate a reference to a IoRegularFile, or a IoDirectory definition.
Definition: OTF2_GeneralDefinitions.h:232
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextLeave)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext)
Callback for the CallingContextLeave event record.
Definition: OTF2_EvtReaderCallbacks.h:3309
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaCollectiveEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaCollectiveEnd rmaCollectiveEndCallback)
Registers the callback for the RmaCollectiveEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiProbeCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiProbe mpiProbeCallback)
Registers the callback for the MpiProbe event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaSyncCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaSync rmaSyncCallback)
Registers the callback for the RmaSync event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaPutCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaPut rmaPutCallback)
Registers the callback for the RmaPut event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoTryLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoTryLock ioTryLockCallback)
Registers the callback for the IoTryLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskComplete threadTaskCompleteCallback)
Registers the callback for the ThreadTaskComplete event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIsend)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Callback for the MpiIsend event record.
Definition: OTF2_EvtReaderCallbacks.h:418
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIsendComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiIsendComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:474
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadEnd threadEndCallback)
Registers the callback for the ThreadEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaPut)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Callback for the RmaPut event record.
Definition: OTF2_EvtReaderCallbacks.h:2130
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationIssuedCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationIssued ioOperationIssuedCallback)
Registers the callback for the IoOperationIssued event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterIntCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterInt parameterIntCallback)
Registers the callback for the ParameterInt event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Enter)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
Callback for the Enter event record.
Definition: OTF2_EvtReaderCallbacks.h:250
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextLeaveCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextLeave callingContextLeaveCallback)
Registers the callback for the CallingContextLeave event.
void OTF2_EvtReaderCallbacks_Delete(OTF2_EvtReaderCallbacks *evtReaderCallbacks)
Deallocates a struct for the event callbacks.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadWaitCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadWait threadWaitCallback)
Registers the callback for the ThreadWait event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiCollectiveBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiCollectiveBegin mpiCollectiveBeginCallback)
Registers the callback for the MpiCollectiveBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the ThreadAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:2722
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterString)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, OTF2_StringRef string)
Callback for the ParameterString event record.
Definition: OTF2_EvtReaderCallbacks.h:1341
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWaitChangeCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWaitChange rmaWaitChangeCallback)
Registers the callback for the RmaWaitChange event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationTest ioOperationTestCallback)
Registers the callback for the IoOperationTest event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetProgramBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ProgramBegin programBeginCallback)
Registers the callback for the ProgramBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWinDestroy)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWinDestroy event record.
Definition: OTF2_EvtReaderCallbacks.h:1565
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiCollectiveEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiCollectiveEnd mpiCollectiveEndCallback)
Registers the callback for the MpiCollectiveEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaCollectiveEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, uint32_t root, uint64_t bytesSent, uint64_t bytesReceived)
Callback for the RmaCollectiveEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:1668
uint32_t OTF2_CommRef
Type used to indicate a reference to a Comm, or a InterComm definition.
Definition: OTF2_GeneralDefinitions.h:184
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetBufferFlushCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_BufferFlush bufferFlushCallback)
Registers the callback for the BufferFlush event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpJoin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the OmpJoin event record.
Definition: OTF2_EvtReaderCallbacks.h:951
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoChangeStatusFlags)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoStatusFlag statusFlags)
Callback for the IoChangeStatusFlags event record.
Definition: OTF2_EvtReaderCallbacks.h:3691
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadFork)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t numberOfRequestedThreads)
Callback for the ThreadFork event record.
Definition: OTF2_EvtReaderCallbacks.h:2520
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteNonBlockingCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking rmaOpCompleteNonBlockingCallback)
Registers the callback for the RmaOpCompleteNonBlocking event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadJoinCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadJoin threadJoinCallback)
Registers the callback for the ThreadJoin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ProgramEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, int64_t exitStatus)
Callback for the ProgramEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:4327
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDestroyHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle)
Callback for the IoDestroyHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3511
uint32_t OTF2_RegionRef
Type used to indicate a reference to a Region definition.
Definition: OTF2_GeneralDefinitions.h:148
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterInt)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, int64_t value)
Callback for the ParameterInt event record.
Definition: OTF2_EvtReaderCallbacks.h:1394
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:3169
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIrecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Callback for the MpiIrecv event record.
Definition: OTF2_EvtReaderCallbacks.h:640
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoSeek)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, int64_t offsetRequest, OTF2_IoSeekOption whence, uint64_t offsetResult)
Callback for the IoSeek event record.
Definition: OTF2_EvtReaderCallbacks.h:3636
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpReleaseLock ompReleaseLockCallback)
Registers the callback for the OmpReleaseLock event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t bytesResult, uint64_t matchingId)
Callback for the IoOperationComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:3981
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteNonBlocking event record.
Definition: OTF2_EvtReaderCallbacks.h:2360
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CommDestroy)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)
Callback for the CommDestroy event record.
Definition: OTF2_EvtReaderCallbacks.h:4554
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaAtomic)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaAtomicType type, uint64_t bytesSent, uint64_t bytesReceived, uint64_t matchingId)
Callback for the RmaAtomic event record.
Definition: OTF2_EvtReaderCallbacks.h:2247
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTeamBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
Callback for the ThreadTeamBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:2619
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpTest event record.
Definition: OTF2_EvtReaderCallbacks.h:2416
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationIssued)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationIssued event record.
Definition: OTF2_EvtReaderCallbacks.h:3923
uint32_t OTF2_GroupRef
Type used to indicate a reference to a Group definition.
Definition: OTF2_GeneralDefinitions.h:166
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaRequestLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaRequestLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1790
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiSend)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Callback for the MpiSend event record.
Definition: OTF2_EvtReaderCallbacks.h:357
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskSwitch)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskSwitch event record.
Definition: OTF2_EvtReaderCallbacks.h:1172
uint32_t OTF2_IoCreationFlag
Wrapper for enum OTF2_IoCreationFlag_enum.
Definition: OTF2_Events.h:314
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaCollectiveBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaCollectiveBegin rmaCollectiveBeginCallback)
Registers the callback for the RmaCollectiveBegin event.
uint8_t OTF2_IoAccessMode
Wrapper for enum OTF2_IoAccessMode_enum.
Definition: OTF2_Definitions.h:967
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaGet)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Callback for the RmaGet event record.
Definition: OTF2_EvtReaderCallbacks.h:2187
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadReleaseLock threadReleaseLockCallback)
Registers the callback for the ThreadReleaseLock event.
Error codes and error handling.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTeamBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTeamBegin threadTeamBeginCallback)
Registers the callback for the ThreadTeamBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId)
Callback for the RmaReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1968
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiMrecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiMrecv mpiMrecvCallback)
Registers the callback for the MpiMrecv event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterStringCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterString parameterStringCallback)
Registers the callback for the ParameterString event.
uint32_t OTF2_RmaWinRef
Type used to indicate a reference to a RmaWin definition.
Definition: OTF2_GeneralDefinitions.h:196
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaAtomicCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaAtomic rmaAtomicCallback)
Registers the callback for the RmaAtomic event.
struct OTF2_EvtReaderCallbacks_struct OTF2_EvtReaderCallbacks
Opaque struct which holds all event record callbacks.
Definition: OTF2_EvtReaderCallbacks.h:62
uint8_t OTF2_IoOperationMode
Wrapper for enum OTF2_IoOperationMode_enum.
Definition: OTF2_Events.h:464
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1850
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIrecvRequest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiIrecvRequest event record.
Definition: OTF2_EvtReaderCallbacks.h:522
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextEnter)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance)
Callback for the CallingContextEnter event record.
Definition: OTF2_EvtReaderCallbacks.h:3236
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:2950
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWinCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWinCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:1506
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationBegin ioOperationBeginCallback)
Registers the callback for the IoOperationBegin event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetNonBlockingCollectiveCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_NonBlockingCollectiveComplete nonBlockingCollectiveCompleteCallback)
Registers the callback for the NonBlockingCollectiveComplete event.