Zephyr API Documentation
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
110
#ifndef sys_port_trace_k_thread_sleep_ticks_enter
111
#define sys_port_trace_k_thread_sleep_ticks_enter(timeout)
112
#endif
113
120
#ifndef sys_port_trace_k_thread_sleep_ticks_exit
121
#define sys_port_trace_k_thread_sleep_ticks_exit(timeout, ret)
122
#endif
123
128
#ifndef sys_port_trace_k_thread_busy_wait_enter
129
#define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait)
130
#endif
131
136
#ifndef sys_port_trace_k_thread_busy_wait_exit
137
#define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait)
138
#endif
139
143
#ifndef sys_port_trace_k_thread_yield
144
#define sys_port_trace_k_thread_yield()
145
#endif
146
151
#ifndef sys_port_trace_k_thread_wakeup
152
#define sys_port_trace_k_thread_wakeup(thread)
153
#endif
154
159
#ifndef sys_port_trace_k_thread_start
160
#define sys_port_trace_k_thread_start(thread)
161
#endif
162
167
#ifndef sys_port_trace_k_thread_abort
168
#define sys_port_trace_k_thread_abort(thread)
169
#endif
170
175
#ifndef sys_port_trace_k_thread_abort_enter
176
#define sys_port_trace_k_thread_abort_enter(thread)
177
#endif
178
183
#ifndef sys_port_trace_k_thread_abort_exit
184
#define sys_port_trace_k_thread_abort_exit(thread)
185
#endif
186
191
#ifndef sys_port_trace_k_thread_priority_set
192
#define sys_port_trace_k_thread_priority_set(thread)
193
#endif
194
200
#ifndef sys_port_trace_k_thread_suspend_enter
201
#define sys_port_trace_k_thread_suspend_enter(thread)
202
#endif
203
209
#ifndef sys_port_trace_k_thread_suspend_exit
210
#define sys_port_trace_k_thread_suspend_exit(thread)
211
#endif
212
218
#ifndef sys_port_trace_k_thread_resume_enter
219
#define sys_port_trace_k_thread_resume_enter(thread)
220
#endif
221
227
#ifndef sys_port_trace_k_thread_resume_exit
228
#define sys_port_trace_k_thread_resume_exit(thread)
229
#endif
230
234
#ifndef sys_port_trace_k_thread_sched_lock
235
#define sys_port_trace_k_thread_sched_lock()
236
#endif
237
241
#ifndef sys_port_trace_k_thread_sched_unlock
242
#define sys_port_trace_k_thread_sched_unlock()
243
#endif
244
250
#ifndef sys_port_trace_k_thread_name_set
251
#define sys_port_trace_k_thread_name_set(thread, ret)
252
#endif
253
257
#ifndef sys_port_trace_k_thread_switched_out
258
#define sys_port_trace_k_thread_switched_out()
259
#endif
260
264
#ifndef sys_port_trace_k_thread_switched_in
265
#define sys_port_trace_k_thread_switched_in()
266
#endif
267
272
#ifndef sys_port_trace_k_thread_ready
273
#define sys_port_trace_k_thread_ready(thread)
274
#endif
275
280
#ifndef sys_port_trace_k_thread_pend
281
#define sys_port_trace_k_thread_pend(thread)
282
#endif
283
288
#ifndef sys_port_trace_k_thread_info
289
#define sys_port_trace_k_thread_info(thread)
290
#endif
291
296
#ifndef sys_port_trace_k_thread_sched_wakeup
297
#define sys_port_trace_k_thread_sched_wakeup(thread)
298
#endif
299
304
#ifndef sys_port_trace_k_thread_sched_abort
305
#define sys_port_trace_k_thread_sched_abort(thread)
306
#endif
307
313
#ifndef sys_port_trace_k_thread_sched_priority_set
314
#define sys_port_trace_k_thread_sched_priority_set(thread, prio)
315
#endif
316
321
#ifndef sys_port_trace_k_thread_sched_ready
322
#define sys_port_trace_k_thread_sched_ready(thread)
323
#endif
324
329
#ifndef sys_port_trace_k_thread_sched_pend
330
#define sys_port_trace_k_thread_sched_pend(thread)
331
#endif
332
337
#ifndef sys_port_trace_k_thread_sched_resume
338
#define sys_port_trace_k_thread_sched_resume(thread)
339
#endif
340
345
#ifndef sys_port_trace_k_thread_sched_suspend
346
#define sys_port_trace_k_thread_sched_suspend(thread)
347
#endif
348
/* end of subsys_tracing_apis_thread */
350
357
362
#ifndef sys_port_trace_k_work_init
363
#define sys_port_trace_k_work_init(work)
364
#endif
365
371
#ifndef sys_port_trace_k_work_submit_to_queue_enter
372
#define sys_port_trace_k_work_submit_to_queue_enter(queue, work)
373
#endif
374
381
#ifndef sys_port_trace_k_work_submit_to_queue_exit
382
#define sys_port_trace_k_work_submit_to_queue_exit(queue, work, ret)
383
#endif
384
389
#ifndef sys_port_trace_k_work_submit_enter
390
#define sys_port_trace_k_work_submit_enter(work)
391
#endif
392
398
#ifndef sys_port_trace_k_work_submit_exit
399
#define sys_port_trace_k_work_submit_exit(work, ret)
400
#endif
401
406
#ifndef sys_port_trace_k_work_flush_enter
407
#define sys_port_trace_k_work_flush_enter(work)
408
#endif
409
415
#ifndef sys_port_trace_k_work_flush_blocking
416
#define sys_port_trace_k_work_flush_blocking(work, timeout)
417
#endif
418
424
#ifndef sys_port_trace_k_work_flush_exit
425
#define sys_port_trace_k_work_flush_exit(work, ret)
426
#endif
427
432
#ifndef sys_port_trace_k_work_cancel_enter
433
#define sys_port_trace_k_work_cancel_enter(work)
434
#endif
435
441
#ifndef sys_port_trace_k_work_cancel_exit
442
#define sys_port_trace_k_work_cancel_exit(work, ret)
443
#endif
444
450
#ifndef sys_port_trace_k_work_cancel_sync_enter
451
#define sys_port_trace_k_work_cancel_sync_enter(work, sync)
452
#endif
453
459
#ifndef sys_port_trace_k_work_cancel_sync_blocking
460
#define sys_port_trace_k_work_cancel_sync_blocking(work, sync)
461
#endif
462
469
#ifndef sys_port_trace_k_work_cancel_sync_exit
470
#define sys_port_trace_k_work_cancel_sync_exit(work, sync, ret)
471
#endif
472
/* end of subsys_tracing_apis_work */
474
481
486
#ifndef sys_port_trace_k_work_queue_init
487
#define sys_port_trace_k_work_queue_init(queue)
488
#endif
489
494
#ifndef sys_port_trace_k_work_queue_start_enter
495
#define sys_port_trace_k_work_queue_start_enter(queue)
496
#endif
497
502
#ifndef sys_port_trace_k_work_queue_start_exit
503
#define sys_port_trace_k_work_queue_start_exit(queue)
504
#endif
505
511
#ifndef sys_port_trace_k_work_queue_stop_enter
512
#define sys_port_trace_k_work_queue_stop_enter(queue, timeout)
513
#endif
514
520
#ifndef sys_port_trace_k_work_queue_stop_blocking
521
#define sys_port_trace_k_work_queue_stop_blocking(queue, timeout)
522
#endif
523
530
#ifndef sys_port_trace_k_work_queue_stop_exit
531
#define sys_port_trace_k_work_queue_stop_exit(queue, timeout, ret)
532
#endif
533
538
#ifndef sys_port_trace_k_work_queue_drain_enter
539
#define sys_port_trace_k_work_queue_drain_enter(queue)
540
#endif
541
547
#ifndef sys_port_trace_k_work_queue_drain_exit
548
#define sys_port_trace_k_work_queue_drain_exit(queue, ret)
549
#endif
550
555
#ifndef sys_port_trace_k_work_queue_unplug_enter
556
#define sys_port_trace_k_work_queue_unplug_enter(queue)
557
#endif
558
564
#ifndef sys_port_trace_k_work_queue_unplug_exit
565
#define sys_port_trace_k_work_queue_unplug_exit(queue, ret)
566
#endif
567
/* end of subsys_tracing_apis_work_q */
569
576
581
#ifndef sys_port_trace_k_work_delayable_init
582
#define sys_port_trace_k_work_delayable_init(dwork)
583
#endif
584
591
#ifndef sys_port_trace_k_work_schedule_for_queue_enter
592
#define sys_port_trace_k_work_schedule_for_queue_enter(queue, dwork, delay)
593
#endif
594
602
#ifndef sys_port_trace_k_work_schedule_for_queue_exit
603
#define sys_port_trace_k_work_schedule_for_queue_exit(queue, dwork, delay, ret)
604
#endif
605
611
#ifndef sys_port_trace_k_work_schedule_enter
612
#define sys_port_trace_k_work_schedule_enter(dwork, delay)
613
#endif
614
621
#ifndef sys_port_trace_k_work_schedule_exit
622
#define sys_port_trace_k_work_schedule_exit(dwork, delay, ret)
623
#endif
624
631
#ifndef sys_port_trace_k_work_reschedule_for_queue_enter
632
#define sys_port_trace_k_work_reschedule_for_queue_enter(queue, dwork, delay)
633
#endif
634
642
#ifndef sys_port_trace_k_work_reschedule_for_queue_exit
643
#define sys_port_trace_k_work_reschedule_for_queue_exit(queue, dwork, delay, ret)
644
#endif
645
651
#ifndef sys_port_trace_k_work_reschedule_enter
652
#define sys_port_trace_k_work_reschedule_enter(dwork, delay)
653
#endif
654
661
#ifndef sys_port_trace_k_work_reschedule_exit
662
#define sys_port_trace_k_work_reschedule_exit(dwork, delay, ret)
663
#endif
664
670
#ifndef sys_port_trace_k_work_flush_delayable_enter
671
#define sys_port_trace_k_work_flush_delayable_enter(dwork, sync)
672
#endif
673
680
#ifndef sys_port_trace_k_work_flush_delayable_exit
681
#define sys_port_trace_k_work_flush_delayable_exit(dwork, sync, ret)
682
#endif
683
688
#ifndef sys_port_trace_k_work_cancel_delayable_enter
689
#define sys_port_trace_k_work_cancel_delayable_enter(dwork)
690
#endif
691
697
#ifndef sys_port_trace_k_work_cancel_delayable_exit
698
#define sys_port_trace_k_work_cancel_delayable_exit(dwork, ret)
699
#endif
700
706
#ifndef sys_port_trace_k_work_cancel_delayable_sync_enter
707
#define sys_port_trace_k_work_cancel_delayable_sync_enter(dwork, sync)
708
#endif
709
716
#ifndef sys_port_trace_k_work_cancel_delayable_sync_exit
717
#define sys_port_trace_k_work_cancel_delayable_sync_exit(dwork, sync, ret)
718
#endif
719
/* end of subsys_tracing_apis_work_delayable */
721
728
733
#ifndef sys_port_trace_k_work_poll_init_enter
734
#define sys_port_trace_k_work_poll_init_enter(work)
735
#endif
736
741
#ifndef sys_port_trace_k_work_poll_init_exit
742
#define sys_port_trace_k_work_poll_init_exit(work)
743
#endif
744
751
#ifndef sys_port_trace_k_work_poll_submit_to_queue_enter
752
#define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, timeout)
753
#endif
754
761
#ifndef sys_port_trace_k_work_poll_submit_to_queue_blocking
762
#define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, timeout)
763
#endif
764
772
#ifndef sys_port_trace_k_work_poll_submit_to_queue_exit
773
#define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, ret)
774
#endif
775
781
#ifndef sys_port_trace_k_work_poll_submit_enter
782
#define sys_port_trace_k_work_poll_submit_enter(work, timeout)
783
#endif
784
791
#ifndef sys_port_trace_k_work_poll_submit_exit
792
#define sys_port_trace_k_work_poll_submit_exit(work, timeout, ret)
793
#endif
794
799
#ifndef sys_port_trace_k_work_poll_cancel_enter
800
#define sys_port_trace_k_work_poll_cancel_enter(work)
801
#endif
802
808
#ifndef sys_port_trace_k_work_poll_cancel_exit
809
#define sys_port_trace_k_work_poll_cancel_exit(work, ret)
810
#endif
811
/* end of subsys_tracing_apis_work_poll */
813
820
825
#ifndef sys_port_trace_k_poll_api_event_init
826
#define sys_port_trace_k_poll_api_event_init(event)
827
#endif
828
833
#ifndef sys_port_trace_k_poll_api_poll_enter
834
#define sys_port_trace_k_poll_api_poll_enter(events)
835
#endif
836
842
#ifndef sys_port_trace_k_poll_api_poll_exit
843
#define sys_port_trace_k_poll_api_poll_exit(events, ret)
844
#endif
845
850
#ifndef sys_port_trace_k_poll_api_signal_init
851
#define sys_port_trace_k_poll_api_signal_init(signal)
852
#endif
853
858
#ifndef sys_port_trace_k_poll_api_signal_reset
859
#define sys_port_trace_k_poll_api_signal_reset(signal)
860
#endif
861
866
#ifndef sys_port_trace_k_poll_api_signal_check
867
#define sys_port_trace_k_poll_api_signal_check(signal)
868
#endif
869
875
#ifndef sys_port_trace_k_poll_api_signal_raise
876
#define sys_port_trace_k_poll_api_signal_raise(signal, ret)
877
#endif
878
/* end of subsys_tracing_apis_poll */
880
887
893
#ifndef sys_port_trace_k_sem_init
894
#define sys_port_trace_k_sem_init(sem, ret)
895
#endif
896
901
#ifndef sys_port_trace_k_sem_give_enter
902
#define sys_port_trace_k_sem_give_enter(sem)
903
#endif
904
909
#ifndef sys_port_trace_k_sem_give_exit
910
#define sys_port_trace_k_sem_give_exit(sem)
911
#endif
912
918
#ifndef sys_port_trace_k_sem_take_enter
919
#define sys_port_trace_k_sem_take_enter(sem, timeout)
920
#endif
921
927
#ifndef sys_port_trace_k_sem_take_blocking
928
#define sys_port_trace_k_sem_take_blocking(sem, timeout)
929
#endif
930
937
#ifndef sys_port_trace_k_sem_take_exit
938
#define sys_port_trace_k_sem_take_exit(sem, timeout, ret)
939
#endif
940
945
#ifndef sys_port_trace_k_sem_reset
946
#define sys_port_trace_k_sem_reset(sem)
947
#endif
948
/* end of subsys_tracing_apis_sem */
950
957
963
#ifndef sys_port_trace_k_mutex_init
964
#define sys_port_trace_k_mutex_init(mutex, ret)
965
#endif
966
972
#ifndef sys_port_trace_k_mutex_lock_enter
973
#define sys_port_trace_k_mutex_lock_enter(mutex, timeout)
974
#endif
975
981
#ifndef sys_port_trace_k_mutex_lock_blocking
982
#define sys_port_trace_k_mutex_lock_blocking(mutex, timeout)
983
#endif
984
991
#ifndef sys_port_trace_k_mutex_lock_exit
992
#define sys_port_trace_k_mutex_lock_exit(mutex, timeout, ret)
993
#endif
994
999
#ifndef sys_port_trace_k_mutex_unlock_enter
1000
#define sys_port_trace_k_mutex_unlock_enter(mutex)
1001
#endif
1002
1006
#ifndef sys_port_trace_k_mutex_unlock_exit
1007
#define sys_port_trace_k_mutex_unlock_exit(mutex, ret)
1008
#endif
1009
/* end of subsys_tracing_apis_mutex */
1011
1018
1024
#ifndef sys_port_trace_k_condvar_init
1025
#define sys_port_trace_k_condvar_init(condvar, ret)
1026
#endif
1027
1032
#ifndef sys_port_trace_k_condvar_signal_enter
1033
#define sys_port_trace_k_condvar_signal_enter(condvar)
1034
#endif
1035
1041
#ifndef sys_port_trace_k_condvar_signal_blocking
1042
#define sys_port_trace_k_condvar_signal_blocking(condvar, timeout)
1043
#endif
1044
1050
#ifndef sys_port_trace_k_condvar_signal_exit
1051
#define sys_port_trace_k_condvar_signal_exit(condvar, ret)
1052
#endif
1053
1058
#ifndef sys_port_trace_k_condvar_broadcast_enter
1059
#define sys_port_trace_k_condvar_broadcast_enter(condvar)
1060
#endif
1061
1067
#ifndef sys_port_trace_k_condvar_broadcast_exit
1068
#define sys_port_trace_k_condvar_broadcast_exit(condvar, ret)
1069
#endif
1070
1076
#ifndef sys_port_trace_k_condvar_wait_enter
1077
#define sys_port_trace_k_condvar_wait_enter(condvar, timeout)
1078
#endif
1079
1086
#ifndef sys_port_trace_k_condvar_wait_exit
1087
#define sys_port_trace_k_condvar_wait_exit(condvar, timeout, ret)
1088
#endif
1089
/* end of subsys_tracing_apis_condvar */
1091
1098
1103
#ifndef sys_port_trace_k_queue_init
1104
#define sys_port_trace_k_queue_init(queue)
1105
#endif
1106
1111
#ifndef sys_port_trace_k_queue_cancel_wait
1112
#define sys_port_trace_k_queue_cancel_wait(queue)
1113
#endif
1114
1120
#ifndef sys_port_trace_k_queue_queue_insert_enter
1121
#define sys_port_trace_k_queue_queue_insert_enter(queue, alloc)
1122
#endif
1123
1130
#ifndef sys_port_trace_k_queue_queue_insert_blocking
1131
#define sys_port_trace_k_queue_queue_insert_blocking(queue, alloc, timeout)
1132
#endif
1133
1140
#ifndef sys_port_trace_k_queue_queue_insert_exit
1141
#define sys_port_trace_k_queue_queue_insert_exit(queue, alloc, ret)
1142
#endif
1143
1148
#ifndef sys_port_trace_k_queue_append_enter
1149
#define sys_port_trace_k_queue_append_enter(queue)
1150
#endif
1151
1156
#ifndef sys_port_trace_k_queue_append_exit
1157
#define sys_port_trace_k_queue_append_exit(queue)
1158
#endif
1159
1164
#ifndef sys_port_trace_k_queue_alloc_append_enter
1165
#define sys_port_trace_k_queue_alloc_append_enter(queue)
1166
#endif
1167
1173
#ifndef sys_port_trace_k_queue_alloc_append_exit
1174
#define sys_port_trace_k_queue_alloc_append_exit(queue, ret)
1175
#endif
1176
1181
#ifndef sys_port_trace_k_queue_prepend_enter
1182
#define sys_port_trace_k_queue_prepend_enter(queue)
1183
#endif
1184
1189
#ifndef sys_port_trace_k_queue_prepend_exit
1190
#define sys_port_trace_k_queue_prepend_exit(queue)
1191
#endif
1192
1197
#ifndef sys_port_trace_k_queue_alloc_prepend_enter
1198
#define sys_port_trace_k_queue_alloc_prepend_enter(queue)
1199
#endif
1200
1206
#ifndef sys_port_trace_k_queue_alloc_prepend_exit
1207
#define sys_port_trace_k_queue_alloc_prepend_exit(queue, ret)
1208
#endif
1209
1214
#ifndef sys_port_trace_k_queue_insert_enter
1215
#define sys_port_trace_k_queue_insert_enter(queue)
1216
#endif
1217
1223
#ifndef sys_port_trace_k_queue_insert_blocking
1224
#define sys_port_trace_k_queue_insert_blocking(queue, timeout)
1225
#endif
1226
1231
#ifndef sys_port_trace_k_queue_insert_exit
1232
#define sys_port_trace_k_queue_insert_exit(queue)
1233
#endif
1234
1239
#ifndef sys_port_trace_k_queue_append_list_enter
1240
#define sys_port_trace_k_queue_append_list_enter(queue)
1241
#endif
1242
1248
#ifndef sys_port_trace_k_queue_append_list_exit
1249
#define sys_port_trace_k_queue_append_list_exit(queue, ret)
1250
#endif
1251
1256
#ifndef sys_port_trace_k_queue_merge_slist_enter
1257
#define sys_port_trace_k_queue_merge_slist_enter(queue)
1258
#endif
1259
1265
#ifndef sys_port_trace_k_queue_merge_slist_exit
1266
#define sys_port_trace_k_queue_merge_slist_exit(queue, ret)
1267
#endif
1268
1274
#ifndef sys_port_trace_k_queue_get_enter
1275
#define sys_port_trace_k_queue_get_enter(queue, timeout)
1276
#endif
1277
1283
#ifndef sys_port_trace_k_queue_get_blocking
1284
#define sys_port_trace_k_queue_get_blocking(queue, timeout)
1285
#endif
1286
1293
#ifndef sys_port_trace_k_queue_get_exit
1294
#define sys_port_trace_k_queue_get_exit(queue, timeout, ret)
1295
#endif
1296
1301
#ifndef sys_port_trace_k_queue_remove_enter
1302
#define sys_port_trace_k_queue_remove_enter(queue)
1303
#endif
1304
1310
#ifndef sys_port_trace_k_queue_remove_exit
1311
#define sys_port_trace_k_queue_remove_exit(queue, ret)
1312
#endif
1313
1318
#ifndef sys_port_trace_k_queue_unique_append_enter
1319
#define sys_port_trace_k_queue_unique_append_enter(queue)
1320
#endif
1321
1328
#ifndef sys_port_trace_k_queue_unique_append_exit
1329
#define sys_port_trace_k_queue_unique_append_exit(queue, ret)
1330
#endif
1331
1337
#ifndef sys_port_trace_k_queue_peek_head
1338
#define sys_port_trace_k_queue_peek_head(queue, ret)
1339
#endif
1340
1346
#ifndef sys_port_trace_k_queue_peek_tail
1347
#define sys_port_trace_k_queue_peek_tail(queue, ret)
1348
#endif
1349
/* end of subsys_tracing_apis_queue */
1351
1358
1363
#ifndef sys_port_trace_k_fifo_init_enter
1364
#define sys_port_trace_k_fifo_init_enter(fifo)
1365
#endif
1366
1371
#ifndef sys_port_trace_k_fifo_init_exit
1372
#define sys_port_trace_k_fifo_init_exit(fifo)
1373
#endif
1374
1379
#ifndef sys_port_trace_k_fifo_cancel_wait_enter
1380
#define sys_port_trace_k_fifo_cancel_wait_enter(fifo)
1381
#endif
1382
1387
#ifndef sys_port_trace_k_fifo_cancel_wait_exit
1388
#define sys_port_trace_k_fifo_cancel_wait_exit(fifo)
1389
#endif
1390
1396
#ifndef sys_port_trace_k_fifo_put_enter
1397
#define sys_port_trace_k_fifo_put_enter(fifo, data)
1398
#endif
1399
1405
#ifndef sys_port_trace_k_fifo_put_exit
1406
#define sys_port_trace_k_fifo_put_exit(fifo, data)
1407
#endif
1408
1414
#ifndef sys_port_trace_k_fifo_alloc_put_enter
1415
#define sys_port_trace_k_fifo_alloc_put_enter(fifo, data)
1416
#endif
1417
1424
#ifndef sys_port_trace_k_fifo_alloc_put_exit
1425
#define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret)
1426
#endif
1427
1434
#ifndef sys_port_trace_k_fifo_put_list_enter
1435
#define sys_port_trace_k_fifo_put_list_enter(fifo, head, tail)
1436
#endif
1437
1444
#ifndef sys_port_trace_k_fifo_put_list_exit
1445
#define sys_port_trace_k_fifo_put_list_exit(fifo, head, tail)
1446
#endif
1447
1453
#ifndef sys_port_trace_k_fifo_put_slist_enter
1454
#define sys_port_trace_k_fifo_put_slist_enter(fifo, list)
1455
#endif
1456
1462
#ifndef sys_port_trace_k_fifo_put_slist_exit
1463
#define sys_port_trace_k_fifo_put_slist_exit(fifo, list)
1464
#endif
1465
1471
#ifndef sys_port_trace_k_fifo_get_enter
1472
#define sys_port_trace_k_fifo_get_enter(fifo, timeout)
1473
#endif
1474
1481
#ifndef sys_port_trace_k_fifo_get_exit
1482
#define sys_port_trace_k_fifo_get_exit(fifo, timeout, ret)
1483
#endif
1484
1489
#ifndef sys_port_trace_k_fifo_peek_head_enter
1490
#define sys_port_trace_k_fifo_peek_head_enter(fifo)
1491
#endif
1492
1498
#ifndef sys_port_trace_k_fifo_peek_head_exit
1499
#define sys_port_trace_k_fifo_peek_head_exit(fifo, ret)
1500
#endif
1501
1506
#ifndef sys_port_trace_k_fifo_peek_tail_enter
1507
#define sys_port_trace_k_fifo_peek_tail_enter(fifo)
1508
#endif
1509
1515
#ifndef sys_port_trace_k_fifo_peek_tail_exit
1516
#define sys_port_trace_k_fifo_peek_tail_exit(fifo, ret)
1517
#endif
1518
/* end of subsys_tracing_apis_fifo */
1520
1527
1532
#ifndef sys_port_trace_k_lifo_init_enter
1533
#define sys_port_trace_k_lifo_init_enter(lifo)
1534
#endif
1535
1540
#ifndef sys_port_trace_k_lifo_init_exit
1541
#define sys_port_trace_k_lifo_init_exit(lifo)
1542
#endif
1543
1549
#ifndef sys_port_trace_k_lifo_put_enter
1550
#define sys_port_trace_k_lifo_put_enter(lifo, data)
1551
#endif
1552
1558
#ifndef sys_port_trace_k_lifo_put_exit
1559
#define sys_port_trace_k_lifo_put_exit(lifo, data)
1560
#endif
1561
1567
#ifndef sys_port_trace_k_lifo_alloc_put_enter
1568
#define sys_port_trace_k_lifo_alloc_put_enter(lifo, data)
1569
#endif
1570
1577
#ifndef sys_port_trace_k_lifo_alloc_put_exit
1578
#define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret)
1579
#endif
1580
1586
#ifndef sys_port_trace_k_lifo_get_enter
1587
#define sys_port_trace_k_lifo_get_enter(lifo, timeout)
1588
#endif
1589
1596
#ifndef sys_port_trace_k_lifo_get_exit
1597
#define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret)
1598
#endif
1599
/* end of subsys_tracing_apis_lifo */
1601
1608
1613
#ifndef sys_port_trace_k_stack_init
1614
#define sys_port_trace_k_stack_init(stack)
1615
#endif
1616
1621
#ifndef sys_port_trace_k_stack_alloc_init_enter
1622
#define sys_port_trace_k_stack_alloc_init_enter(stack)
1623
#endif
1624
1630
#ifndef sys_port_trace_k_stack_alloc_init_exit
1631
#define sys_port_trace_k_stack_alloc_init_exit(stack, ret)
1632
#endif
1633
1638
#ifndef sys_port_trace_k_stack_cleanup_enter
1639
#define sys_port_trace_k_stack_cleanup_enter(stack)
1640
#endif
1641
1647
#ifndef sys_port_trace_k_stack_cleanup_exit
1648
#define sys_port_trace_k_stack_cleanup_exit(stack, ret)
1649
#endif
1650
1655
#ifndef sys_port_trace_k_stack_push_enter
1656
#define sys_port_trace_k_stack_push_enter(stack)
1657
#endif
1658
1664
#ifndef sys_port_trace_k_stack_push_exit
1665
#define sys_port_trace_k_stack_push_exit(stack, ret)
1666
#endif
1667
1673
#ifndef sys_port_trace_k_stack_pop_enter
1674
#define sys_port_trace_k_stack_pop_enter(stack, timeout)
1675
#endif
1676
1682
#ifndef sys_port_trace_k_stack_pop_blocking
1683
#define sys_port_trace_k_stack_pop_blocking(stack, timeout)
1684
#endif
1685
1692
#ifndef sys_port_trace_k_stack_pop_exit
1693
#define sys_port_trace_k_stack_pop_exit(stack, timeout, ret)
1694
#endif
1695
/* end of subsys_tracing_apis_stack */
1697
1704
1709
#ifndef sys_port_trace_k_msgq_init
1710
#define sys_port_trace_k_msgq_init(msgq)
1711
#endif
1712
1717
#ifndef sys_port_trace_k_msgq_alloc_init_enter
1718
#define sys_port_trace_k_msgq_alloc_init_enter(msgq)
1719
#endif
1720
1726
#ifndef sys_port_trace_k_msgq_alloc_init_exit
1727
#define sys_port_trace_k_msgq_alloc_init_exit(msgq, ret)
1728
#endif
1729
1734
#ifndef sys_port_trace_k_msgq_cleanup_enter
1735
#define sys_port_trace_k_msgq_cleanup_enter(msgq)
1736
#endif
1737
1743
#ifndef sys_port_trace_k_msgq_cleanup_exit
1744
#define sys_port_trace_k_msgq_cleanup_exit(msgq, ret)
1745
#endif
1746
1752
#ifndef sys_port_trace_k_msgq_put_enter
1753
#define sys_port_trace_k_msgq_put_enter(msgq, timeout)
1754
#endif
1755
1761
#ifndef sys_port_trace_k_msgq_put_blocking
1762
#define sys_port_trace_k_msgq_put_blocking(msgq, timeout)
1763
#endif
1764
1771
#ifndef sys_port_trace_k_msgq_put_exit
1772
#define sys_port_trace_k_msgq_put_exit(msgq, timeout, ret)
1773
#endif
1774
1780
#ifndef sys_port_trace_k_msgq_put_front_enter
1781
#define sys_port_trace_k_msgq_put_front_enter(msgq, timeout)
1782
#endif
1783
1789
#ifndef sys_port_trace_k_msgq_put_front_blocking
1790
#define sys_port_trace_k_msgq_put_front_blocking(msgq, timeout)
1791
#endif
1792
1799
#ifndef sys_port_trace_k_msgq_put_front_exit
1800
#define sys_port_trace_k_msgq_put_front_exit(msgq, timeout, ret)
1801
#endif
1802
1808
#ifndef sys_port_trace_k_msgq_get_enter
1809
#define sys_port_trace_k_msgq_get_enter(msgq, timeout)
1810
#endif
1811
1817
#ifndef sys_port_trace_k_msgq_get_blocking
1818
#define sys_port_trace_k_msgq_get_blocking(msgq, timeout)
1819
#endif
1820
1827
#ifndef sys_port_trace_k_msgq_get_exit
1828
#define sys_port_trace_k_msgq_get_exit(msgq, timeout, ret)
1829
#endif
1830
1836
#ifndef sys_port_trace_k_msgq_peek
1837
#define sys_port_trace_k_msgq_peek(msgq, ret)
1838
#endif
1839
1844
#ifndef sys_port_trace_k_msgq_purge
1845
#define sys_port_trace_k_msgq_purge(msgq)
1846
#endif
1847
/* end of subsys_tracing_apis_msgq */
1849
1856
1861
#ifndef sys_port_trace_k_mbox_init
1862
#define sys_port_trace_k_mbox_init(mbox)
1863
#endif
1864
1870
#ifndef sys_port_trace_k_mbox_message_put_enter
1871
#define sys_port_trace_k_mbox_message_put_enter(mbox, timeout)
1872
#endif
1873
1879
#ifndef sys_port_trace_k_mbox_message_put_blocking
1880
#define sys_port_trace_k_mbox_message_put_blocking(mbox, timeout)
1881
#endif
1882
1889
#ifndef sys_port_trace_k_mbox_message_put_exit
1890
#define sys_port_trace_k_mbox_message_put_exit(mbox, timeout, ret)
1891
#endif
1892
1898
#ifndef sys_port_trace_k_mbox_put_enter
1899
#define sys_port_trace_k_mbox_put_enter(mbox, timeout)
1900
#endif
1901
1908
#ifndef sys_port_trace_k_mbox_put_exit
1909
#define sys_port_trace_k_mbox_put_exit(mbox, timeout, ret)
1910
#endif
1911
1917
#ifndef sys_port_trace_k_mbox_async_put_enter
1918
#define sys_port_trace_k_mbox_async_put_enter(mbox, sem)
1919
#endif
1920
1926
#ifndef sys_port_trace_k_mbox_async_put_exit
1927
#define sys_port_trace_k_mbox_async_put_exit(mbox, sem)
1928
#endif
1929
1935
#ifndef sys_port_trace_k_mbox_get_enter
1936
#define sys_port_trace_k_mbox_get_enter(mbox, timeout)
1937
#endif
1938
1944
#ifndef sys_port_trace_k_mbox_get_blocking
1945
#define sys_port_trace_k_mbox_get_blocking(mbox, timeout)
1946
#endif
1947
1954
#ifndef sys_port_trace_k_mbox_get_exit
1955
#define sys_port_trace_k_mbox_get_exit(mbox, timeout, ret)
1956
#endif
1957
1962
#ifndef sys_port_trace_k_mbox_data_get
1963
#define sys_port_trace_k_mbox_data_get(rx_msg)
1964
#endif
1965
/* end of subsys_tracing_apis_mbox */
1967
1974
1981
#ifndef sys_port_trace_k_pipe_init
1982
#define sys_port_trace_k_pipe_init(pipe, buffer, size)
1983
#endif
1984
1989
#ifndef sys_port_trace_k_pipe_reset_enter
1990
#define sys_port_trace_k_pipe_reset_enter(pipe)
1991
#endif
1992
1997
#ifndef sys_port_trace_k_pipe_reset_exit
1998
#define sys_port_trace_k_pipe_reset_exit(pipe)
1999
#endif
2000
2005
#ifndef sys_port_trace_k_pipe_close_enter
2006
#define sys_port_trace_k_pipe_close_enter(pipe)
2007
#endif
2008
2013
#ifndef sys_port_trace_k_pipe_close_exit
2014
#define sys_port_trace_k_pipe_close_exit(pipe)
2015
#endif
2016
2024
#ifndef sys_port_trace_k_pipe_write_enter
2025
#define sys_port_trace_k_pipe_write_enter(pipe, data, len, timeout)
2026
#endif
2027
2033
#ifndef sys_port_trace_k_pipe_write_blocking
2034
#define sys_port_trace_k_pipe_write_blocking(pipe, timeout)
2035
#endif
2036
2042
#ifndef sys_port_trace_k_pipe_write_exit
2043
#define sys_port_trace_k_pipe_write_exit(pipe, ret)
2044
#endif
2045
2053
#ifndef sys_port_trace_k_pipe_read_enter
2054
#define sys_port_trace_k_pipe_read_enter(pipe, data, len, timeout)
2055
#endif
2056
2062
#ifndef sys_port_trace_k_pipe_read_blocking
2063
#define sys_port_trace_k_pipe_read_blocking(pipe, timeout)
2064
#endif
2065
2071
#ifndef sys_port_trace_k_pipe_read_exit
2072
#define sys_port_trace_k_pipe_read_exit(pipe, ret)
2073
#endif
2074
/* end of subsys_tracing_apis_pipe */
2076
2083
2088
#ifndef sys_port_trace_k_heap_init
2089
#define sys_port_trace_k_heap_init(h)
2090
#endif
2091
2097
#ifndef sys_port_trace_k_heap_aligned_alloc_enter
2098
#define sys_port_trace_k_heap_aligned_alloc_enter(h, timeout)
2099
#endif
2100
2106
#ifndef sys_port_trace_k_heap_alloc_helper_blocking
2107
#define sys_port_trace_k_heap_alloc_helper_blocking(h, timeout)
2108
#endif
2109
2116
#ifndef sys_port_trace_k_heap_aligned_alloc_exit
2117
#define sys_port_trace_k_heap_aligned_alloc_exit(h, timeout, ret)
2118
#endif
2119
2125
#ifndef sys_port_trace_k_heap_alloc_enter
2126
#define sys_port_trace_k_heap_alloc_enter(h, timeout)
2127
#endif
2128
2135
#ifndef sys_port_trace_k_heap_alloc_exit
2136
#define sys_port_trace_k_heap_alloc_exit(h, timeout, ret)
2137
#endif
2138
2144
#ifndef sys_port_trace_k_heap_calloc_enter
2145
#define sys_port_trace_k_heap_calloc_enter(h, timeout)
2146
#endif
2147
2154
#ifndef sys_port_trace_k_heap_calloc_exit
2155
#define sys_port_trace_k_heap_calloc_exit(h, timeout, ret)
2156
#endif
2157
2162
#ifndef sys_port_trace_k_heap_free
2163
#define sys_port_trace_k_heap_free(h)
2164
#endif
2165
2173
#ifndef sys_port_trace_k_heap_realloc_enter
2174
#define sys_port_trace_k_heap_realloc_enter(h, ptr, bytes, timeout)
2175
#endif
2176
2185
#ifndef sys_port_trace_k_heap_realloc_exit
2186
#define sys_port_trace_k_heap_realloc_exit(h, ptr, bytes, timeout, ret)
2187
#endif
2188
2193
#ifndef sys_port_trace_k_heap_sys_k_aligned_alloc_enter
2194
#define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap)
2195
#endif
2196
2202
#ifndef sys_port_trace_k_heap_sys_k_aligned_alloc_exit
2203
#define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret)
2204
#endif
2205
2210
#ifndef sys_port_trace_k_heap_sys_k_malloc_enter
2211
#define sys_port_trace_k_heap_sys_k_malloc_enter(heap)
2212
#endif
2213
2219
#ifndef sys_port_trace_k_heap_sys_k_malloc_exit
2220
#define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret)
2221
#endif
2222
2228
#ifndef sys_port_trace_k_heap_sys_k_free_enter
2229
#define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref)
2230
#endif
2231
2237
#ifndef sys_port_trace_k_heap_sys_k_free_exit
2238
#define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref)
2239
#endif
2240
2245
#ifndef sys_port_trace_k_heap_sys_k_calloc_enter
2246
#define sys_port_trace_k_heap_sys_k_calloc_enter(heap)
2247
#endif
2248
2254
#ifndef sys_port_trace_k_heap_sys_k_calloc_exit
2255
#define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret)
2256
#endif
2257
2263
#ifndef sys_port_trace_k_heap_sys_k_realloc_enter
2264
#define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr)
2265
#endif
2266
2273
#ifndef sys_port_trace_k_heap_sys_k_realloc_exit
2274
#define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret)
2275
#endif
2276
/* end of subsys_tracing_apis_heap */
2278
2285
2291
#ifndef sys_port_trace_k_mem_slab_init
2292
#define sys_port_trace_k_mem_slab_init(slab, rc)
2293
#endif
2294
2300
#ifndef sys_port_trace_k_mem_slab_alloc_enter
2301
#define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout)
2302
#endif
2303
2309
#ifndef sys_port_trace_k_mem_slab_alloc_blocking
2310
#define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout)
2311
#endif
2312
2319
#ifndef sys_port_trace_k_mem_slab_alloc_exit
2320
#define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret)
2321
#endif
2322
2327
#ifndef sys_port_trace_k_mem_slab_free_enter
2328
#define sys_port_trace_k_mem_slab_free_enter(slab)
2329
#endif
2330
2335
#ifndef sys_port_trace_k_mem_slab_free_exit
2336
#define sys_port_trace_k_mem_slab_free_exit(slab)
2337
#endif
2338
/* end of subsys_tracing_apis_mslab */
2340
2347
2352
#ifndef sys_port_trace_k_timer_init
2353
#define sys_port_trace_k_timer_init(timer)
2354
#endif
2355
2362
#ifndef sys_port_trace_k_timer_start
2363
#define sys_port_trace_k_timer_start(timer, duration, period)
2364
#endif
2365
2370
#ifndef sys_port_trace_k_timer_stop
2371
#define sys_port_trace_k_timer_stop(timer)
2372
#endif
2373
2378
#ifndef sys_port_trace_k_timer_status_sync_enter
2379
#define sys_port_trace_k_timer_status_sync_enter(timer)
2380
#endif
2381
2387
#ifndef sys_port_trace_k_timer_status_sync_blocking
2388
#define sys_port_trace_k_timer_status_sync_blocking(timer, timeout)
2389
#endif
2390
2396
#ifndef sys_port_trace_k_timer_status_sync_exit
2397
#define sys_port_trace_k_timer_status_sync_exit(timer, result)
2398
#endif
2399
2404
#ifndef sys_port_trace_k_timer_expiry_enter
2405
#define sys_port_trace_k_timer_expiry_enter(timer)
2406
#endif
2407
2412
#ifndef sys_port_trace_k_timer_expiry_exit
2413
#define sys_port_trace_k_timer_expiry_exit(timer)
2414
#endif
2415
2420
#ifndef sys_port_trace_k_timer_stop_fn_expiry_enter
2421
#define sys_port_trace_k_timer_stop_fn_expiry_enter(timer)
2422
#endif
2423
2428
#ifndef sys_port_trace_k_timer_stop_fn_expiry_exit
2429
#define sys_port_trace_k_timer_stop_fn_expiry_exit(timer)
2430
#endif
2431
2436
#ifndef sys_port_trace_k_timer_cleanup_enter
2437
#define sys_port_trace_k_timer_cleanup_enter(timer)
2438
#endif
2439
2445
#ifndef sys_port_trace_k_timer_cleanup_exit
2446
#define sys_port_trace_k_timer_cleanup_exit(timer, ret)
2447
#endif
2448
/* end of subsys_tracing_apis_timer */
2450
2457
2462
#ifndef sys_port_trace_k_event_init
2463
#define sys_port_trace_k_event_init(event)
2464
#endif
2465
2472
#ifndef sys_port_trace_k_event_post_enter
2473
#define sys_port_trace_k_event_post_enter(event, events, events_mask)
2474
#endif
2475
2482
#ifndef sys_port_trace_k_event_post_exit
2483
#define sys_port_trace_k_event_post_exit(event, events, events_mask)
2484
#endif
2485
2493
#ifndef sys_port_trace_k_event_wait_enter
2494
#define sys_port_trace_k_event_wait_enter(event, events, options, timeout)
2495
#endif
2496
2504
#ifndef sys_port_trace_k_event_wait_blocking
2505
#define sys_port_trace_k_event_wait_blocking(event, events, options, timeout)
2506
#endif
2507
2514
#ifndef sys_port_trace_k_event_wait_exit
2515
#define sys_port_trace_k_event_wait_exit(event, events, ret)
2516
#endif
2517
/* end of subsys_tracing_apis_event */
2519
2526
2531
#ifndef sys_port_trace_pm_system_suspend_enter
2532
#define sys_port_trace_pm_system_suspend_enter(ticks)
2533
#endif
2534
2540
#ifndef sys_port_trace_pm_system_suspend_exit
2541
#define sys_port_trace_pm_system_suspend_exit(ticks, state)
2542
#endif
2543
/* end of subsys_tracing_apis_pm_system */
2545
2552
2557
#ifndef sys_port_trace_pm_device_runtime_get_enter
2558
#define sys_port_trace_pm_device_runtime_get_enter(dev)
2559
#endif
2560
2566
#ifndef sys_port_trace_pm_device_runtime_get_exit
2567
#define sys_port_trace_pm_device_runtime_get_exit(dev, ret)
2568
#endif
2569
2574
#ifndef sys_port_trace_pm_device_runtime_put_enter
2575
#define sys_port_trace_pm_device_runtime_put_enter(dev)
2576
#endif
2577
2583
#ifndef sys_port_trace_pm_device_runtime_put_exit
2584
#define sys_port_trace_pm_device_runtime_put_exit(dev, ret)
2585
#endif
2586
2592
#ifndef sys_port_trace_pm_device_runtime_put_async_enter
2593
#define sys_port_trace_pm_device_runtime_put_async_enter(dev, delay)
2594
#endif
2595
2602
#ifndef sys_port_trace_pm_device_runtime_put_async_exit
2603
#define sys_port_trace_pm_device_runtime_put_async_exit(dev, delay, ret)
2604
#endif
2605
2610
#ifndef sys_port_trace_pm_device_runtime_enable_enter
2611
#define sys_port_trace_pm_device_runtime_enable_enter(dev)
2612
#endif
2613
2619
#ifndef sys_port_trace_pm_device_runtime_enable_exit
2620
#define sys_port_trace_pm_device_runtime_enable_exit(dev, ret)
2621
#endif
2622
2627
#ifndef sys_port_trace_pm_device_runtime_disable_enter
2628
#define sys_port_trace_pm_device_runtime_disable_enter(dev)
2629
#endif
2630
2636
#ifndef sys_port_trace_pm_device_runtime_disable_exit
2637
#define sys_port_trace_pm_device_runtime_disable_exit(dev, ret)
2638
#endif
2639
/* end of subsys_tracing_apis_pm_device_runtime */
2641
2648
2654
#ifndef sys_port_trace_net_recv_data_enter
2655
#define sys_port_trace_net_recv_data_enter(iface, pkt)
2656
#endif
2657
2664
#ifndef sys_port_trace_net_recv_data_exit
2665
#define sys_port_trace_net_recv_data_exit(iface, pkt, ret)
2666
#endif
2667
2672
#ifndef sys_port_trace_net_send_data_enter
2673
#define sys_port_trace_net_send_data_enter(pkt)
2674
#endif
2675
2681
#ifndef sys_port_trace_net_send_data_exit
2682
#define sys_port_trace_net_send_data_exit(pkt, ret)
2683
#endif
2684
2690
#ifndef sys_port_trace_net_rx_time
2691
#define sys_port_trace_net_rx_time(pkt, end_time)
2692
#endif
2693
2699
#ifndef sys_port_trace_net_tx_time
2700
#define sys_port_trace_net_tx_time(pkt, end_time)
2701
#endif
2702
/* end of subsys_tracing_apis_net */
2704
2711
2719
#ifndef sys_port_trace_socket_init
2720
#define sys_port_trace_socket_init(socket, family, type, proto)
2721
#endif
2722
2727
#ifndef sys_port_trace_socket_close_enter
2728
#define sys_port_trace_socket_close_enter(socket)
2729
#endif
2730
2736
#ifndef sys_port_trace_socket_close_exit
2737
#define sys_port_trace_socket_close_exit(socket, ret)
2738
#endif
2739
2745
#ifndef sys_port_trace_socket_shutdown_enter
2746
#define sys_port_trace_socket_shutdown_enter(socket, how)
2747
#endif
2748
2754
#ifndef sys_port_trace_socket_shutdown_exit
2755
#define sys_port_trace_socket_shutdown_exit(socket, ret)
2756
#endif
2757
2764
#ifndef sys_port_trace_socket_bind_enter
2765
#define sys_port_trace_socket_bind_enter(socket, addr, addrlen)
2766
#endif
2767
2773
#ifndef sys_port_trace_socket_bind_exit
2774
#define sys_port_trace_socket_bind_exit(socket, ret)
2775
#endif
2776
2783
#ifndef sys_port_trace_socket_connect_enter
2784
#define sys_port_trace_socket_connect_enter(socket, addr, addrlen)
2785
#endif
2786
2792
#ifndef sys_port_trace_socket_connect_exit
2793
#define sys_port_trace_socket_connect_exit(socket, ret)
2794
#endif
2795
2801
#ifndef sys_port_trace_socket_listen_enter
2802
#define sys_port_trace_socket_listen_enter(socket, backlog)
2803
#endif
2804
2810
#ifndef sys_port_trace_socket_listen_exit
2811
#define sys_port_trace_socket_listen_exit(socket, ret)
2812
#endif
2813
2818
#ifndef sys_port_trace_socket_accept_enter
2819
#define sys_port_trace_socket_accept_enter(socket)
2820
#endif
2821
2829
#ifndef sys_port_trace_socket_accept_exit
2830
#define sys_port_trace_socket_accept_exit(socket, addr, addrlen, ret)
2831
#endif
2832
2841
#ifndef sys_port_trace_socket_sendto_enter
2842
#define sys_port_trace_socket_sendto_enter(socket, len, flags, dest_addr, addrlen)
2843
#endif
2844
2850
#ifndef sys_port_trace_socket_sendto_exit
2851
#define sys_port_trace_socket_sendto_exit(socket, ret)
2852
#endif
2853
2860
#ifndef sys_port_trace_socket_sendmsg_enter
2861
#define sys_port_trace_socket_sendmsg_enter(socket, msg, flags)
2862
#endif
2863
2869
#ifndef sys_port_trace_socket_sendmsg_exit
2870
#define sys_port_trace_socket_sendmsg_exit(socket, ret)
2871
#endif
2872
2881
#ifndef sys_port_trace_socket_recvfrom_enter
2882
#define sys_port_trace_socket_recvfrom_enter(socket, max_len, flags, addr, addrlen)
2883
#endif
2884
2892
#ifndef sys_port_trace_socket_recvfrom_exit
2893
#define sys_port_trace_socket_recvfrom_exit(socket, src_addr, addrlen, ret)
2894
#endif
2895
2902
#ifndef sys_port_trace_socket_recvmsg_enter
2903
#define sys_port_trace_socket_recvmsg_enter(socket, msg, flags)
2904
#endif
2905
2912
#ifndef sys_port_trace_socket_recvmsg_exit
2913
#define sys_port_trace_socket_recvmsg_exit(socket, msg, ret)
2914
#endif
2915
2922
#ifndef sys_port_trace_socket_fcntl_enter
2923
#define sys_port_trace_socket_fcntl_enter(socket, cmd, flags)
2924
#endif
2925
2931
#ifndef sys_port_trace_socket_fcntl_exit
2932
#define sys_port_trace_socket_fcntl_exit(socket, ret)
2933
#endif
2934
2940
#ifndef sys_port_trace_socket_ioctl_enter
2941
#define sys_port_trace_socket_ioctl_enter(socket, req)
2942
#endif
2943
2949
#ifndef sys_port_trace_socket_ioctl_exit
2950
#define sys_port_trace_socket_ioctl_exit(socket, ret)
2951
#endif
2952
2959
#ifndef sys_port_trace_socket_poll_enter
2960
#define sys_port_trace_socket_poll_enter(fds, nfds, timeout)
2961
#endif
2962
2969
#ifndef sys_port_trace_socket_poll_exit
2970
#define sys_port_trace_socket_poll_exit(fds, nfds, ret)
2971
#endif
2972
2979
#ifndef sys_port_trace_socket_getsockopt_enter
2980
#define sys_port_trace_socket_getsockopt_enter(socket, level, optname)
2981
#endif
2982
2992
#ifndef sys_port_trace_socket_getsockopt_exit
2993
#define sys_port_trace_socket_getsockopt_exit(socket, level, optname, optval, optlen, ret)
2994
#endif
2995
3004
#ifndef sys_port_trace_socket_setsockopt_enter
3005
#define sys_port_trace_socket_setsockopt_enter(socket, level, optname, optval, optlen)
3006
#endif
3007
3013
#ifndef sys_port_trace_socket_setsockopt_exit
3014
#define sys_port_trace_socket_setsockopt_exit(socket, ret)
3015
#endif
3016
3021
#ifndef sys_port_trace_socket_getpeername_enter
3022
#define sys_port_trace_socket_getpeername_enter(socket)
3023
#endif
3024
3032
#ifndef sys_port_trace_socket_getpeername_exit
3033
#define sys_port_trace_socket_getpeername_exit(socket, addr, addrlen, ret)
3034
#endif
3035
3040
#ifndef sys_port_trace_socket_getsockname_enter
3041
#define sys_port_trace_socket_getsockname_enter(socket)
3042
#endif
3043
3051
#ifndef sys_port_trace_socket_getsockname_exit
3052
#define sys_port_trace_socket_getsockname_exit(socket, addr, addrlen, ret)
3053
#endif
3054
3062
#ifndef sys_port_trace_socket_socketpair_enter
3063
#define sys_port_trace_socket_socketpair_enter(family, type, proto, sv)
3064
#endif
3065
3072
#ifndef sys_port_trace_socket_socketpair_exit
3073
#define sys_port_trace_socket_socketpair_exit(socket_A, socket_B, ret)
3074
#endif
3075
/* end of subsys_tracing_apis_socket */
3077
3078
/*
3079
* Note: sys_trace_named_event() is a function-style public API (implemented as a
3080
* real function by backends such as CTF), not a sys_port_trace_* macro hook. Its
3081
* disabled-state no-op lives in tracing.h's no-format branch, not here, so that
3082
* this fallback (included for every backend) does not clobber a backend's function.
3083
*/
3084
3091
3098
#ifndef sys_port_trace_gpio_pin_interrupt_configure_enter
3099
#define sys_port_trace_gpio_pin_interrupt_configure_enter(port, pin, flags)
3100
#endif
3101
3108
#ifndef sys_port_trace_gpio_pin_interrupt_configure_exit
3109
#define sys_port_trace_gpio_pin_interrupt_configure_exit(port, pin, ret)
3110
#endif
3111
3118
#ifndef sys_port_trace_gpio_pin_configure_enter
3119
#define sys_port_trace_gpio_pin_configure_enter(port, pin, flags)
3120
#endif
3121
3128
#ifndef sys_port_trace_gpio_pin_configure_exit
3129
#define sys_port_trace_gpio_pin_configure_exit(port, pin, ret)
3130
#endif
3131
3139
#ifndef sys_port_trace_gpio_port_get_direction_enter
3140
#define sys_port_trace_gpio_port_get_direction_enter(port, map, inputs, outputs)
3141
#endif
3142
3148
#ifndef sys_port_trace_gpio_port_get_direction_exit
3149
#define sys_port_trace_gpio_port_get_direction_exit(port, ret)
3150
#endif
3151
3158
#ifndef sys_port_trace_gpio_pin_get_config_enter
3159
#define sys_port_trace_gpio_pin_get_config_enter(port, pin, flags)
3160
#endif
3161
3168
#ifndef sys_port_trace_gpio_pin_get_config_exit
3169
#define sys_port_trace_gpio_pin_get_config_exit(port, pin, ret)
3170
#endif
3171
3177
#ifndef sys_port_trace_gpio_port_get_raw_enter
3178
#define sys_port_trace_gpio_port_get_raw_enter(port, value)
3179
#endif
3180
3186
#ifndef sys_port_trace_gpio_port_get_raw_exit
3187
#define sys_port_trace_gpio_port_get_raw_exit(port, ret)
3188
#endif
3189
3196
#ifndef sys_port_trace_gpio_port_set_masked_raw_enter
3197
#define sys_port_trace_gpio_port_set_masked_raw_enter(port, mask, value)
3198
#endif
3199
3205
#ifndef sys_port_trace_gpio_port_set_masked_raw_exit
3206
#define sys_port_trace_gpio_port_set_masked_raw_exit(port, ret)
3207
#endif
3208
3214
#ifndef sys_port_trace_gpio_port_set_bits_raw_enter
3215
#define sys_port_trace_gpio_port_set_bits_raw_enter(port, pins)
3216
#endif
3217
3223
#ifndef sys_port_trace_gpio_port_set_bits_raw_exit
3224
#define sys_port_trace_gpio_port_set_bits_raw_exit(port, ret)
3225
#endif
3226
3232
#ifndef sys_port_trace_gpio_port_clear_bits_raw_enter
3233
#define sys_port_trace_gpio_port_clear_bits_raw_enter(port, pins)
3234
#endif
3235
3241
#ifndef sys_port_trace_gpio_port_clear_bits_raw_exit
3242
#define sys_port_trace_gpio_port_clear_bits_raw_exit(port, ret)
3243
#endif
3244
3250
#ifndef sys_port_trace_gpio_port_toggle_bits_enter
3251
#define sys_port_trace_gpio_port_toggle_bits_enter(port, pins)
3252
#endif
3253
3259
#ifndef sys_port_trace_gpio_port_toggle_bits_exit
3260
#define sys_port_trace_gpio_port_toggle_bits_exit(port, ret)
3261
#endif
3262
3269
#ifndef sys_port_trace_gpio_init_callback_enter
3270
#define sys_port_trace_gpio_init_callback_enter(callback, handler, pin_mask)
3271
#endif
3272
3277
#ifndef sys_port_trace_gpio_init_callback_exit
3278
#define sys_port_trace_gpio_init_callback_exit(callback)
3279
#endif
3280
3286
#ifndef sys_port_trace_gpio_add_callback_enter
3287
#define sys_port_trace_gpio_add_callback_enter(port, callback)
3288
#endif
3289
3295
#ifndef sys_port_trace_gpio_add_callback_exit
3296
#define sys_port_trace_gpio_add_callback_exit(port, ret)
3297
#endif
3298
3304
#ifndef sys_port_trace_gpio_remove_callback_enter
3305
#define sys_port_trace_gpio_remove_callback_enter(port, callback)
3306
#endif
3307
3313
#ifndef sys_port_trace_gpio_remove_callback_exit
3314
#define sys_port_trace_gpio_remove_callback_exit(port, ret)
3315
#endif
3316
3321
#ifndef sys_port_trace_gpio_get_pending_int_enter
3322
#define sys_port_trace_gpio_get_pending_int_enter(dev)
3323
#endif
3324
3330
#ifndef sys_port_trace_gpio_get_pending_int_exit
3331
#define sys_port_trace_gpio_get_pending_int_exit(dev, ret)
3332
#endif
3333
3340
#ifndef sys_port_trace_gpio_fire_callbacks_enter
3341
#define sys_port_trace_gpio_fire_callbacks_enter(list, port, pins)
3342
#endif
3343
3349
#ifndef sys_port_trace_gpio_fire_callback
3350
#define sys_port_trace_gpio_fire_callback(port, callback)
3351
#endif
3352
/* end of subsys_tracing_apis_gpio */
3354
3361
3367
#ifndef sys_port_trace_rtio_submit_enter
3368
#define sys_port_trace_rtio_submit_enter(rtio, wait_count)
3369
#endif
3370
3375
#ifndef sys_port_trace_rtio_submit_exit
3376
#define sys_port_trace_rtio_submit_exit(rtio)
3377
#endif
3378
3383
#ifndef sys_port_trace_rtio_sqe_acquire_enter
3384
#define sys_port_trace_rtio_sqe_acquire_enter(rtio)
3385
#endif
3386
3392
#ifndef sys_port_trace_rtio_sqe_acquire_exit
3393
#define sys_port_trace_rtio_sqe_acquire_exit(rtio, sqe)
3394
#endif
3395
3400
#ifndef sys_port_trace_rtio_sqe_cancel
3401
#define sys_port_trace_rtio_sqe_cancel(sqe)
3402
#endif
3403
3410
#ifndef sys_port_trace_rtio_cqe_submit_enter
3411
#define sys_port_trace_rtio_cqe_submit_enter(rtio, result, flags)
3412
#endif
3413
3418
#ifndef sys_port_trace_rtio_cqe_submit_exit
3419
#define sys_port_trace_rtio_cqe_submit_exit(rtio)
3420
#endif
3421
3426
#ifndef sys_port_trace_rtio_cqe_acquire_enter
3427
#define sys_port_trace_rtio_cqe_acquire_enter(rtio)
3428
#endif
3429
3435
#ifndef sys_port_trace_rtio_cqe_acquire_exit
3436
#define sys_port_trace_rtio_cqe_acquire_exit(rtio, cqe)
3437
#endif
3438
3444
#ifndef sys_port_trace_rtio_cqe_release
3445
#define sys_port_trace_rtio_cqe_release(rtio, cqe)
3446
#endif
3447
3452
#ifndef sys_port_trace_rtio_cqe_consume_enter
3453
#define sys_port_trace_rtio_cqe_consume_enter(rtio)
3454
#endif
3455
3461
#ifndef sys_port_trace_rtio_cqe_consume_exit
3462
#define sys_port_trace_rtio_cqe_consume_exit(rtio, cqe)
3463
#endif
3464
3470
#ifndef sys_port_trace_rtio_txn_next_enter
3471
#define sys_port_trace_rtio_txn_next_enter(rtio, iodev_sqe)
3472
#endif
3473
3479
#ifndef sys_port_trace_rtio_txn_next_exit
3480
#define sys_port_trace_rtio_txn_next_exit(rtio, iodev_sqe)
3481
#endif
3482
3488
#ifndef sys_port_trace_rtio_chain_next_enter
3489
#define sys_port_trace_rtio_chain_next_enter(rtio, iodev_sqe)
3490
#endif
3491
3497
#ifndef sys_port_trace_rtio_chain_next_exit
3498
#define sys_port_trace_rtio_chain_next_exit(rtio, iodev_sqe)
3499
#endif
3500
/* end of subsys_tracing_apis_rtio */
3502
3512
3517
#ifndef sys_port_trace_k_pipe_alloc_init_enter
3518
#define sys_port_trace_k_pipe_alloc_init_enter(pipe)
3519
#endif
3525
#ifndef sys_port_trace_k_pipe_alloc_init_exit
3526
#define sys_port_trace_k_pipe_alloc_init_exit(pipe, ret)
3527
#endif
3532
#ifndef sys_port_trace_k_pipe_buffer_flush_enter
3533
#define sys_port_trace_k_pipe_buffer_flush_enter(pipe)
3534
#endif
3539
#ifndef sys_port_trace_k_pipe_buffer_flush_exit
3540
#define sys_port_trace_k_pipe_buffer_flush_exit(pipe)
3541
#endif
3546
#ifndef sys_port_trace_k_pipe_cleanup_enter
3547
#define sys_port_trace_k_pipe_cleanup_enter(pipe)
3548
#endif
3554
#ifndef sys_port_trace_k_pipe_cleanup_exit
3555
#define sys_port_trace_k_pipe_cleanup_exit(pipe, ret)
3556
#endif
3561
#ifndef sys_port_trace_k_pipe_flush_enter
3562
#define sys_port_trace_k_pipe_flush_enter(pipe)
3563
#endif
3568
#ifndef sys_port_trace_k_pipe_flush_exit
3569
#define sys_port_trace_k_pipe_flush_exit(pipe)
3570
#endif
3576
#ifndef sys_port_trace_k_pipe_get_blocking
3577
#define sys_port_trace_k_pipe_get_blocking(pipe, timeout)
3578
#endif
3584
#ifndef sys_port_trace_k_pipe_get_enter
3585
#define sys_port_trace_k_pipe_get_enter(pipe, timeout)
3586
#endif
3593
#ifndef sys_port_trace_k_pipe_get_exit
3594
#define sys_port_trace_k_pipe_get_exit(pipe, timeout, ret)
3595
#endif
3601
#ifndef sys_port_trace_k_pipe_put_blocking
3602
#define sys_port_trace_k_pipe_put_blocking(pipe, timeout)
3603
#endif
3609
#ifndef sys_port_trace_k_pipe_put_enter
3610
#define sys_port_trace_k_pipe_put_enter(pipe, timeout)
3611
#endif
3618
#ifndef sys_port_trace_k_pipe_put_exit
3619
#define sys_port_trace_k_pipe_put_exit(pipe, timeout, ret)
3620
#endif
3626
#ifndef sys_port_trace_k_thread_heap_assign
3627
#define sys_port_trace_k_thread_heap_assign(thread, heap)
3628
#endif
3634
#ifndef sys_port_trace_syscall_exit
3635
#define sys_port_trace_syscall_exit(id, name, ...)
3636
#endif
3637
/* end of subsys_tracing_apis_backend_ext */
3639
3640
#endif
/* ZEPHYR_INCLUDE_TRACING_TRACING_HOOKS_H_ */
zephyr
tracing
tracing_hooks.h
Generated on
for Zephyr API Documentation by
1.16.1