Zephyr Project API
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tracing_hooks.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
23
24
#ifndef ZEPHYR_INCLUDE_TRACING_TRACING_HOOKS_H_
25
#define ZEPHYR_INCLUDE_TRACING_TRACING_HOOKS_H_
26
33
37
#ifndef sys_port_trace_k_thread_foreach_enter
38
#define sys_port_trace_k_thread_foreach_enter()
39
#endif
40
44
#ifndef sys_port_trace_k_thread_foreach_exit
45
#define sys_port_trace_k_thread_foreach_exit()
46
#endif
47
51
#ifndef sys_port_trace_k_thread_foreach_unlocked_enter
52
#define sys_port_trace_k_thread_foreach_unlocked_enter()
53
#endif
54
58
#ifndef sys_port_trace_k_thread_foreach_unlocked_exit
59
#define sys_port_trace_k_thread_foreach_unlocked_exit()
60
#endif
61
66
#ifndef sys_port_trace_k_thread_create
67
#define sys_port_trace_k_thread_create(new_thread)
68
#endif
69
73
#ifndef sys_port_trace_k_thread_user_mode_enter
74
#define sys_port_trace_k_thread_user_mode_enter()
75
#endif
76
82
#ifndef sys_port_trace_k_thread_join_enter
83
#define sys_port_trace_k_thread_join_enter(thread, timeout)
84
#endif
85
91
#ifndef sys_port_trace_k_thread_join_blocking
92
#define sys_port_trace_k_thread_join_blocking(thread, timeout)
93
#endif
94
101
#ifndef sys_port_trace_k_thread_join_exit
102
#define sys_port_trace_k_thread_join_exit(thread, timeout, ret)
103
#endif
104
109
#ifndef sys_port_trace_k_thread_sleep_enter
110
#define sys_port_trace_k_thread_sleep_enter(timeout)
111
#endif
112
118
#ifndef sys_port_trace_k_thread_sleep_exit
119
#define sys_port_trace_k_thread_sleep_exit(timeout, ret)
120
#endif
121
126
#ifndef sys_port_trace_k_thread_msleep_enter
127
#define sys_port_trace_k_thread_msleep_enter(ms)
128
#endif
129
135
#ifndef sys_port_trace_k_thread_msleep_exit
136
#define sys_port_trace_k_thread_msleep_exit(ms, ret)
137
#endif
138
143
#ifndef sys_port_trace_k_thread_usleep_enter
144
#define sys_port_trace_k_thread_usleep_enter(us)
145
#endif
146
152
#ifndef sys_port_trace_k_thread_usleep_exit
153
#define sys_port_trace_k_thread_usleep_exit(us, ret)
154
#endif
155
160
#ifndef sys_port_trace_k_thread_busy_wait_enter
161
#define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait)
162
#endif
163
168
#ifndef sys_port_trace_k_thread_busy_wait_exit
169
#define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait)
170
#endif
171
175
#ifndef sys_port_trace_k_thread_yield
176
#define sys_port_trace_k_thread_yield()
177
#endif
178
183
#ifndef sys_port_trace_k_thread_wakeup
184
#define sys_port_trace_k_thread_wakeup(thread)
185
#endif
186
191
#ifndef sys_port_trace_k_thread_start
192
#define sys_port_trace_k_thread_start(thread)
193
#endif
194
199
#ifndef sys_port_trace_k_thread_abort
200
#define sys_port_trace_k_thread_abort(thread)
201
#endif
202
207
#ifndef sys_port_trace_k_thread_abort_enter
208
#define sys_port_trace_k_thread_abort_enter(thread)
209
#endif
210
215
#ifndef sys_port_trace_k_thread_abort_exit
216
#define sys_port_trace_k_thread_abort_exit(thread)
217
#endif
218
223
#ifndef sys_port_trace_k_thread_priority_set
224
#define sys_port_trace_k_thread_priority_set(thread)
225
#endif
226
232
#ifndef sys_port_trace_k_thread_suspend_enter
233
#define sys_port_trace_k_thread_suspend_enter(thread)
234
#endif
235
241
#ifndef sys_port_trace_k_thread_suspend_exit
242
#define sys_port_trace_k_thread_suspend_exit(thread)
243
#endif
244
250
#ifndef sys_port_trace_k_thread_resume_enter
251
#define sys_port_trace_k_thread_resume_enter(thread)
252
#endif
253
259
#ifndef sys_port_trace_k_thread_resume_exit
260
#define sys_port_trace_k_thread_resume_exit(thread)
261
#endif
262
266
#ifndef sys_port_trace_k_thread_sched_lock
267
#define sys_port_trace_k_thread_sched_lock()
268
#endif
269
273
#ifndef sys_port_trace_k_thread_sched_unlock
274
#define sys_port_trace_k_thread_sched_unlock()
275
#endif
276
282
#ifndef sys_port_trace_k_thread_name_set
283
#define sys_port_trace_k_thread_name_set(thread, ret)
284
#endif
285
289
#ifndef sys_port_trace_k_thread_switched_out
290
#define sys_port_trace_k_thread_switched_out()
291
#endif
292
296
#ifndef sys_port_trace_k_thread_switched_in
297
#define sys_port_trace_k_thread_switched_in()
298
#endif
299
304
#ifndef sys_port_trace_k_thread_ready
305
#define sys_port_trace_k_thread_ready(thread)
306
#endif
307
312
#ifndef sys_port_trace_k_thread_pend
313
#define sys_port_trace_k_thread_pend(thread)
314
#endif
315
320
#ifndef sys_port_trace_k_thread_info
321
#define sys_port_trace_k_thread_info(thread)
322
#endif
323
328
#ifndef sys_port_trace_k_thread_sched_wakeup
329
#define sys_port_trace_k_thread_sched_wakeup(thread)
330
#endif
331
336
#ifndef sys_port_trace_k_thread_sched_abort
337
#define sys_port_trace_k_thread_sched_abort(thread)
338
#endif
339
345
#ifndef sys_port_trace_k_thread_sched_priority_set
346
#define sys_port_trace_k_thread_sched_priority_set(thread, prio)
347
#endif
348
353
#ifndef sys_port_trace_k_thread_sched_ready
354
#define sys_port_trace_k_thread_sched_ready(thread)
355
#endif
356
361
#ifndef sys_port_trace_k_thread_sched_pend
362
#define sys_port_trace_k_thread_sched_pend(thread)
363
#endif
364
369
#ifndef sys_port_trace_k_thread_sched_resume
370
#define sys_port_trace_k_thread_sched_resume(thread)
371
#endif
372
377
#ifndef sys_port_trace_k_thread_sched_suspend
378
#define sys_port_trace_k_thread_sched_suspend(thread)
379
#endif
380
/* end of subsys_tracing_apis_thread */
382
389
394
#ifndef sys_port_trace_k_work_init
395
#define sys_port_trace_k_work_init(work)
396
#endif
397
403
#ifndef sys_port_trace_k_work_submit_to_queue_enter
404
#define sys_port_trace_k_work_submit_to_queue_enter(queue, work)
405
#endif
406
413
#ifndef sys_port_trace_k_work_submit_to_queue_exit
414
#define sys_port_trace_k_work_submit_to_queue_exit(queue, work, ret)
415
#endif
416
421
#ifndef sys_port_trace_k_work_submit_enter
422
#define sys_port_trace_k_work_submit_enter(work)
423
#endif
424
430
#ifndef sys_port_trace_k_work_submit_exit
431
#define sys_port_trace_k_work_submit_exit(work, ret)
432
#endif
433
438
#ifndef sys_port_trace_k_work_flush_enter
439
#define sys_port_trace_k_work_flush_enter(work)
440
#endif
441
447
#ifndef sys_port_trace_k_work_flush_blocking
448
#define sys_port_trace_k_work_flush_blocking(work, timeout)
449
#endif
450
456
#ifndef sys_port_trace_k_work_flush_exit
457
#define sys_port_trace_k_work_flush_exit(work, ret)
458
#endif
459
464
#ifndef sys_port_trace_k_work_cancel_enter
465
#define sys_port_trace_k_work_cancel_enter(work)
466
#endif
467
473
#ifndef sys_port_trace_k_work_cancel_exit
474
#define sys_port_trace_k_work_cancel_exit(work, ret)
475
#endif
476
482
#ifndef sys_port_trace_k_work_cancel_sync_enter
483
#define sys_port_trace_k_work_cancel_sync_enter(work, sync)
484
#endif
485
491
#ifndef sys_port_trace_k_work_cancel_sync_blocking
492
#define sys_port_trace_k_work_cancel_sync_blocking(work, sync)
493
#endif
494
501
#ifndef sys_port_trace_k_work_cancel_sync_exit
502
#define sys_port_trace_k_work_cancel_sync_exit(work, sync, ret)
503
#endif
504
/* end of subsys_tracing_apis_work */
506
513
518
#ifndef sys_port_trace_k_work_queue_init
519
#define sys_port_trace_k_work_queue_init(queue)
520
#endif
521
526
#ifndef sys_port_trace_k_work_queue_start_enter
527
#define sys_port_trace_k_work_queue_start_enter(queue)
528
#endif
529
534
#ifndef sys_port_trace_k_work_queue_start_exit
535
#define sys_port_trace_k_work_queue_start_exit(queue)
536
#endif
537
543
#ifndef sys_port_trace_k_work_queue_stop_enter
544
#define sys_port_trace_k_work_queue_stop_enter(queue, timeout)
545
#endif
546
552
#ifndef sys_port_trace_k_work_queue_stop_blocking
553
#define sys_port_trace_k_work_queue_stop_blocking(queue, timeout)
554
#endif
555
562
#ifndef sys_port_trace_k_work_queue_stop_exit
563
#define sys_port_trace_k_work_queue_stop_exit(queue, timeout, ret)
564
#endif
565
570
#ifndef sys_port_trace_k_work_queue_drain_enter
571
#define sys_port_trace_k_work_queue_drain_enter(queue)
572
#endif
573
579
#ifndef sys_port_trace_k_work_queue_drain_exit
580
#define sys_port_trace_k_work_queue_drain_exit(queue, ret)
581
#endif
582
587
#ifndef sys_port_trace_k_work_queue_unplug_enter
588
#define sys_port_trace_k_work_queue_unplug_enter(queue)
589
#endif
590
596
#ifndef sys_port_trace_k_work_queue_unplug_exit
597
#define sys_port_trace_k_work_queue_unplug_exit(queue, ret)
598
#endif
599
/* end of subsys_tracing_apis_work_q */
601
608
613
#ifndef sys_port_trace_k_work_delayable_init
614
#define sys_port_trace_k_work_delayable_init(dwork)
615
#endif
616
623
#ifndef sys_port_trace_k_work_schedule_for_queue_enter
624
#define sys_port_trace_k_work_schedule_for_queue_enter(queue, dwork, delay)
625
#endif
626
634
#ifndef sys_port_trace_k_work_schedule_for_queue_exit
635
#define sys_port_trace_k_work_schedule_for_queue_exit(queue, dwork, delay, ret)
636
#endif
637
643
#ifndef sys_port_trace_k_work_schedule_enter
644
#define sys_port_trace_k_work_schedule_enter(dwork, delay)
645
#endif
646
653
#ifndef sys_port_trace_k_work_schedule_exit
654
#define sys_port_trace_k_work_schedule_exit(dwork, delay, ret)
655
#endif
656
663
#ifndef sys_port_trace_k_work_reschedule_for_queue_enter
664
#define sys_port_trace_k_work_reschedule_for_queue_enter(queue, dwork, delay)
665
#endif
666
674
#ifndef sys_port_trace_k_work_reschedule_for_queue_exit
675
#define sys_port_trace_k_work_reschedule_for_queue_exit(queue, dwork, delay, ret)
676
#endif
677
683
#ifndef sys_port_trace_k_work_reschedule_enter
684
#define sys_port_trace_k_work_reschedule_enter(dwork, delay)
685
#endif
686
693
#ifndef sys_port_trace_k_work_reschedule_exit
694
#define sys_port_trace_k_work_reschedule_exit(dwork, delay, ret)
695
#endif
696
702
#ifndef sys_port_trace_k_work_flush_delayable_enter
703
#define sys_port_trace_k_work_flush_delayable_enter(dwork, sync)
704
#endif
705
712
#ifndef sys_port_trace_k_work_flush_delayable_exit
713
#define sys_port_trace_k_work_flush_delayable_exit(dwork, sync, ret)
714
#endif
715
720
#ifndef sys_port_trace_k_work_cancel_delayable_enter
721
#define sys_port_trace_k_work_cancel_delayable_enter(dwork)
722
#endif
723
729
#ifndef sys_port_trace_k_work_cancel_delayable_exit
730
#define sys_port_trace_k_work_cancel_delayable_exit(dwork, ret)
731
#endif
732
738
#ifndef sys_port_trace_k_work_cancel_delayable_sync_enter
739
#define sys_port_trace_k_work_cancel_delayable_sync_enter(dwork, sync)
740
#endif
741
748
#ifndef sys_port_trace_k_work_cancel_delayable_sync_exit
749
#define sys_port_trace_k_work_cancel_delayable_sync_exit(dwork, sync, ret)
750
#endif
751
/* end of subsys_tracing_apis_work_delayable */
753
760
765
#ifndef sys_port_trace_k_work_poll_init_enter
766
#define sys_port_trace_k_work_poll_init_enter(work)
767
#endif
768
773
#ifndef sys_port_trace_k_work_poll_init_exit
774
#define sys_port_trace_k_work_poll_init_exit(work)
775
#endif
776
783
#ifndef sys_port_trace_k_work_poll_submit_to_queue_enter
784
#define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, timeout)
785
#endif
786
793
#ifndef sys_port_trace_k_work_poll_submit_to_queue_blocking
794
#define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, timeout)
795
#endif
796
804
#ifndef sys_port_trace_k_work_poll_submit_to_queue_exit
805
#define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, ret)
806
#endif
807
813
#ifndef sys_port_trace_k_work_poll_submit_enter
814
#define sys_port_trace_k_work_poll_submit_enter(work, timeout)
815
#endif
816
823
#ifndef sys_port_trace_k_work_poll_submit_exit
824
#define sys_port_trace_k_work_poll_submit_exit(work, timeout, ret)
825
#endif
826
831
#ifndef sys_port_trace_k_work_poll_cancel_enter
832
#define sys_port_trace_k_work_poll_cancel_enter(work)
833
#endif
834
840
#ifndef sys_port_trace_k_work_poll_cancel_exit
841
#define sys_port_trace_k_work_poll_cancel_exit(work, ret)
842
#endif
843
/* end of subsys_tracing_apis_work_poll */
845
852
857
#ifndef sys_port_trace_k_poll_api_event_init
858
#define sys_port_trace_k_poll_api_event_init(event)
859
#endif
860
865
#ifndef sys_port_trace_k_poll_api_poll_enter
866
#define sys_port_trace_k_poll_api_poll_enter(events)
867
#endif
868
874
#ifndef sys_port_trace_k_poll_api_poll_exit
875
#define sys_port_trace_k_poll_api_poll_exit(events, ret)
876
#endif
877
882
#ifndef sys_port_trace_k_poll_api_signal_init
883
#define sys_port_trace_k_poll_api_signal_init(signal)
884
#endif
885
890
#ifndef sys_port_trace_k_poll_api_signal_reset
891
#define sys_port_trace_k_poll_api_signal_reset(signal)
892
#endif
893
898
#ifndef sys_port_trace_k_poll_api_signal_check
899
#define sys_port_trace_k_poll_api_signal_check(signal)
900
#endif
901
907
#ifndef sys_port_trace_k_poll_api_signal_raise
908
#define sys_port_trace_k_poll_api_signal_raise(signal, ret)
909
#endif
910
/* end of subsys_tracing_apis_poll */
912
919
925
#ifndef sys_port_trace_k_sem_init
926
#define sys_port_trace_k_sem_init(sem, ret)
927
#endif
928
933
#ifndef sys_port_trace_k_sem_give_enter
934
#define sys_port_trace_k_sem_give_enter(sem)
935
#endif
936
941
#ifndef sys_port_trace_k_sem_give_exit
942
#define sys_port_trace_k_sem_give_exit(sem)
943
#endif
944
950
#ifndef sys_port_trace_k_sem_take_enter
951
#define sys_port_trace_k_sem_take_enter(sem, timeout)
952
#endif
953
959
#ifndef sys_port_trace_k_sem_take_blocking
960
#define sys_port_trace_k_sem_take_blocking(sem, timeout)
961
#endif
962
969
#ifndef sys_port_trace_k_sem_take_exit
970
#define sys_port_trace_k_sem_take_exit(sem, timeout, ret)
971
#endif
972
977
#ifndef sys_port_trace_k_sem_reset
978
#define sys_port_trace_k_sem_reset(sem)
979
#endif
980
/* end of subsys_tracing_apis_sem */
982
989
995
#ifndef sys_port_trace_k_mutex_init
996
#define sys_port_trace_k_mutex_init(mutex, ret)
997
#endif
998
1004
#ifndef sys_port_trace_k_mutex_lock_enter
1005
#define sys_port_trace_k_mutex_lock_enter(mutex, timeout)
1006
#endif
1007
1013
#ifndef sys_port_trace_k_mutex_lock_blocking
1014
#define sys_port_trace_k_mutex_lock_blocking(mutex, timeout)
1015
#endif
1016
1023
#ifndef sys_port_trace_k_mutex_lock_exit
1024
#define sys_port_trace_k_mutex_lock_exit(mutex, timeout, ret)
1025
#endif
1026
1031
#ifndef sys_port_trace_k_mutex_unlock_enter
1032
#define sys_port_trace_k_mutex_unlock_enter(mutex)
1033
#endif
1034
1038
#ifndef sys_port_trace_k_mutex_unlock_exit
1039
#define sys_port_trace_k_mutex_unlock_exit(mutex, ret)
1040
#endif
1041
/* end of subsys_tracing_apis_mutex */
1043
1050
1056
#ifndef sys_port_trace_k_condvar_init
1057
#define sys_port_trace_k_condvar_init(condvar, ret)
1058
#endif
1059
1064
#ifndef sys_port_trace_k_condvar_signal_enter
1065
#define sys_port_trace_k_condvar_signal_enter(condvar)
1066
#endif
1067
1073
#ifndef sys_port_trace_k_condvar_signal_blocking
1074
#define sys_port_trace_k_condvar_signal_blocking(condvar, timeout)
1075
#endif
1076
1082
#ifndef sys_port_trace_k_condvar_signal_exit
1083
#define sys_port_trace_k_condvar_signal_exit(condvar, ret)
1084
#endif
1085
1090
#ifndef sys_port_trace_k_condvar_broadcast_enter
1091
#define sys_port_trace_k_condvar_broadcast_enter(condvar)
1092
#endif
1093
1099
#ifndef sys_port_trace_k_condvar_broadcast_exit
1100
#define sys_port_trace_k_condvar_broadcast_exit(condvar, ret)
1101
#endif
1102
1108
#ifndef sys_port_trace_k_condvar_wait_enter
1109
#define sys_port_trace_k_condvar_wait_enter(condvar, timeout)
1110
#endif
1111
1118
#ifndef sys_port_trace_k_condvar_wait_exit
1119
#define sys_port_trace_k_condvar_wait_exit(condvar, timeout, ret)
1120
#endif
1121
/* end of subsys_tracing_apis_condvar */
1123
1130
1135
#ifndef sys_port_trace_k_queue_init
1136
#define sys_port_trace_k_queue_init(queue)
1137
#endif
1138
1143
#ifndef sys_port_trace_k_queue_cancel_wait
1144
#define sys_port_trace_k_queue_cancel_wait(queue)
1145
#endif
1146
1152
#ifndef sys_port_trace_k_queue_queue_insert_enter
1153
#define sys_port_trace_k_queue_queue_insert_enter(queue, alloc)
1154
#endif
1155
1162
#ifndef sys_port_trace_k_queue_queue_insert_blocking
1163
#define sys_port_trace_k_queue_queue_insert_blocking(queue, alloc, timeout)
1164
#endif
1165
1172
#ifndef sys_port_trace_k_queue_queue_insert_exit
1173
#define sys_port_trace_k_queue_queue_insert_exit(queue, alloc, ret)
1174
#endif
1175
1180
#ifndef sys_port_trace_k_queue_append_enter
1181
#define sys_port_trace_k_queue_append_enter(queue)
1182
#endif
1183
1188
#ifndef sys_port_trace_k_queue_append_exit
1189
#define sys_port_trace_k_queue_append_exit(queue)
1190
#endif
1191
1196
#ifndef sys_port_trace_k_queue_alloc_append_enter
1197
#define sys_port_trace_k_queue_alloc_append_enter(queue)
1198
#endif
1199
1205
#ifndef sys_port_trace_k_queue_alloc_append_exit
1206
#define sys_port_trace_k_queue_alloc_append_exit(queue, ret)
1207
#endif
1208
1213
#ifndef sys_port_trace_k_queue_prepend_enter
1214
#define sys_port_trace_k_queue_prepend_enter(queue)
1215
#endif
1216
1221
#ifndef sys_port_trace_k_queue_prepend_exit
1222
#define sys_port_trace_k_queue_prepend_exit(queue)
1223
#endif
1224
1229
#ifndef sys_port_trace_k_queue_alloc_prepend_enter
1230
#define sys_port_trace_k_queue_alloc_prepend_enter(queue)
1231
#endif
1232
1238
#ifndef sys_port_trace_k_queue_alloc_prepend_exit
1239
#define sys_port_trace_k_queue_alloc_prepend_exit(queue, ret)
1240
#endif
1241
1246
#ifndef sys_port_trace_k_queue_insert_enter
1247
#define sys_port_trace_k_queue_insert_enter(queue)
1248
#endif
1249
1255
#ifndef sys_port_trace_k_queue_insert_blocking
1256
#define sys_port_trace_k_queue_insert_blocking(queue, timeout)
1257
#endif
1258
1263
#ifndef sys_port_trace_k_queue_insert_exit
1264
#define sys_port_trace_k_queue_insert_exit(queue)
1265
#endif
1266
1271
#ifndef sys_port_trace_k_queue_append_list_enter
1272
#define sys_port_trace_k_queue_append_list_enter(queue)
1273
#endif
1274
1280
#ifndef sys_port_trace_k_queue_append_list_exit
1281
#define sys_port_trace_k_queue_append_list_exit(queue, ret)
1282
#endif
1283
1288
#ifndef sys_port_trace_k_queue_merge_slist_enter
1289
#define sys_port_trace_k_queue_merge_slist_enter(queue)
1290
#endif
1291
1297
#ifndef sys_port_trace_k_queue_merge_slist_exit
1298
#define sys_port_trace_k_queue_merge_slist_exit(queue, ret)
1299
#endif
1300
1306
#ifndef sys_port_trace_k_queue_get_enter
1307
#define sys_port_trace_k_queue_get_enter(queue, timeout)
1308
#endif
1309
1315
#ifndef sys_port_trace_k_queue_get_blocking
1316
#define sys_port_trace_k_queue_get_blocking(queue, timeout)
1317
#endif
1318
1325
#ifndef sys_port_trace_k_queue_get_exit
1326
#define sys_port_trace_k_queue_get_exit(queue, timeout, ret)
1327
#endif
1328
1333
#ifndef sys_port_trace_k_queue_remove_enter
1334
#define sys_port_trace_k_queue_remove_enter(queue)
1335
#endif
1336
1342
#ifndef sys_port_trace_k_queue_remove_exit
1343
#define sys_port_trace_k_queue_remove_exit(queue, ret)
1344
#endif
1345
1350
#ifndef sys_port_trace_k_queue_unique_append_enter
1351
#define sys_port_trace_k_queue_unique_append_enter(queue)
1352
#endif
1353
1360
#ifndef sys_port_trace_k_queue_unique_append_exit
1361
#define sys_port_trace_k_queue_unique_append_exit(queue, ret)
1362
#endif
1363
1369
#ifndef sys_port_trace_k_queue_peek_head
1370
#define sys_port_trace_k_queue_peek_head(queue, ret)
1371
#endif
1372
1378
#ifndef sys_port_trace_k_queue_peek_tail
1379
#define sys_port_trace_k_queue_peek_tail(queue, ret)
1380
#endif
1381
/* end of subsys_tracing_apis_queue */
1383
1390
1395
#ifndef sys_port_trace_k_fifo_init_enter
1396
#define sys_port_trace_k_fifo_init_enter(fifo)
1397
#endif
1398
1403
#ifndef sys_port_trace_k_fifo_init_exit
1404
#define sys_port_trace_k_fifo_init_exit(fifo)
1405
#endif
1406
1411
#ifndef sys_port_trace_k_fifo_cancel_wait_enter
1412
#define sys_port_trace_k_fifo_cancel_wait_enter(fifo)
1413
#endif
1414
1419
#ifndef sys_port_trace_k_fifo_cancel_wait_exit
1420
#define sys_port_trace_k_fifo_cancel_wait_exit(fifo)
1421
#endif
1422
1428
#ifndef sys_port_trace_k_fifo_put_enter
1429
#define sys_port_trace_k_fifo_put_enter(fifo, data)
1430
#endif
1431
1437
#ifndef sys_port_trace_k_fifo_put_exit
1438
#define sys_port_trace_k_fifo_put_exit(fifo, data)
1439
#endif
1440
1446
#ifndef sys_port_trace_k_fifo_alloc_put_enter
1447
#define sys_port_trace_k_fifo_alloc_put_enter(fifo, data)
1448
#endif
1449
1456
#ifndef sys_port_trace_k_fifo_alloc_put_exit
1457
#define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret)
1458
#endif
1459
1466
#ifndef sys_port_trace_k_fifo_put_list_enter
1467
#define sys_port_trace_k_fifo_put_list_enter(fifo, head, tail)
1468
#endif
1469
1476
#ifndef sys_port_trace_k_fifo_put_list_exit
1477
#define sys_port_trace_k_fifo_put_list_exit(fifo, head, tail)
1478
#endif
1479
1485
#ifndef sys_port_trace_k_fifo_put_slist_enter
1486
#define sys_port_trace_k_fifo_put_slist_enter(fifo, list)
1487
#endif
1488
1494
#ifndef sys_port_trace_k_fifo_put_slist_exit
1495
#define sys_port_trace_k_fifo_put_slist_exit(fifo, list)
1496
#endif
1497
1503
#ifndef sys_port_trace_k_fifo_get_enter
1504
#define sys_port_trace_k_fifo_get_enter(fifo, timeout)
1505
#endif
1506
1513
#ifndef sys_port_trace_k_fifo_get_exit
1514
#define sys_port_trace_k_fifo_get_exit(fifo, timeout, ret)
1515
#endif
1516
1521
#ifndef sys_port_trace_k_fifo_peek_head_enter
1522
#define sys_port_trace_k_fifo_peek_head_enter(fifo)
1523
#endif
1524
1530
#ifndef sys_port_trace_k_fifo_peek_head_exit
1531
#define sys_port_trace_k_fifo_peek_head_exit(fifo, ret)
1532
#endif
1533
1538
#ifndef sys_port_trace_k_fifo_peek_tail_enter
1539
#define sys_port_trace_k_fifo_peek_tail_enter(fifo)
1540
#endif
1541
1547
#ifndef sys_port_trace_k_fifo_peek_tail_exit
1548
#define sys_port_trace_k_fifo_peek_tail_exit(fifo, ret)
1549
#endif
1550
/* end of subsys_tracing_apis_fifo */
1552
1559
1564
#ifndef sys_port_trace_k_lifo_init_enter
1565
#define sys_port_trace_k_lifo_init_enter(lifo)
1566
#endif
1567
1572
#ifndef sys_port_trace_k_lifo_init_exit
1573
#define sys_port_trace_k_lifo_init_exit(lifo)
1574
#endif
1575
1581
#ifndef sys_port_trace_k_lifo_put_enter
1582
#define sys_port_trace_k_lifo_put_enter(lifo, data)
1583
#endif
1584
1590
#ifndef sys_port_trace_k_lifo_put_exit
1591
#define sys_port_trace_k_lifo_put_exit(lifo, data)
1592
#endif
1593
1599
#ifndef sys_port_trace_k_lifo_alloc_put_enter
1600
#define sys_port_trace_k_lifo_alloc_put_enter(lifo, data)
1601
#endif
1602
1609
#ifndef sys_port_trace_k_lifo_alloc_put_exit
1610
#define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret)
1611
#endif
1612
1618
#ifndef sys_port_trace_k_lifo_get_enter
1619
#define sys_port_trace_k_lifo_get_enter(lifo, timeout)
1620
#endif
1621
1628
#ifndef sys_port_trace_k_lifo_get_exit
1629
#define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret)
1630
#endif
1631
/* end of subsys_tracing_apis_lifo */
1633
1640
1645
#ifndef sys_port_trace_k_stack_init
1646
#define sys_port_trace_k_stack_init(stack)
1647
#endif
1648
1653
#ifndef sys_port_trace_k_stack_alloc_init_enter
1654
#define sys_port_trace_k_stack_alloc_init_enter(stack)
1655
#endif
1656
1662
#ifndef sys_port_trace_k_stack_alloc_init_exit
1663
#define sys_port_trace_k_stack_alloc_init_exit(stack, ret)
1664
#endif
1665
1670
#ifndef sys_port_trace_k_stack_cleanup_enter
1671
#define sys_port_trace_k_stack_cleanup_enter(stack)
1672
#endif
1673
1679
#ifndef sys_port_trace_k_stack_cleanup_exit
1680
#define sys_port_trace_k_stack_cleanup_exit(stack, ret)
1681
#endif
1682
1687
#ifndef sys_port_trace_k_stack_push_enter
1688
#define sys_port_trace_k_stack_push_enter(stack)
1689
#endif
1690
1696
#ifndef sys_port_trace_k_stack_push_exit
1697
#define sys_port_trace_k_stack_push_exit(stack, ret)
1698
#endif
1699
1705
#ifndef sys_port_trace_k_stack_pop_enter
1706
#define sys_port_trace_k_stack_pop_enter(stack, timeout)
1707
#endif
1708
1714
#ifndef sys_port_trace_k_stack_pop_blocking
1715
#define sys_port_trace_k_stack_pop_blocking(stack, timeout)
1716
#endif
1717
1724
#ifndef sys_port_trace_k_stack_pop_exit
1725
#define sys_port_trace_k_stack_pop_exit(stack, timeout, ret)
1726
#endif
1727
/* end of subsys_tracing_apis_stack */
1729
1736
1741
#ifndef sys_port_trace_k_msgq_init
1742
#define sys_port_trace_k_msgq_init(msgq)
1743
#endif
1744
1749
#ifndef sys_port_trace_k_msgq_alloc_init_enter
1750
#define sys_port_trace_k_msgq_alloc_init_enter(msgq)
1751
#endif
1752
1758
#ifndef sys_port_trace_k_msgq_alloc_init_exit
1759
#define sys_port_trace_k_msgq_alloc_init_exit(msgq, ret)
1760
#endif
1761
1766
#ifndef sys_port_trace_k_msgq_cleanup_enter
1767
#define sys_port_trace_k_msgq_cleanup_enter(msgq)
1768
#endif
1769
1775
#ifndef sys_port_trace_k_msgq_cleanup_exit
1776
#define sys_port_trace_k_msgq_cleanup_exit(msgq, ret)
1777
#endif
1778
1784
#ifndef sys_port_trace_k_msgq_put_enter
1785
#define sys_port_trace_k_msgq_put_enter(msgq, timeout)
1786
#endif
1787
1793
#ifndef sys_port_trace_k_msgq_put_blocking
1794
#define sys_port_trace_k_msgq_put_blocking(msgq, timeout)
1795
#endif
1796
1803
#ifndef sys_port_trace_k_msgq_put_exit
1804
#define sys_port_trace_k_msgq_put_exit(msgq, timeout, ret)
1805
#endif
1806
1812
#ifndef sys_port_trace_k_msgq_put_front_enter
1813
#define sys_port_trace_k_msgq_put_front_enter(msgq, timeout)
1814
#endif
1815
1821
#ifndef sys_port_trace_k_msgq_put_front_blocking
1822
#define sys_port_trace_k_msgq_put_front_blocking(msgq, timeout)
1823
#endif
1824
1831
#ifndef sys_port_trace_k_msgq_put_front_exit
1832
#define sys_port_trace_k_msgq_put_front_exit(msgq, timeout, ret)
1833
#endif
1834
1840
#ifndef sys_port_trace_k_msgq_get_enter
1841
#define sys_port_trace_k_msgq_get_enter(msgq, timeout)
1842
#endif
1843
1849
#ifndef sys_port_trace_k_msgq_get_blocking
1850
#define sys_port_trace_k_msgq_get_blocking(msgq, timeout)
1851
#endif
1852
1859
#ifndef sys_port_trace_k_msgq_get_exit
1860
#define sys_port_trace_k_msgq_get_exit(msgq, timeout, ret)
1861
#endif
1862
1868
#ifndef sys_port_trace_k_msgq_peek
1869
#define sys_port_trace_k_msgq_peek(msgq, ret)
1870
#endif
1871
1876
#ifndef sys_port_trace_k_msgq_purge
1877
#define sys_port_trace_k_msgq_purge(msgq)
1878
#endif
1879
/* end of subsys_tracing_apis_msgq */
1881
1888
1893
#ifndef sys_port_trace_k_mbox_init
1894
#define sys_port_trace_k_mbox_init(mbox)
1895
#endif
1896
1902
#ifndef sys_port_trace_k_mbox_message_put_enter
1903
#define sys_port_trace_k_mbox_message_put_enter(mbox, timeout)
1904
#endif
1905
1911
#ifndef sys_port_trace_k_mbox_message_put_blocking
1912
#define sys_port_trace_k_mbox_message_put_blocking(mbox, timeout)
1913
#endif
1914
1921
#ifndef sys_port_trace_k_mbox_message_put_exit
1922
#define sys_port_trace_k_mbox_message_put_exit(mbox, timeout, ret)
1923
#endif
1924
1930
#ifndef sys_port_trace_k_mbox_put_enter
1931
#define sys_port_trace_k_mbox_put_enter(mbox, timeout)
1932
#endif
1933
1940
#ifndef sys_port_trace_k_mbox_put_exit
1941
#define sys_port_trace_k_mbox_put_exit(mbox, timeout, ret)
1942
#endif
1943
1949
#ifndef sys_port_trace_k_mbox_async_put_enter
1950
#define sys_port_trace_k_mbox_async_put_enter(mbox, sem)
1951
#endif
1952
1958
#ifndef sys_port_trace_k_mbox_async_put_exit
1959
#define sys_port_trace_k_mbox_async_put_exit(mbox, sem)
1960
#endif
1961
1967
#ifndef sys_port_trace_k_mbox_get_enter
1968
#define sys_port_trace_k_mbox_get_enter(mbox, timeout)
1969
#endif
1970
1976
#ifndef sys_port_trace_k_mbox_get_blocking
1977
#define sys_port_trace_k_mbox_get_blocking(mbox, timeout)
1978
#endif
1979
1986
#ifndef sys_port_trace_k_mbox_get_exit
1987
#define sys_port_trace_k_mbox_get_exit(mbox, timeout, ret)
1988
#endif
1989
1994
#ifndef sys_port_trace_k_mbox_data_get
1995
#define sys_port_trace_k_mbox_data_get(rx_msg)
1996
#endif
1997
/* end of subsys_tracing_apis_mbox */
1999
2006
2013
#ifndef sys_port_trace_k_pipe_init
2014
#define sys_port_trace_k_pipe_init(pipe, buffer, size)
2015
#endif
2016
2021
#ifndef sys_port_trace_k_pipe_reset_enter
2022
#define sys_port_trace_k_pipe_reset_enter(pipe)
2023
#endif
2024
2029
#ifndef sys_port_trace_k_pipe_reset_exit
2030
#define sys_port_trace_k_pipe_reset_exit(pipe)
2031
#endif
2032
2037
#ifndef sys_port_trace_k_pipe_close_enter
2038
#define sys_port_trace_k_pipe_close_enter(pipe)
2039
#endif
2040
2045
#ifndef sys_port_trace_k_pipe_close_exit
2046
#define sys_port_trace_k_pipe_close_exit(pipe)
2047
#endif
2048
2056
#ifndef sys_port_trace_k_pipe_write_enter
2057
#define sys_port_trace_k_pipe_write_enter(pipe, data, len, timeout)
2058
#endif
2059
2065
#ifndef sys_port_trace_k_pipe_write_blocking
2066
#define sys_port_trace_k_pipe_write_blocking(pipe, timeout)
2067
#endif
2068
2074
#ifndef sys_port_trace_k_pipe_write_exit
2075
#define sys_port_trace_k_pipe_write_exit(pipe, ret)
2076
#endif
2077
2085
#ifndef sys_port_trace_k_pipe_read_enter
2086
#define sys_port_trace_k_pipe_read_enter(pipe, data, len, timeout)
2087
#endif
2088
2094
#ifndef sys_port_trace_k_pipe_read_blocking
2095
#define sys_port_trace_k_pipe_read_blocking(pipe, timeout)
2096
#endif
2097
2103
#ifndef sys_port_trace_k_pipe_read_exit
2104
#define sys_port_trace_k_pipe_read_exit(pipe, ret)
2105
#endif
2106
/* end of subsys_tracing_apis_pipe */
2108
2115
2120
#ifndef sys_port_trace_k_heap_init
2121
#define sys_port_trace_k_heap_init(h)
2122
#endif
2123
2129
#ifndef sys_port_trace_k_heap_aligned_alloc_enter
2130
#define sys_port_trace_k_heap_aligned_alloc_enter(h, timeout)
2131
#endif
2132
2138
#ifndef sys_port_trace_k_heap_alloc_helper_blocking
2139
#define sys_port_trace_k_heap_alloc_helper_blocking(h, timeout)
2140
#endif
2141
2148
#ifndef sys_port_trace_k_heap_aligned_alloc_exit
2149
#define sys_port_trace_k_heap_aligned_alloc_exit(h, timeout, ret)
2150
#endif
2151
2157
#ifndef sys_port_trace_k_heap_alloc_enter
2158
#define sys_port_trace_k_heap_alloc_enter(h, timeout)
2159
#endif
2160
2167
#ifndef sys_port_trace_k_heap_alloc_exit
2168
#define sys_port_trace_k_heap_alloc_exit(h, timeout, ret)
2169
#endif
2170
2176
#ifndef sys_port_trace_k_heap_calloc_enter
2177
#define sys_port_trace_k_heap_calloc_enter(h, timeout)
2178
#endif
2179
2186
#ifndef sys_port_trace_k_heap_calloc_exit
2187
#define sys_port_trace_k_heap_calloc_exit(h, timeout, ret)
2188
#endif
2189
2194
#ifndef sys_port_trace_k_heap_free
2195
#define sys_port_trace_k_heap_free(h)
2196
#endif
2197
2205
#ifndef sys_port_trace_k_heap_realloc_enter
2206
#define sys_port_trace_k_heap_realloc_enter(h, ptr, bytes, timeout)
2207
#endif
2208
2217
#ifndef sys_port_trace_k_heap_realloc_exit
2218
#define sys_port_trace_k_heap_realloc_exit(h, ptr, bytes, timeout, ret)
2219
#endif
2220
2225
#ifndef sys_port_trace_k_heap_sys_k_aligned_alloc_enter
2226
#define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap)
2227
#endif
2228
2234
#ifndef sys_port_trace_k_heap_sys_k_aligned_alloc_exit
2235
#define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret)
2236
#endif
2237
2242
#ifndef sys_port_trace_k_heap_sys_k_malloc_enter
2243
#define sys_port_trace_k_heap_sys_k_malloc_enter(heap)
2244
#endif
2245
2251
#ifndef sys_port_trace_k_heap_sys_k_malloc_exit
2252
#define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret)
2253
#endif
2254
2260
#ifndef sys_port_trace_k_heap_sys_k_free_enter
2261
#define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref)
2262
#endif
2263
2269
#ifndef sys_port_trace_k_heap_sys_k_free_exit
2270
#define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref)
2271
#endif
2272
2277
#ifndef sys_port_trace_k_heap_sys_k_calloc_enter
2278
#define sys_port_trace_k_heap_sys_k_calloc_enter(heap)
2279
#endif
2280
2286
#ifndef sys_port_trace_k_heap_sys_k_calloc_exit
2287
#define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret)
2288
#endif
2289
2295
#ifndef sys_port_trace_k_heap_sys_k_realloc_enter
2296
#define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr)
2297
#endif
2298
2305
#ifndef sys_port_trace_k_heap_sys_k_realloc_exit
2306
#define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret)
2307
#endif
2308
/* end of subsys_tracing_apis_heap */
2310
2317
2323
#ifndef sys_port_trace_k_mem_slab_init
2324
#define sys_port_trace_k_mem_slab_init(slab, rc)
2325
#endif
2326
2332
#ifndef sys_port_trace_k_mem_slab_alloc_enter
2333
#define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout)
2334
#endif
2335
2341
#ifndef sys_port_trace_k_mem_slab_alloc_blocking
2342
#define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout)
2343
#endif
2344
2351
#ifndef sys_port_trace_k_mem_slab_alloc_exit
2352
#define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret)
2353
#endif
2354
2359
#ifndef sys_port_trace_k_mem_slab_free_enter
2360
#define sys_port_trace_k_mem_slab_free_enter(slab)
2361
#endif
2362
2367
#ifndef sys_port_trace_k_mem_slab_free_exit
2368
#define sys_port_trace_k_mem_slab_free_exit(slab)
2369
#endif
2370
/* end of subsys_tracing_apis_mslab */
2372
2379
2384
#ifndef sys_port_trace_k_timer_init
2385
#define sys_port_trace_k_timer_init(timer)
2386
#endif
2387
2394
#ifndef sys_port_trace_k_timer_start
2395
#define sys_port_trace_k_timer_start(timer, duration, period)
2396
#endif
2397
2402
#ifndef sys_port_trace_k_timer_stop
2403
#define sys_port_trace_k_timer_stop(timer)
2404
#endif
2405
2410
#ifndef sys_port_trace_k_timer_status_sync_enter
2411
#define sys_port_trace_k_timer_status_sync_enter(timer)
2412
#endif
2413
2419
#ifndef sys_port_trace_k_timer_status_sync_blocking
2420
#define sys_port_trace_k_timer_status_sync_blocking(timer, timeout)
2421
#endif
2422
2428
#ifndef sys_port_trace_k_timer_status_sync_exit
2429
#define sys_port_trace_k_timer_status_sync_exit(timer, result)
2430
#endif
2431
2436
#ifndef sys_port_trace_k_timer_expiry_enter
2437
#define sys_port_trace_k_timer_expiry_enter(timer)
2438
#endif
2439
2444
#ifndef sys_port_trace_k_timer_expiry_exit
2445
#define sys_port_trace_k_timer_expiry_exit(timer)
2446
#endif
2447
2452
#ifndef sys_port_trace_k_timer_stop_fn_expiry_enter
2453
#define sys_port_trace_k_timer_stop_fn_expiry_enter(timer)
2454
#endif
2455
2460
#ifndef sys_port_trace_k_timer_stop_fn_expiry_exit
2461
#define sys_port_trace_k_timer_stop_fn_expiry_exit(timer)
2462
#endif
2463
2468
#ifndef sys_port_trace_k_timer_cleanup_enter
2469
#define sys_port_trace_k_timer_cleanup_enter(timer)
2470
#endif
2471
2477
#ifndef sys_port_trace_k_timer_cleanup_exit
2478
#define sys_port_trace_k_timer_cleanup_exit(timer, ret)
2479
#endif
2480
/* end of subsys_tracing_apis_timer */
2482
2489
2494
#ifndef sys_port_trace_k_event_init
2495
#define sys_port_trace_k_event_init(event)
2496
#endif
2497
2504
#ifndef sys_port_trace_k_event_post_enter
2505
#define sys_port_trace_k_event_post_enter(event, events, events_mask)
2506
#endif
2507
2514
#ifndef sys_port_trace_k_event_post_exit
2515
#define sys_port_trace_k_event_post_exit(event, events, events_mask)
2516
#endif
2517
2525
#ifndef sys_port_trace_k_event_wait_enter
2526
#define sys_port_trace_k_event_wait_enter(event, events, options, timeout)
2527
#endif
2528
2536
#ifndef sys_port_trace_k_event_wait_blocking
2537
#define sys_port_trace_k_event_wait_blocking(event, events, options, timeout)
2538
#endif
2539
2546
#ifndef sys_port_trace_k_event_wait_exit
2547
#define sys_port_trace_k_event_wait_exit(event, events, ret)
2548
#endif
2549
/* end of subsys_tracing_apis_event */
2551
2558
2563
#ifndef sys_port_trace_pm_system_suspend_enter
2564
#define sys_port_trace_pm_system_suspend_enter(ticks)
2565
#endif
2566
2572
#ifndef sys_port_trace_pm_system_suspend_exit
2573
#define sys_port_trace_pm_system_suspend_exit(ticks, state)
2574
#endif
2575
/* end of subsys_tracing_apis_pm_system */
2577
2584
2589
#ifndef sys_port_trace_pm_device_runtime_get_enter
2590
#define sys_port_trace_pm_device_runtime_get_enter(dev)
2591
#endif
2592
2598
#ifndef sys_port_trace_pm_device_runtime_get_exit
2599
#define sys_port_trace_pm_device_runtime_get_exit(dev, ret)
2600
#endif
2601
2606
#ifndef sys_port_trace_pm_device_runtime_put_enter
2607
#define sys_port_trace_pm_device_runtime_put_enter(dev)
2608
#endif
2609
2615
#ifndef sys_port_trace_pm_device_runtime_put_exit
2616
#define sys_port_trace_pm_device_runtime_put_exit(dev, ret)
2617
#endif
2618
2624
#ifndef sys_port_trace_pm_device_runtime_put_async_enter
2625
#define sys_port_trace_pm_device_runtime_put_async_enter(dev, delay)
2626
#endif
2627
2634
#ifndef sys_port_trace_pm_device_runtime_put_async_exit
2635
#define sys_port_trace_pm_device_runtime_put_async_exit(dev, delay, ret)
2636
#endif
2637
2642
#ifndef sys_port_trace_pm_device_runtime_enable_enter
2643
#define sys_port_trace_pm_device_runtime_enable_enter(dev)
2644
#endif
2645
2651
#ifndef sys_port_trace_pm_device_runtime_enable_exit
2652
#define sys_port_trace_pm_device_runtime_enable_exit(dev, ret)
2653
#endif
2654
2659
#ifndef sys_port_trace_pm_device_runtime_disable_enter
2660
#define sys_port_trace_pm_device_runtime_disable_enter(dev)
2661
#endif
2662
2668
#ifndef sys_port_trace_pm_device_runtime_disable_exit
2669
#define sys_port_trace_pm_device_runtime_disable_exit(dev, ret)
2670
#endif
2671
/* end of subsys_tracing_apis_pm_device_runtime */
2673
2680
2686
#ifndef sys_port_trace_net_recv_data_enter
2687
#define sys_port_trace_net_recv_data_enter(iface, pkt)
2688
#endif
2689
2696
#ifndef sys_port_trace_net_recv_data_exit
2697
#define sys_port_trace_net_recv_data_exit(iface, pkt, ret)
2698
#endif
2699
2704
#ifndef sys_port_trace_net_send_data_enter
2705
#define sys_port_trace_net_send_data_enter(pkt)
2706
#endif
2707
2713
#ifndef sys_port_trace_net_send_data_exit
2714
#define sys_port_trace_net_send_data_exit(pkt, ret)
2715
#endif
2716
2722
#ifndef sys_port_trace_net_rx_time
2723
#define sys_port_trace_net_rx_time(pkt, end_time)
2724
#endif
2725
2731
#ifndef sys_port_trace_net_tx_time
2732
#define sys_port_trace_net_tx_time(pkt, end_time)
2733
#endif
2734
/* end of subsys_tracing_apis_net */
2736
2743
2751
#ifndef sys_port_trace_socket_init
2752
#define sys_port_trace_socket_init(socket, family, type, proto)
2753
#endif
2754
2759
#ifndef sys_port_trace_socket_close_enter
2760
#define sys_port_trace_socket_close_enter(socket)
2761
#endif
2762
2768
#ifndef sys_port_trace_socket_close_exit
2769
#define sys_port_trace_socket_close_exit(socket, ret)
2770
#endif
2771
2777
#ifndef sys_port_trace_socket_shutdown_enter
2778
#define sys_port_trace_socket_shutdown_enter(socket, how)
2779
#endif
2780
2786
#ifndef sys_port_trace_socket_shutdown_exit
2787
#define sys_port_trace_socket_shutdown_exit(socket, ret)
2788
#endif
2789
2796
#ifndef sys_port_trace_socket_bind_enter
2797
#define sys_port_trace_socket_bind_enter(socket, addr, addrlen)
2798
#endif
2799
2805
#ifndef sys_port_trace_socket_bind_exit
2806
#define sys_port_trace_socket_bind_exit(socket, ret)
2807
#endif
2808
2815
#ifndef sys_port_trace_socket_connect_enter
2816
#define sys_port_trace_socket_connect_enter(socket, addr, addrlen)
2817
#endif
2818
2824
#ifndef sys_port_trace_socket_connect_exit
2825
#define sys_port_trace_socket_connect_exit(socket, ret)
2826
#endif
2827
2833
#ifndef sys_port_trace_socket_listen_enter
2834
#define sys_port_trace_socket_listen_enter(socket, backlog)
2835
#endif
2836
2842
#ifndef sys_port_trace_socket_listen_exit
2843
#define sys_port_trace_socket_listen_exit(socket, ret)
2844
#endif
2845
2850
#ifndef sys_port_trace_socket_accept_enter
2851
#define sys_port_trace_socket_accept_enter(socket)
2852
#endif
2853
2861
#ifndef sys_port_trace_socket_accept_exit
2862
#define sys_port_trace_socket_accept_exit(socket, addr, addrlen, ret)
2863
#endif
2864
2873
#ifndef sys_port_trace_socket_sendto_enter
2874
#define sys_port_trace_socket_sendto_enter(socket, len, flags, dest_addr, addrlen)
2875
#endif
2876
2882
#ifndef sys_port_trace_socket_sendto_exit
2883
#define sys_port_trace_socket_sendto_exit(socket, ret)
2884
#endif
2885
2892
#ifndef sys_port_trace_socket_sendmsg_enter
2893
#define sys_port_trace_socket_sendmsg_enter(socket, msg, flags)
2894
#endif
2895
2901
#ifndef sys_port_trace_socket_sendmsg_exit
2902
#define sys_port_trace_socket_sendmsg_exit(socket, ret)
2903
#endif
2904
2913
#ifndef sys_port_trace_socket_recvfrom_enter
2914
#define sys_port_trace_socket_recvfrom_enter(socket, max_len, flags, addr, addrlen)
2915
#endif
2916
2924
#ifndef sys_port_trace_socket_recvfrom_exit
2925
#define sys_port_trace_socket_recvfrom_exit(socket, src_addr, addrlen, ret)
2926
#endif
2927
2934
#ifndef sys_port_trace_socket_recvmsg_enter
2935
#define sys_port_trace_socket_recvmsg_enter(socket, msg, flags)
2936
#endif
2937
2944
#ifndef sys_port_trace_socket_recvmsg_exit
2945
#define sys_port_trace_socket_recvmsg_exit(socket, msg, ret)
2946
#endif
2947
2954
#ifndef sys_port_trace_socket_fcntl_enter
2955
#define sys_port_trace_socket_fcntl_enter(socket, cmd, flags)
2956
#endif
2957
2963
#ifndef sys_port_trace_socket_fcntl_exit
2964
#define sys_port_trace_socket_fcntl_exit(socket, ret)
2965
#endif
2966
2972
#ifndef sys_port_trace_socket_ioctl_enter
2973
#define sys_port_trace_socket_ioctl_enter(socket, req)
2974
#endif
2975
2981
#ifndef sys_port_trace_socket_ioctl_exit
2982
#define sys_port_trace_socket_ioctl_exit(socket, ret)
2983
#endif
2984
2991
#ifndef sys_port_trace_socket_poll_enter
2992
#define sys_port_trace_socket_poll_enter(fds, nfds, timeout)
2993
#endif
2994
3001
#ifndef sys_port_trace_socket_poll_exit
3002
#define sys_port_trace_socket_poll_exit(fds, nfds, ret)
3003
#endif
3004
3011
#ifndef sys_port_trace_socket_getsockopt_enter
3012
#define sys_port_trace_socket_getsockopt_enter(socket, level, optname)
3013
#endif
3014
3024
#ifndef sys_port_trace_socket_getsockopt_exit
3025
#define sys_port_trace_socket_getsockopt_exit(socket, level, optname, optval, optlen, ret)
3026
#endif
3027
3036
#ifndef sys_port_trace_socket_setsockopt_enter
3037
#define sys_port_trace_socket_setsockopt_enter(socket, level, optname, optval, optlen)
3038
#endif
3039
3045
#ifndef sys_port_trace_socket_setsockopt_exit
3046
#define sys_port_trace_socket_setsockopt_exit(socket, ret)
3047
#endif
3048
3053
#ifndef sys_port_trace_socket_getpeername_enter
3054
#define sys_port_trace_socket_getpeername_enter(socket)
3055
#endif
3056
3064
#ifndef sys_port_trace_socket_getpeername_exit
3065
#define sys_port_trace_socket_getpeername_exit(socket, addr, addrlen, ret)
3066
#endif
3067
3072
#ifndef sys_port_trace_socket_getsockname_enter
3073
#define sys_port_trace_socket_getsockname_enter(socket)
3074
#endif
3075
3083
#ifndef sys_port_trace_socket_getsockname_exit
3084
#define sys_port_trace_socket_getsockname_exit(socket, addr, addrlen, ret)
3085
#endif
3086
3094
#ifndef sys_port_trace_socket_socketpair_enter
3095
#define sys_port_trace_socket_socketpair_enter(family, type, proto, sv)
3096
#endif
3097
3104
#ifndef sys_port_trace_socket_socketpair_exit
3105
#define sys_port_trace_socket_socketpair_exit(socket_A, socket_B, ret)
3106
#endif
3107
/* end of subsys_tracing_apis_socket */
3109
3110
/*
3111
* Note: sys_trace_named_event() is a function-style public API (implemented as a
3112
* real function by backends such as CTF), not a sys_port_trace_* macro hook. Its
3113
* disabled-state no-op lives in tracing.h's no-format branch, not here, so that
3114
* this fallback (included for every backend) does not clobber a backend's function.
3115
*/
3116
3123
3130
#ifndef sys_port_trace_gpio_pin_interrupt_configure_enter
3131
#define sys_port_trace_gpio_pin_interrupt_configure_enter(port, pin, flags)
3132
#endif
3133
3140
#ifndef sys_port_trace_gpio_pin_interrupt_configure_exit
3141
#define sys_port_trace_gpio_pin_interrupt_configure_exit(port, pin, ret)
3142
#endif
3143
3150
#ifndef sys_port_trace_gpio_pin_configure_enter
3151
#define sys_port_trace_gpio_pin_configure_enter(port, pin, flags)
3152
#endif
3153
3160
#ifndef sys_port_trace_gpio_pin_configure_exit
3161
#define sys_port_trace_gpio_pin_configure_exit(port, pin, ret)
3162
#endif
3163
3171
#ifndef sys_port_trace_gpio_port_get_direction_enter
3172
#define sys_port_trace_gpio_port_get_direction_enter(port, map, inputs, outputs)
3173
#endif
3174
3180
#ifndef sys_port_trace_gpio_port_get_direction_exit
3181
#define sys_port_trace_gpio_port_get_direction_exit(port, ret)
3182
#endif
3183
3190
#ifndef sys_port_trace_gpio_pin_get_config_enter
3191
#define sys_port_trace_gpio_pin_get_config_enter(port, pin, flags)
3192
#endif
3193
3200
#ifndef sys_port_trace_gpio_pin_get_config_exit
3201
#define sys_port_trace_gpio_pin_get_config_exit(port, pin, ret)
3202
#endif
3203
3209
#ifndef sys_port_trace_gpio_port_get_raw_enter
3210
#define sys_port_trace_gpio_port_get_raw_enter(port, value)
3211
#endif
3212
3218
#ifndef sys_port_trace_gpio_port_get_raw_exit
3219
#define sys_port_trace_gpio_port_get_raw_exit(port, ret)
3220
#endif
3221
3228
#ifndef sys_port_trace_gpio_port_set_masked_raw_enter
3229
#define sys_port_trace_gpio_port_set_masked_raw_enter(port, mask, value)
3230
#endif
3231
3237
#ifndef sys_port_trace_gpio_port_set_masked_raw_exit
3238
#define sys_port_trace_gpio_port_set_masked_raw_exit(port, ret)
3239
#endif
3240
3246
#ifndef sys_port_trace_gpio_port_set_bits_raw_enter
3247
#define sys_port_trace_gpio_port_set_bits_raw_enter(port, pins)
3248
#endif
3249
3255
#ifndef sys_port_trace_gpio_port_set_bits_raw_exit
3256
#define sys_port_trace_gpio_port_set_bits_raw_exit(port, ret)
3257
#endif
3258
3264
#ifndef sys_port_trace_gpio_port_clear_bits_raw_enter
3265
#define sys_port_trace_gpio_port_clear_bits_raw_enter(port, pins)
3266
#endif
3267
3273
#ifndef sys_port_trace_gpio_port_clear_bits_raw_exit
3274
#define sys_port_trace_gpio_port_clear_bits_raw_exit(port, ret)
3275
#endif
3276
3282
#ifndef sys_port_trace_gpio_port_toggle_bits_enter
3283
#define sys_port_trace_gpio_port_toggle_bits_enter(port, pins)
3284
#endif
3285
3291
#ifndef sys_port_trace_gpio_port_toggle_bits_exit
3292
#define sys_port_trace_gpio_port_toggle_bits_exit(port, ret)
3293
#endif
3294
3301
#ifndef sys_port_trace_gpio_init_callback_enter
3302
#define sys_port_trace_gpio_init_callback_enter(callback, handler, pin_mask)
3303
#endif
3304
3309
#ifndef sys_port_trace_gpio_init_callback_exit
3310
#define sys_port_trace_gpio_init_callback_exit(callback)
3311
#endif
3312
3318
#ifndef sys_port_trace_gpio_add_callback_enter
3319
#define sys_port_trace_gpio_add_callback_enter(port, callback)
3320
#endif
3321
3327
#ifndef sys_port_trace_gpio_add_callback_exit
3328
#define sys_port_trace_gpio_add_callback_exit(port, ret)
3329
#endif
3330
3336
#ifndef sys_port_trace_gpio_remove_callback_enter
3337
#define sys_port_trace_gpio_remove_callback_enter(port, callback)
3338
#endif
3339
3345
#ifndef sys_port_trace_gpio_remove_callback_exit
3346
#define sys_port_trace_gpio_remove_callback_exit(port, ret)
3347
#endif
3348
3353
#ifndef sys_port_trace_gpio_get_pending_int_enter
3354
#define sys_port_trace_gpio_get_pending_int_enter(dev)
3355
#endif
3356
3362
#ifndef sys_port_trace_gpio_get_pending_int_exit
3363
#define sys_port_trace_gpio_get_pending_int_exit(dev, ret)
3364
#endif
3365
3372
#ifndef sys_port_trace_gpio_fire_callbacks_enter
3373
#define sys_port_trace_gpio_fire_callbacks_enter(list, port, pins)
3374
#endif
3375
3381
#ifndef sys_port_trace_gpio_fire_callback
3382
#define sys_port_trace_gpio_fire_callback(port, callback)
3383
#endif
3384
/* end of subsys_tracing_apis_gpio */
3386
3393
3399
#ifndef sys_port_trace_rtio_submit_enter
3400
#define sys_port_trace_rtio_submit_enter(rtio, wait_count)
3401
#endif
3402
3407
#ifndef sys_port_trace_rtio_submit_exit
3408
#define sys_port_trace_rtio_submit_exit(rtio)
3409
#endif
3410
3415
#ifndef sys_port_trace_rtio_sqe_acquire_enter
3416
#define sys_port_trace_rtio_sqe_acquire_enter(rtio)
3417
#endif
3418
3424
#ifndef sys_port_trace_rtio_sqe_acquire_exit
3425
#define sys_port_trace_rtio_sqe_acquire_exit(rtio, sqe)
3426
#endif
3427
3432
#ifndef sys_port_trace_rtio_sqe_cancel
3433
#define sys_port_trace_rtio_sqe_cancel(sqe)
3434
#endif
3435
3442
#ifndef sys_port_trace_rtio_cqe_submit_enter
3443
#define sys_port_trace_rtio_cqe_submit_enter(rtio, result, flags)
3444
#endif
3445
3450
#ifndef sys_port_trace_rtio_cqe_submit_exit
3451
#define sys_port_trace_rtio_cqe_submit_exit(rtio)
3452
#endif
3453
3458
#ifndef sys_port_trace_rtio_cqe_acquire_enter
3459
#define sys_port_trace_rtio_cqe_acquire_enter(rtio)
3460
#endif
3461
3467
#ifndef sys_port_trace_rtio_cqe_acquire_exit
3468
#define sys_port_trace_rtio_cqe_acquire_exit(rtio, cqe)
3469
#endif
3470
3476
#ifndef sys_port_trace_rtio_cqe_release
3477
#define sys_port_trace_rtio_cqe_release(rtio, cqe)
3478
#endif
3479
3484
#ifndef sys_port_trace_rtio_cqe_consume_enter
3485
#define sys_port_trace_rtio_cqe_consume_enter(rtio)
3486
#endif
3487
3493
#ifndef sys_port_trace_rtio_cqe_consume_exit
3494
#define sys_port_trace_rtio_cqe_consume_exit(rtio, cqe)
3495
#endif
3496
3502
#ifndef sys_port_trace_rtio_txn_next_enter
3503
#define sys_port_trace_rtio_txn_next_enter(rtio, iodev_sqe)
3504
#endif
3505
3511
#ifndef sys_port_trace_rtio_txn_next_exit
3512
#define sys_port_trace_rtio_txn_next_exit(rtio, iodev_sqe)
3513
#endif
3514
3520
#ifndef sys_port_trace_rtio_chain_next_enter
3521
#define sys_port_trace_rtio_chain_next_enter(rtio, iodev_sqe)
3522
#endif
3523
3529
#ifndef sys_port_trace_rtio_chain_next_exit
3530
#define sys_port_trace_rtio_chain_next_exit(rtio, iodev_sqe)
3531
#endif
3532
/* end of subsys_tracing_apis_rtio */
3534
3544
3549
#ifndef sys_port_trace_k_pipe_alloc_init_enter
3550
#define sys_port_trace_k_pipe_alloc_init_enter(pipe)
3551
#endif
3557
#ifndef sys_port_trace_k_pipe_alloc_init_exit
3558
#define sys_port_trace_k_pipe_alloc_init_exit(pipe, ret)
3559
#endif
3564
#ifndef sys_port_trace_k_pipe_buffer_flush_enter
3565
#define sys_port_trace_k_pipe_buffer_flush_enter(pipe)
3566
#endif
3571
#ifndef sys_port_trace_k_pipe_buffer_flush_exit
3572
#define sys_port_trace_k_pipe_buffer_flush_exit(pipe)
3573
#endif
3578
#ifndef sys_port_trace_k_pipe_cleanup_enter
3579
#define sys_port_trace_k_pipe_cleanup_enter(pipe)
3580
#endif
3586
#ifndef sys_port_trace_k_pipe_cleanup_exit
3587
#define sys_port_trace_k_pipe_cleanup_exit(pipe, ret)
3588
#endif
3593
#ifndef sys_port_trace_k_pipe_flush_enter
3594
#define sys_port_trace_k_pipe_flush_enter(pipe)
3595
#endif
3600
#ifndef sys_port_trace_k_pipe_flush_exit
3601
#define sys_port_trace_k_pipe_flush_exit(pipe)
3602
#endif
3608
#ifndef sys_port_trace_k_pipe_get_blocking
3609
#define sys_port_trace_k_pipe_get_blocking(pipe, timeout)
3610
#endif
3616
#ifndef sys_port_trace_k_pipe_get_enter
3617
#define sys_port_trace_k_pipe_get_enter(pipe, timeout)
3618
#endif
3625
#ifndef sys_port_trace_k_pipe_get_exit
3626
#define sys_port_trace_k_pipe_get_exit(pipe, timeout, ret)
3627
#endif
3633
#ifndef sys_port_trace_k_pipe_put_blocking
3634
#define sys_port_trace_k_pipe_put_blocking(pipe, timeout)
3635
#endif
3641
#ifndef sys_port_trace_k_pipe_put_enter
3642
#define sys_port_trace_k_pipe_put_enter(pipe, timeout)
3643
#endif
3650
#ifndef sys_port_trace_k_pipe_put_exit
3651
#define sys_port_trace_k_pipe_put_exit(pipe, timeout, ret)
3652
#endif
3658
#ifndef sys_port_trace_k_thread_heap_assign
3659
#define sys_port_trace_k_thread_heap_assign(thread, heap)
3660
#endif
3666
#ifndef sys_port_trace_syscall_exit
3667
#define sys_port_trace_syscall_exit(id, name, ...)
3668
#endif
3669
/* end of subsys_tracing_apis_backend_ext */
3671
3672
#endif
/* ZEPHYR_INCLUDE_TRACING_TRACING_HOOKS_H_ */
include
zephyr
tracing
tracing_hooks.h
Generated on
for Zephyr Project API by
1.16.1