3.0-rc2 (revision 337012f1)
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 
2832 typedef OTF2_CallbackCode
2834  OTF2_TimeStamp time,
2835  uint64_t eventPosition,
2836  void* userData,
2837  OTF2_AttributeList* attributeList,
2838  OTF2_CommRef threadTeam,
2839  uint32_t creatingThread,
2840  uint32_t generationNumber );
2841 
2842 
2859  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2860  OTF2_EvtReaderCallback_ThreadTaskCreate threadTaskCreateCallback );
2861 
2862 
2890 typedef OTF2_CallbackCode
2892  OTF2_TimeStamp time,
2893  uint64_t eventPosition,
2894  void* userData,
2895  OTF2_AttributeList* attributeList,
2896  OTF2_CommRef threadTeam,
2897  uint32_t creatingThread,
2898  uint32_t generationNumber );
2899 
2900 
2917  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2918  OTF2_EvtReaderCallback_ThreadTaskSwitch threadTaskSwitchCallback );
2919 
2920 
2946 typedef OTF2_CallbackCode
2948  OTF2_TimeStamp time,
2949  uint64_t eventPosition,
2950  void* userData,
2951  OTF2_AttributeList* attributeList,
2952  OTF2_CommRef threadTeam,
2953  uint32_t creatingThread,
2954  uint32_t generationNumber );
2955 
2956 
2973  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
2974  OTF2_EvtReaderCallback_ThreadTaskComplete threadTaskCompleteCallback );
2975 
2976 
3001 typedef OTF2_CallbackCode
3003  OTF2_TimeStamp time,
3004  uint64_t eventPosition,
3005  void* userData,
3006  OTF2_AttributeList* attributeList,
3007  OTF2_CommRef threadContingent,
3008  uint64_t sequenceCount );
3009 
3010 
3027  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3028  OTF2_EvtReaderCallback_ThreadCreate threadCreateCallback );
3029 
3030 
3055 typedef OTF2_CallbackCode
3057  OTF2_TimeStamp time,
3058  uint64_t eventPosition,
3059  void* userData,
3060  OTF2_AttributeList* attributeList,
3061  OTF2_CommRef threadContingent,
3062  uint64_t sequenceCount );
3063 
3064 
3081  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3082  OTF2_EvtReaderCallback_ThreadBegin threadBeginCallback );
3083 
3084 
3109 typedef OTF2_CallbackCode
3111  OTF2_TimeStamp time,
3112  uint64_t eventPosition,
3113  void* userData,
3114  OTF2_AttributeList* attributeList,
3115  OTF2_CommRef threadContingent,
3116  uint64_t sequenceCount );
3117 
3118 
3135  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3136  OTF2_EvtReaderCallback_ThreadWait threadWaitCallback );
3137 
3138 
3165 typedef OTF2_CallbackCode
3167  OTF2_TimeStamp time,
3168  uint64_t eventPosition,
3169  void* userData,
3170  OTF2_AttributeList* attributeList,
3171  OTF2_CommRef threadContingent,
3172  uint64_t sequenceCount );
3173 
3174 
3191  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3192  OTF2_EvtReaderCallback_ThreadEnd threadEndCallback );
3193 
3194 
3232 typedef OTF2_CallbackCode
3234  OTF2_TimeStamp time,
3235  uint64_t eventPosition,
3236  void* userData,
3237  OTF2_AttributeList* attributeList,
3238  OTF2_CallingContextRef callingContext,
3239  uint32_t unwindDistance );
3240 
3241 
3259  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3260  OTF2_EvtReaderCallback_CallingContextEnter callingContextEnterCallback );
3261 
3262 
3305 typedef OTF2_CallbackCode
3307  OTF2_TimeStamp time,
3308  uint64_t eventPosition,
3309  void* userData,
3310  OTF2_AttributeList* attributeList,
3311  OTF2_CallingContextRef callingContext );
3312 
3313 
3331  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3332  OTF2_EvtReaderCallback_CallingContextLeave callingContextLeaveCallback );
3333 
3334 
3370 typedef OTF2_CallbackCode
3372  OTF2_TimeStamp time,
3373  uint64_t eventPosition,
3374  void* userData,
3375  OTF2_AttributeList* attributeList,
3376  OTF2_CallingContextRef callingContext,
3377  uint32_t unwindDistance,
3378  OTF2_InterruptGeneratorRef interruptGenerator );
3379 
3380 
3398  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3399  OTF2_EvtReaderCallback_CallingContextSample callingContextSampleCallback );
3400 
3401 
3442 typedef OTF2_CallbackCode
3444  OTF2_TimeStamp time,
3445  uint64_t eventPosition,
3446  void* userData,
3447  OTF2_AttributeList* attributeList,
3448  OTF2_IoHandleRef handle,
3449  OTF2_IoAccessMode mode,
3450  OTF2_IoCreationFlag creationFlags,
3451  OTF2_IoStatusFlag statusFlags );
3452 
3453 
3470  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3471  OTF2_EvtReaderCallback_IoCreateHandle ioCreateHandleCallback );
3472 
3473 
3506 typedef OTF2_CallbackCode
3508  OTF2_TimeStamp time,
3509  uint64_t eventPosition,
3510  void* userData,
3511  OTF2_AttributeList* attributeList,
3512  OTF2_IoHandleRef handle );
3513 
3514 
3531  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3532  OTF2_EvtReaderCallback_IoDestroyHandle ioDestroyHandleCallback );
3533 
3534 
3572 typedef OTF2_CallbackCode
3574  OTF2_TimeStamp time,
3575  uint64_t eventPosition,
3576  void* userData,
3577  OTF2_AttributeList* attributeList,
3578  OTF2_IoHandleRef oldHandle,
3579  OTF2_IoHandleRef newHandle,
3580  OTF2_IoStatusFlag statusFlags );
3581 
3582 
3599  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3600  OTF2_EvtReaderCallback_IoDuplicateHandle ioDuplicateHandleCallback );
3601 
3602 
3631 typedef OTF2_CallbackCode
3633  OTF2_TimeStamp time,
3634  uint64_t eventPosition,
3635  void* userData,
3636  OTF2_AttributeList* attributeList,
3637  OTF2_IoHandleRef handle,
3638  int64_t offsetRequest,
3639  OTF2_IoSeekOption whence,
3640  uint64_t offsetResult );
3641 
3642 
3659  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3660  OTF2_EvtReaderCallback_IoSeek ioSeekCallback );
3661 
3662 
3686 typedef OTF2_CallbackCode
3688  OTF2_TimeStamp time,
3689  uint64_t eventPosition,
3690  void* userData,
3691  OTF2_AttributeList* attributeList,
3692  OTF2_IoHandleRef handle,
3693  OTF2_IoStatusFlag statusFlags );
3694 
3695 
3713  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3714  OTF2_EvtReaderCallback_IoChangeStatusFlags ioChangeStatusFlagsCallback );
3715 
3716 
3740 typedef OTF2_CallbackCode
3742  OTF2_TimeStamp time,
3743  uint64_t eventPosition,
3744  void* userData,
3745  OTF2_AttributeList* attributeList,
3746  OTF2_IoParadigmRef ioParadigm,
3747  OTF2_IoFileRef file );
3748 
3749 
3766  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3767  OTF2_EvtReaderCallback_IoDeleteFile ioDeleteFileCallback );
3768 
3769 
3800 typedef OTF2_CallbackCode
3802  OTF2_TimeStamp time,
3803  uint64_t eventPosition,
3804  void* userData,
3805  OTF2_AttributeList* attributeList,
3806  OTF2_IoHandleRef handle,
3807  OTF2_IoOperationMode mode,
3808  OTF2_IoOperationFlag operationFlags,
3809  uint64_t bytesRequest,
3810  uint64_t matchingId );
3811 
3812 
3829  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3830  OTF2_EvtReaderCallback_IoOperationBegin ioOperationBeginCallback );
3831 
3832 
3860 typedef OTF2_CallbackCode
3862  OTF2_TimeStamp time,
3863  uint64_t eventPosition,
3864  void* userData,
3865  OTF2_AttributeList* attributeList,
3866  OTF2_IoHandleRef handle,
3867  uint64_t matchingId );
3868 
3869 
3886  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3887  OTF2_EvtReaderCallback_IoOperationTest ioOperationTestCallback );
3888 
3889 
3918 typedef OTF2_CallbackCode
3920  OTF2_TimeStamp time,
3921  uint64_t eventPosition,
3922  void* userData,
3923  OTF2_AttributeList* attributeList,
3924  OTF2_IoHandleRef handle,
3925  uint64_t matchingId );
3926 
3927 
3944  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
3945  OTF2_EvtReaderCallback_IoOperationIssued ioOperationIssuedCallback );
3946 
3947 
3976 typedef OTF2_CallbackCode
3978  OTF2_TimeStamp time,
3979  uint64_t eventPosition,
3980  void* userData,
3981  OTF2_AttributeList* attributeList,
3982  OTF2_IoHandleRef handle,
3983  uint64_t bytesResult,
3984  uint64_t matchingId );
3985 
3986 
4004  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4005  OTF2_EvtReaderCallback_IoOperationComplete ioOperationCompleteCallback );
4006 
4007 
4036 typedef OTF2_CallbackCode
4038  OTF2_TimeStamp time,
4039  uint64_t eventPosition,
4040  void* userData,
4041  OTF2_AttributeList* attributeList,
4042  OTF2_IoHandleRef handle,
4043  uint64_t matchingId );
4044 
4045 
4063  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4064  OTF2_EvtReaderCallback_IoOperationCancelled ioOperationCancelledCallback );
4065 
4066 
4089 typedef OTF2_CallbackCode
4091  OTF2_TimeStamp time,
4092  uint64_t eventPosition,
4093  void* userData,
4094  OTF2_AttributeList* attributeList,
4095  OTF2_IoHandleRef handle,
4096  OTF2_LockType lockType );
4097 
4098 
4115  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4116  OTF2_EvtReaderCallback_IoAcquireLock ioAcquireLockCallback );
4117 
4118 
4141 typedef OTF2_CallbackCode
4143  OTF2_TimeStamp time,
4144  uint64_t eventPosition,
4145  void* userData,
4146  OTF2_AttributeList* attributeList,
4147  OTF2_IoHandleRef handle,
4148  OTF2_LockType lockType );
4149 
4150 
4167  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4168  OTF2_EvtReaderCallback_IoReleaseLock ioReleaseLockCallback );
4169 
4170 
4194 typedef OTF2_CallbackCode
4196  OTF2_TimeStamp time,
4197  uint64_t eventPosition,
4198  void* userData,
4199  OTF2_AttributeList* attributeList,
4200  OTF2_IoHandleRef handle,
4201  OTF2_LockType lockType );
4202 
4203 
4220  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4221  OTF2_EvtReaderCallback_IoTryLock ioTryLockCallback );
4222 
4223 
4258 typedef OTF2_CallbackCode
4260  OTF2_TimeStamp time,
4261  uint64_t eventPosition,
4262  void* userData,
4263  OTF2_AttributeList* attributeList,
4264  OTF2_StringRef programName,
4265  uint32_t numberOfArguments,
4266  const OTF2_StringRef* programArguments );
4267 
4268 
4285  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4286  OTF2_EvtReaderCallback_ProgramBegin programBeginCallback );
4287 
4288 
4322 typedef OTF2_CallbackCode
4324  OTF2_TimeStamp time,
4325  uint64_t eventPosition,
4326  void* userData,
4327  OTF2_AttributeList* attributeList,
4328  int64_t exitStatus );
4329 
4330 
4347  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4348  OTF2_EvtReaderCallback_ProgramEnd programEndCallback );
4349 
4350 
4370 typedef OTF2_CallbackCode
4372  OTF2_TimeStamp time,
4373  uint64_t eventPosition,
4374  void* userData,
4375  OTF2_AttributeList* attributeList,
4376  uint64_t requestID );
4377 
4378 
4397  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4398  OTF2_EvtReaderCallback_NonBlockingCollectiveRequest nonBlockingCollectiveRequestCallback );
4399 
4400 
4429 typedef OTF2_CallbackCode
4431  OTF2_TimeStamp time,
4432  uint64_t eventPosition,
4433  void* userData,
4434  OTF2_AttributeList* attributeList,
4435  OTF2_CollectiveOp collectiveOp,
4436  OTF2_CommRef communicator,
4437  uint32_t root,
4438  uint64_t sizeSent,
4439  uint64_t sizeReceived,
4440  uint64_t requestID );
4441 
4442 
4461  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4462  OTF2_EvtReaderCallback_NonBlockingCollectiveComplete nonBlockingCollectiveCompleteCallback );
4463 
4464 
4492 typedef OTF2_CallbackCode
4494  OTF2_TimeStamp time,
4495  uint64_t eventPosition,
4496  void* userData,
4497  OTF2_AttributeList* attributeList,
4498  OTF2_CommRef communicator );
4499 
4500 
4517  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4518  OTF2_EvtReaderCallback_CommCreate commCreateCallback );
4519 
4520 
4549 typedef OTF2_CallbackCode
4551  OTF2_TimeStamp time,
4552  uint64_t eventPosition,
4553  void* userData,
4554  OTF2_AttributeList* attributeList,
4555  OTF2_CommRef communicator );
4556 
4557 
4574  OTF2_EvtReaderCallbacks* evtReaderCallbacks,
4575  OTF2_EvtReaderCallback_CommDestroy commDestroyCallback );
4576 
4577 
4578 #ifdef __cplusplus
4579 }
4580 #endif /* __cplusplus */
4581 
4582 
4583 #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_ProgramBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_StringRef programName, uint32_t numberOfArguments, const OTF2_StringRef *programArguments)
Callback for the ProgramBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:4259
uint8_t OTF2_RmaSyncType
Wrapper for enum OTF2_RmaSyncType_enum.
Definition: OTF2_Events.h:190
uint8_t OTF2_IoSeekOption
Wrapper for enum OTF2_IoSeekOption_enum.
Definition: OTF2_Events.h:410
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextEnterCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextEnter callingContextEnterCallback)
Registers the callback for the CallingContextEnter event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiSendCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiSend mpiSendCallback)
Registers the callback for the MpiSend event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the ThreadReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:2777
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaRequestLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaRequestLock rmaRequestLockCallback)
Registers the callback for the RmaRequestLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetEnterCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Enter enterCallback)
Registers the callback for the Enter event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoCreateHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoCreateHandle ioCreateHandleCallback)
Registers the callback for the IoCreateHandle event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetNonBlockingCollectiveRequestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_NonBlockingCollectiveRequest nonBlockingCollectiveRequestCallback)
Registers the callback for the NonBlockingCollectiveRequest event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaSync)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaSyncType syncType)
Callback for the RmaSync event record.
Definition: OTF2_EvtReaderCallbacks.h:2023
uint64_t OTF2_LocationRef
Type used to indicate a reference to a Location definition.
Definition: OTF2_GeneralDefinitions.h:142
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCommDestroyCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CommDestroy commDestroyCallback)
Registers the callback for the CommDestroy event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTeamEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
Callback for the ThreadTeamEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:2669
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteRemoteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteRemote rmaOpCompleteRemoteCallback)
Registers the callback for the RmaOpCompleteRemote event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaCollectiveBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the RmaCollectiveBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:1612
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoSeekCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoSeek ioSeekCallback)
Registers the callback for the IoSeek event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_BufferFlush)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_TimeStamp stopTime)
Callback for the BufferFlush event record.
Definition: OTF2_EvtReaderCallbacks.h:150
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaTryLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaTryLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1910
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the OmpAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1007
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterUnsignedIntCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterUnsignedInt parameterUnsignedIntCallback)
Registers the callback for the ParameterUnsignedInt event.
uint8_t OTF2_Type
Wrapper for enum OTF2_Type_enum.
Definition: OTF2_GeneralDefinitions.h:596
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpJoinCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpJoin ompJoinCallback)
Registers the callback for the OmpJoin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoTryLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoTryLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4195
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaTryLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaTryLock rmaTryLockCallback)
Registers the callback for the RmaTryLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRecv mpiRecvCallback)
Registers the callback for the MpiRecv event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWinCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWinCreate rmaWinCreateCallback)
Registers the callback for the RmaWinCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMetricCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Metric metricCallback)
Registers the callback for the Metric event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIsendCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIsendComplete mpiIsendCompleteCallback)
Registers the callback for the MpiIsendComplete event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CommCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)
Callback for the CommCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:4493
OTF2_CallbackCode(* OTF2_EvtReaderCallback_NonBlockingCollectiveComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived, uint64_t requestID)
Callback for the NonBlockingCollectiveComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:4430
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskSwitchCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskSwitch threadTaskSwitchCallback)
Registers the callback for the ThreadTaskSwitch event.
uint8_t OTF2_Paradigm
Wrapper for enum OTF2_Paradigm_enum.
Definition: OTF2_GeneralDefinitions.h:778
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskComplete ompTaskCompleteCallback)
Registers the callback for the OmpTaskComplete event.
uint32_t OTF2_StringRef
Type used to indicate a reference to a String definition.
Definition: OTF2_GeneralDefinitions.h:118
uint8_t OTF2_IoParadigmRef
Type used to indicate a reference to a IoParadigm definition.
Definition: OTF2_GeneralDefinitions.h:112
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIrecvRequestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIrecvRequest mpiIrecvRequestCallback)
Registers the callback for the MpiIrecvRequest event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MeasurementOnOff)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_MeasurementMode measurementMode)
Callback for the MeasurementOnOff event record.
Definition: OTF2_EvtReaderCallbacks.h:200
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoCreateHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoAccessMode mode, OTF2_IoCreationFlag creationFlags, OTF2_IoStatusFlag statusFlags)
Callback for the IoCreateHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3443
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:1224
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Metric)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_MetricRef metric, uint8_t numberOfMetrics, const OTF2_Type *typeIDs, const OTF2_MetricValue *metricValues)
Callback for the Metric event record.
Definition: OTF2_EvtReaderCallbacks.h:1283
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRequestCancelled)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiRequestCancelled event record.
Definition: OTF2_EvtReaderCallbacks.h:739
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the OmpReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1065
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaGroupSyncCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaGroupSync rmaGroupSyncCallback)
Registers the callback for the RmaGroupSync event.
Enums and types used in event records.
uint8_t OTF2_MeasurementMode
Wrapper for enum OTF2_MeasurementMode_enum.
Definition: OTF2_Events.h:59
Metric value.
Definition: OTF2_Events.h:541
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextSample)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance, OTF2_InterruptGeneratorRef interruptGenerator)
Callback for the CallingContextSample event record.
Definition: OTF2_EvtReaderCallbacks.h:3371
uint32_t OTF2_ParameterRef
Type used to indicate a reference to a Parameter definition.
Definition: OTF2_GeneralDefinitions.h:190
This layer enables dynamic appending of arbitrary attributes to any type of event record...
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:2833
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaReleaseLock rmaReleaseLockCallback)
Registers the callback for the RmaReleaseLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaAcquireLock rmaAcquireLockCallback)
Registers the callback for the RmaAcquireLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpForkCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpFork ompForkCallback)
Registers the callback for the OmpFork event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMeasurementOnOffCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MeasurementOnOff measurementOnOffCallback)
Registers the callback for the MeasurementOnOff event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskCreate ompTaskCreateCallback)
Registers the callback for the OmpTaskCreate event.
uint8_t OTF2_RmaAtomicType
Wrapper for enum OTF2_RmaAtomicType_enum.
Definition: OTF2_Events.h:260
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:214
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4090
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:1118
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiCollectiveBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the MpiCollectiveBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:787
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadWait)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadWait event record.
Definition: OTF2_EvtReaderCallbacks.h:3110
OTF2_EvtReaderCallbacks * OTF2_EvtReaderCallbacks_New(void)
Allocates a new struct for the event callbacks.
struct OTF2_AttributeList_struct OTF2_AttributeList
Attribute list handle.
Definition: OTF2_AttributeList.h:104
uint32_t OTF2_IoStatusFlag
Wrapper for enum OTF2_IoStatusFlag_enum.
Definition: OTF2_Definitions.h:974
OTF2_ErrorCode
Definition: OTF2_ErrorCodes.h:54
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskCreate threadTaskCreateCallback)
Registers the callback for the ThreadTaskCreate event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadBegin threadBeginCallback)
Registers the callback for the ThreadBegin event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoReleaseLock ioReleaseLockCallback)
Registers the callback for the IoReleaseLock event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiCollectiveEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_CommRef communicator, uint32_t root, uint64_t sizeSent, uint64_t sizeReceived)
Callback for the MpiCollectiveEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:845
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpTest rmaOpTestCallback)
Registers the callback for the RmaOpTest event.
uint32_t OTF2_IoOperationFlag
Wrapper for enum OTF2_IoOperationFlag_enum.
Definition: OTF2_Events.h:484
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetProgramEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ProgramEnd programEndCallback)
Registers the callback for the ProgramEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationComplete ioOperationCompleteCallback)
Registers the callback for the IoOperationComplete event.
uint32_t OTF2_InterruptGeneratorRef
Type used to indicate a reference to a InterruptGenerator definition.
Definition: OTF2_GeneralDefinitions.h:226
This header file provides general definitions which should be accessible in all internal and external...
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_LockType lockType)
Callback for the IoReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:4142
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCommCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CommCreate commCreateCallback)
Registers the callback for the CommCreate event.
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:239
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWaitChange)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWaitChange event record.
Definition: OTF2_EvtReaderCallbacks.h:2076
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteBlockingCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteBlocking rmaOpCompleteBlockingCallback)
Registers the callback for the RmaOpCompleteBlocking event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaGroupSync)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, OTF2_GroupRef group)
Callback for the RmaGroupSync event record.
Definition: OTF2_EvtReaderCallbacks.h:1729
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationTest event record.
Definition: OTF2_EvtReaderCallbacks.h:3861
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoChangeStatusFlagsCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoChangeStatusFlags ioChangeStatusFlagsCallback)
Registers the callback for the IoChangeStatusFlags event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteRemote)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteRemote event record.
Definition: OTF2_EvtReaderCallbacks.h:2470
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIrecvCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIrecv mpiIrecvCallback)
Registers the callback for the MpiIrecv event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoOperationMode mode, OTF2_IoOperationFlag operationFlags, uint64_t bytesRequest, uint64_t matchingId)
Callback for the IoOperationBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:3801
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskSwitch)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskSwitch event record.
Definition: OTF2_EvtReaderCallbacks.h:2891
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRequestTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiRequestTest event record.
Definition: OTF2_EvtReaderCallbacks.h:692
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpAcquireLock ompAcquireLockCallback)
Registers the callback for the OmpAcquireLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationCancelledCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationCancelled ioOperationCancelledCallback)
Registers the callback for the IoOperationCancelled event.
uint64_t OTF2_TimeStamp
OTF2 time stamp.
Definition: OTF2_GeneralDefinitions.h:106
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadForkCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadFork threadForkCallback)
Registers the callback for the ThreadFork event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRequestTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRequestTest mpiRequestTestCallback)
Registers the callback for the MpiRequestTest event.
uint32_t OTF2_IoHandleRef
Type used to indicate a reference to a IoHandle definition.
Definition: OTF2_GeneralDefinitions.h:238
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:3002
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiIsendCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiIsend mpiIsendCallback)
Registers the callback for the MpiIsend event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDeleteFileCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDeleteFile ioDeleteFileCallback)
Registers the callback for the IoDeleteFile event.
uint32_t OTF2_MetricRef
Type used to indicate a reference to a MetricClass, or a MetricInstance definition.
Definition: OTF2_GeneralDefinitions.h:178
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiRequestCancelledCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiRequestCancelled mpiRequestCancelledCallback)
Registers the callback for the MpiRequestCancelled event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:3056
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Leave)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
Callback for the Leave event record.
Definition: OTF2_EvtReaderCallbacks.h:300
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaGetCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaGet rmaGetCallback)
Registers the callback for the RmaGet event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadJoin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model)
Callback for the ThreadJoin event record.
Definition: OTF2_EvtReaderCallbacks.h:2569
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextSampleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextSample callingContextSampleCallback)
Registers the callback for the CallingContextSample event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpTaskSwitchCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpTaskSwitch ompTaskSwitchCallback)
Registers the callback for the OmpTaskSwitch event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoAcquireLock ioAcquireLockCallback)
Registers the callback for the IoAcquireLock event.
OTF2_CallbackCode
Return value to indicate that the record reading should be interrupted.
Definition: OTF2_GeneralDefinitions.h:349
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWinDestroyCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWinDestroy rmaWinDestroyCallback)
Registers the callback for the RmaWinDestroy event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Unknown)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for an unknown event record.
Definition: OTF2_EvtReaderCallbacks.h:105
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteBlocking)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteBlocking event record.
Definition: OTF2_EvtReaderCallbacks.h:2305
void OTF2_EvtReaderCallbacks_Clear(OTF2_EvtReaderCallbacks *evtReaderCallbacks)
Clears a struct for the event callbacks.
uint32_t OTF2_CallingContextRef
Type used to indicate a reference to a CallingContext definition.
Definition: OTF2_GeneralDefinitions.h:220
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDestroyHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDestroyHandle ioDestroyHandleCallback)
Registers the callback for the IoDestroyHandle event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterUnsignedInt)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, uint64_t value)
Callback for the ParameterUnsignedInt event record.
Definition: OTF2_EvtReaderCallbacks.h:1447
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDuplicateHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef oldHandle, OTF2_IoHandleRef newHandle, OTF2_IoStatusFlag statusFlags)
Callback for the IoDuplicateHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3573
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadAcquireLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadAcquireLock threadAcquireLockCallback)
Registers the callback for the ThreadAcquireLock event.
uint8_t OTF2_CollectiveOp
Wrapper for enum OTF2_CollectiveOp_enum.
Definition: OTF2_Events.h:79
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpFork)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t numberOfRequestedThreads)
Callback for the OmpFork event record.
Definition: OTF2_EvtReaderCallbacks.h:900
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetUnknownCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_Unknown unknownCallback)
Registers the callback for the Unknown event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiRecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Callback for the MpiRecv event record.
Definition: OTF2_EvtReaderCallbacks.h:579
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationCancelled)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationCancelled event record.
Definition: OTF2_EvtReaderCallbacks.h:4037
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadCreateCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadCreate threadCreateCallback)
Registers the callback for the ThreadCreate event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_NonBlockingCollectiveRequest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the NonBlockingCollectiveRequest event record.
Definition: OTF2_EvtReaderCallbacks.h:4371
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTeamEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTeamEnd threadTeamEndCallback)
Registers the callback for the ThreadTeamEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoDuplicateHandleCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoDuplicateHandle ioDuplicateHandleCallback)
Registers the callback for the IoDuplicateHandle event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDeleteFile)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoParadigmRef ioParadigm, OTF2_IoFileRef file)
Callback for the IoDeleteFile event record.
Definition: OTF2_EvtReaderCallbacks.h:3741
uint32_t OTF2_IoFileRef
Type used to indicate a reference to a IoRegularFile, or a IoDirectory definition.
Definition: OTF2_GeneralDefinitions.h:232
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextLeave)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext)
Callback for the CallingContextLeave event record.
Definition: OTF2_EvtReaderCallbacks.h:3306
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaCollectiveEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaCollectiveEnd rmaCollectiveEndCallback)
Registers the callback for the RmaCollectiveEnd event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaSyncCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaSync rmaSyncCallback)
Registers the callback for the RmaSync event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaPutCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaPut rmaPutCallback)
Registers the callback for the RmaPut event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoTryLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoTryLock ioTryLockCallback)
Registers the callback for the IoTryLock event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTaskCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTaskComplete threadTaskCompleteCallback)
Registers the callback for the ThreadTaskComplete event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIsend)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Callback for the MpiIsend event record.
Definition: OTF2_EvtReaderCallbacks.h:418
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIsendComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiIsendComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:474
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadEnd threadEndCallback)
Registers the callback for the ThreadEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaPut)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Callback for the RmaPut event record.
Definition: OTF2_EvtReaderCallbacks.h:2130
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationIssuedCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationIssued ioOperationIssuedCallback)
Registers the callback for the IoOperationIssued event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterIntCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterInt parameterIntCallback)
Registers the callback for the ParameterInt event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_Enter)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RegionRef region)
Callback for the Enter event record.
Definition: OTF2_EvtReaderCallbacks.h:250
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetCallingContextLeaveCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_CallingContextLeave callingContextLeaveCallback)
Registers the callback for the CallingContextLeave event.
void OTF2_EvtReaderCallbacks_Delete(OTF2_EvtReaderCallbacks *evtReaderCallbacks)
Deallocates a struct for the event callbacks.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadWaitCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadWait threadWaitCallback)
Registers the callback for the ThreadWait event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiCollectiveBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiCollectiveBegin mpiCollectiveBeginCallback)
Registers the callback for the MpiCollectiveBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t lockID, uint32_t acquisitionOrder)
Callback for the ThreadAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:2722
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterString)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, OTF2_StringRef string)
Callback for the ParameterString event record.
Definition: OTF2_EvtReaderCallbacks.h:1341
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaWaitChangeCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaWaitChange rmaWaitChangeCallback)
Registers the callback for the RmaWaitChange event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationTestCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationTest ioOperationTestCallback)
Registers the callback for the IoOperationTest event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetProgramBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ProgramBegin programBeginCallback)
Registers the callback for the ProgramBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWinDestroy)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWinDestroy event record.
Definition: OTF2_EvtReaderCallbacks.h:1565
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetMpiCollectiveEndCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_MpiCollectiveEnd mpiCollectiveEndCallback)
Registers the callback for the MpiCollectiveEnd event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaCollectiveEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CollectiveOp collectiveOp, OTF2_RmaSyncLevel syncLevel, OTF2_RmaWinRef win, uint32_t root, uint64_t bytesSent, uint64_t bytesReceived)
Callback for the RmaCollectiveEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:1668
uint32_t OTF2_CommRef
Type used to indicate a reference to a Comm, or a InterComm definition.
Definition: OTF2_GeneralDefinitions.h:184
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetBufferFlushCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_BufferFlush bufferFlushCallback)
Registers the callback for the BufferFlush event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpJoin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList)
Callback for the OmpJoin event record.
Definition: OTF2_EvtReaderCallbacks.h:951
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoChangeStatusFlags)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, OTF2_IoStatusFlag statusFlags)
Callback for the IoChangeStatusFlags event record.
Definition: OTF2_EvtReaderCallbacks.h:3687
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadFork)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_Paradigm model, uint32_t numberOfRequestedThreads)
Callback for the ThreadFork event record.
Definition: OTF2_EvtReaderCallbacks.h:2520
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaOpCompleteNonBlockingCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking rmaOpCompleteNonBlockingCallback)
Registers the callback for the RmaOpCompleteNonBlocking event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadJoinCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadJoin threadJoinCallback)
Registers the callback for the ThreadJoin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ProgramEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, int64_t exitStatus)
Callback for the ProgramEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:4323
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoDestroyHandle)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle)
Callback for the IoDestroyHandle event record.
Definition: OTF2_EvtReaderCallbacks.h:3507
uint32_t OTF2_RegionRef
Type used to indicate a reference to a Region definition.
Definition: OTF2_GeneralDefinitions.h:148
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ParameterInt)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_ParameterRef parameter, int64_t value)
Callback for the ParameterInt event record.
Definition: OTF2_EvtReaderCallbacks.h:1394
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadEnd)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadContingent, uint64_t sequenceCount)
Callback for the ThreadEnd event record.
Definition: OTF2_EvtReaderCallbacks.h:3166
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIrecv)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t sender, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength, uint64_t requestID)
Callback for the MpiIrecv event record.
Definition: OTF2_EvtReaderCallbacks.h:640
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoSeek)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, int64_t offsetRequest, OTF2_IoSeekOption whence, uint64_t offsetResult)
Callback for the IoSeek event record.
Definition: OTF2_EvtReaderCallbacks.h:3632
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetOmpReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_OmpReleaseLock ompReleaseLockCallback)
Registers the callback for the OmpReleaseLock event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t bytesResult, uint64_t matchingId)
Callback for the IoOperationComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:3977
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpCompleteNonBlocking)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpCompleteNonBlocking event record.
Definition: OTF2_EvtReaderCallbacks.h:2360
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CommDestroy)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef communicator)
Callback for the CommDestroy event record.
Definition: OTF2_EvtReaderCallbacks.h:4550
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaAtomic)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, OTF2_RmaAtomicType type, uint64_t bytesSent, uint64_t bytesReceived, uint64_t matchingId)
Callback for the RmaAtomic event record.
Definition: OTF2_EvtReaderCallbacks.h:2247
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTeamBegin)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam)
Callback for the ThreadTeamBegin event record.
Definition: OTF2_EvtReaderCallbacks.h:2619
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaOpTest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint64_t matchingId)
Callback for the RmaOpTest event record.
Definition: OTF2_EvtReaderCallbacks.h:2416
OTF2_CallbackCode(* OTF2_EvtReaderCallback_IoOperationIssued)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_IoHandleRef handle, uint64_t matchingId)
Callback for the IoOperationIssued event record.
Definition: OTF2_EvtReaderCallbacks.h:3919
uint32_t OTF2_GroupRef
Type used to indicate a reference to a Group definition.
Definition: OTF2_GeneralDefinitions.h:166
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaRequestLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaRequestLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1790
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiSend)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint32_t receiver, OTF2_CommRef communicator, uint32_t msgTag, uint64_t msgLength)
Callback for the MpiSend event record.
Definition: OTF2_EvtReaderCallbacks.h:357
OTF2_CallbackCode(* OTF2_EvtReaderCallback_OmpTaskSwitch)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t taskID)
Callback for the OmpTaskSwitch event record.
Definition: OTF2_EvtReaderCallbacks.h:1172
uint32_t OTF2_IoCreationFlag
Wrapper for enum OTF2_IoCreationFlag_enum.
Definition: OTF2_Events.h:312
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaCollectiveBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaCollectiveBegin rmaCollectiveBeginCallback)
Registers the callback for the RmaCollectiveBegin event.
uint8_t OTF2_IoAccessMode
Wrapper for enum OTF2_IoAccessMode_enum.
Definition: OTF2_Definitions.h:925
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaGet)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t bytes, uint64_t matchingId)
Callback for the RmaGet event record.
Definition: OTF2_EvtReaderCallbacks.h:2187
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadReleaseLockCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadReleaseLock threadReleaseLockCallback)
Registers the callback for the ThreadReleaseLock event.
Error codes and error handling.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetThreadTeamBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ThreadTeamBegin threadTeamBeginCallback)
Registers the callback for the ThreadTeamBegin event.
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaReleaseLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId)
Callback for the RmaReleaseLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1968
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetParameterStringCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_ParameterString parameterStringCallback)
Registers the callback for the ParameterString event.
uint32_t OTF2_RmaWinRef
Type used to indicate a reference to a RmaWin definition.
Definition: OTF2_GeneralDefinitions.h:196
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetRmaAtomicCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_RmaAtomic rmaAtomicCallback)
Registers the callback for the RmaAtomic event.
struct OTF2_EvtReaderCallbacks_struct OTF2_EvtReaderCallbacks
Opaque struct which holds all event record callbacks.
Definition: OTF2_EvtReaderCallbacks.h:62
uint8_t OTF2_IoOperationMode
Wrapper for enum OTF2_IoOperationMode_enum.
Definition: OTF2_Events.h:460
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaAcquireLock)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win, uint32_t remote, uint64_t lockId, OTF2_LockType lockType)
Callback for the RmaAcquireLock event record.
Definition: OTF2_EvtReaderCallbacks.h:1850
OTF2_CallbackCode(* OTF2_EvtReaderCallback_MpiIrecvRequest)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, uint64_t requestID)
Callback for the MpiIrecvRequest event record.
Definition: OTF2_EvtReaderCallbacks.h:522
OTF2_CallbackCode(* OTF2_EvtReaderCallback_CallingContextEnter)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CallingContextRef callingContext, uint32_t unwindDistance)
Callback for the CallingContextEnter event record.
Definition: OTF2_EvtReaderCallbacks.h:3233
OTF2_CallbackCode(* OTF2_EvtReaderCallback_ThreadTaskComplete)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_CommRef threadTeam, uint32_t creatingThread, uint32_t generationNumber)
Callback for the ThreadTaskComplete event record.
Definition: OTF2_EvtReaderCallbacks.h:2947
OTF2_CallbackCode(* OTF2_EvtReaderCallback_RmaWinCreate)(OTF2_LocationRef location, OTF2_TimeStamp time, uint64_t eventPosition, void *userData, OTF2_AttributeList *attributeList, OTF2_RmaWinRef win)
Callback for the RmaWinCreate event record.
Definition: OTF2_EvtReaderCallbacks.h:1506
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetIoOperationBeginCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_IoOperationBegin ioOperationBeginCallback)
Registers the callback for the IoOperationBegin event.
OTF2_ErrorCode OTF2_EvtReaderCallbacks_SetNonBlockingCollectiveCompleteCallback(OTF2_EvtReaderCallbacks *evtReaderCallbacks, OTF2_EvtReaderCallback_NonBlockingCollectiveComplete nonBlockingCollectiveCompleteCallback)
Registers the callback for the NonBlockingCollectiveComplete event.