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
32
36
#ifndef sys_port_trace_k_thread_foreach_enter
37
#define sys_port_trace_k_thread_foreach_enter()
38
#endif
39
43
#ifndef sys_port_trace_k_thread_foreach_exit
44
#define sys_port_trace_k_thread_foreach_exit()
45
#endif
46
50
#ifndef sys_port_trace_k_thread_foreach_unlocked_enter
51
#define sys_port_trace_k_thread_foreach_unlocked_enter()
52
#endif
53
57
#ifndef sys_port_trace_k_thread_foreach_unlocked_exit
58
#define sys_port_trace_k_thread_foreach_unlocked_exit()
59
#endif
60
65
#ifndef sys_port_trace_k_thread_create
66
#define sys_port_trace_k_thread_create(new_thread)
67
#endif
68
72
#ifndef sys_port_trace_k_thread_user_mode_enter
73
#define sys_port_trace_k_thread_user_mode_enter()
74
#endif
75
81
#ifndef sys_port_trace_k_thread_join_enter
82
#define sys_port_trace_k_thread_join_enter(thread, timeout)
83
#endif
84
90
#ifndef sys_port_trace_k_thread_join_blocking
91
#define sys_port_trace_k_thread_join_blocking(thread, timeout)
92
#endif
93
100
#ifndef sys_port_trace_k_thread_join_exit
101
#define sys_port_trace_k_thread_join_exit(thread, timeout, ret)
102
#endif
103
108
#ifndef sys_port_trace_k_thread_sleep_enter
109
#define sys_port_trace_k_thread_sleep_enter(timeout)
110
#endif
111
117
#ifndef sys_port_trace_k_thread_sleep_exit
118
#define sys_port_trace_k_thread_sleep_exit(timeout, ret)
119
#endif
120
125
#ifndef sys_port_trace_k_thread_msleep_enter
126
#define sys_port_trace_k_thread_msleep_enter(ms)
127
#endif
128
134
#ifndef sys_port_trace_k_thread_msleep_exit
135
#define sys_port_trace_k_thread_msleep_exit(ms, ret)
136
#endif
137
142
#ifndef sys_port_trace_k_thread_usleep_enter
143
#define sys_port_trace_k_thread_usleep_enter(us)
144
#endif
145
151
#ifndef sys_port_trace_k_thread_usleep_exit
152
#define sys_port_trace_k_thread_usleep_exit(us, ret)
153
#endif
154
159
#ifndef sys_port_trace_k_thread_busy_wait_enter
160
#define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait)
161
#endif
162
167
#ifndef sys_port_trace_k_thread_busy_wait_exit
168
#define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait)
169
#endif
170
174
#ifndef sys_port_trace_k_thread_yield
175
#define sys_port_trace_k_thread_yield()
176
#endif
177
182
#ifndef sys_port_trace_k_thread_wakeup
183
#define sys_port_trace_k_thread_wakeup(thread)
184
#endif
185
190
#ifndef sys_port_trace_k_thread_start
191
#define sys_port_trace_k_thread_start(thread)
192
#endif
193
198
#ifndef sys_port_trace_k_thread_abort
199
#define sys_port_trace_k_thread_abort(thread)
200
#endif
201
206
#ifndef sys_port_trace_k_thread_abort_enter
207
#define sys_port_trace_k_thread_abort_enter(thread)
208
#endif
209
214
#ifndef sys_port_trace_k_thread_abort_exit
215
#define sys_port_trace_k_thread_abort_exit(thread)
216
#endif
217
222
#ifndef sys_port_trace_k_thread_priority_set
223
#define sys_port_trace_k_thread_priority_set(thread)
224
#endif
225
231
#ifndef sys_port_trace_k_thread_suspend_enter
232
#define sys_port_trace_k_thread_suspend_enter(thread)
233
#endif
234
240
#ifndef sys_port_trace_k_thread_suspend_exit
241
#define sys_port_trace_k_thread_suspend_exit(thread)
242
#endif
243
249
#ifndef sys_port_trace_k_thread_resume_enter
250
#define sys_port_trace_k_thread_resume_enter(thread)
251
#endif
252
258
#ifndef sys_port_trace_k_thread_resume_exit
259
#define sys_port_trace_k_thread_resume_exit(thread)
260
#endif
261
265
#ifndef sys_port_trace_k_thread_sched_lock
266
#define sys_port_trace_k_thread_sched_lock()
267
#endif
268
272
#ifndef sys_port_trace_k_thread_sched_unlock
273
#define sys_port_trace_k_thread_sched_unlock()
274
#endif
275
281
#ifndef sys_port_trace_k_thread_name_set
282
#define sys_port_trace_k_thread_name_set(thread, ret)
283
#endif
284
288
#ifndef sys_port_trace_k_thread_switched_out
289
#define sys_port_trace_k_thread_switched_out()
290
#endif
291
295
#ifndef sys_port_trace_k_thread_switched_in
296
#define sys_port_trace_k_thread_switched_in()
297
#endif
298
303
#ifndef sys_port_trace_k_thread_ready
304
#define sys_port_trace_k_thread_ready(thread)
305
#endif
306
311
#ifndef sys_port_trace_k_thread_pend
312
#define sys_port_trace_k_thread_pend(thread)
313
#endif
314
319
#ifndef sys_port_trace_k_thread_info
320
#define sys_port_trace_k_thread_info(thread)
321
#endif
322
327
#ifndef sys_port_trace_k_thread_sched_wakeup
328
#define sys_port_trace_k_thread_sched_wakeup(thread)
329
#endif
330
335
#ifndef sys_port_trace_k_thread_sched_abort
336
#define sys_port_trace_k_thread_sched_abort(thread)
337
#endif
338
344
#ifndef sys_port_trace_k_thread_sched_priority_set
345
#define sys_port_trace_k_thread_sched_priority_set(thread, prio)
346
#endif
347
352
#ifndef sys_port_trace_k_thread_sched_ready
353
#define sys_port_trace_k_thread_sched_ready(thread)
354
#endif
355
360
#ifndef sys_port_trace_k_thread_sched_pend
361
#define sys_port_trace_k_thread_sched_pend(thread)
362
#endif
363
368
#ifndef sys_port_trace_k_thread_sched_resume
369
#define sys_port_trace_k_thread_sched_resume(thread)
370
#endif
371
376
#ifndef sys_port_trace_k_thread_sched_suspend
377
#define sys_port_trace_k_thread_sched_suspend(thread)
378
#endif
379
/* end of subsys_tracing_apis_thread */
381
387
392
#ifndef sys_port_trace_k_work_init
393
#define sys_port_trace_k_work_init(work)
394
#endif
395
401
#ifndef sys_port_trace_k_work_submit_to_queue_enter
402
#define sys_port_trace_k_work_submit_to_queue_enter(queue, work)
403
#endif
404
411
#ifndef sys_port_trace_k_work_submit_to_queue_exit
412
#define sys_port_trace_k_work_submit_to_queue_exit(queue, work, ret)
413
#endif
414
419
#ifndef sys_port_trace_k_work_submit_enter
420
#define sys_port_trace_k_work_submit_enter(work)
421
#endif
422
428
#ifndef sys_port_trace_k_work_submit_exit
429
#define sys_port_trace_k_work_submit_exit(work, ret)
430
#endif
431
436
#ifndef sys_port_trace_k_work_flush_enter
437
#define sys_port_trace_k_work_flush_enter(work)
438
#endif
439
445
#ifndef sys_port_trace_k_work_flush_blocking
446
#define sys_port_trace_k_work_flush_blocking(work, timeout)
447
#endif
448
454
#ifndef sys_port_trace_k_work_flush_exit
455
#define sys_port_trace_k_work_flush_exit(work, ret)
456
#endif
457
462
#ifndef sys_port_trace_k_work_cancel_enter
463
#define sys_port_trace_k_work_cancel_enter(work)
464
#endif
465
471
#ifndef sys_port_trace_k_work_cancel_exit
472
#define sys_port_trace_k_work_cancel_exit(work, ret)
473
#endif
474
480
#ifndef sys_port_trace_k_work_cancel_sync_enter
481
#define sys_port_trace_k_work_cancel_sync_enter(work, sync)
482
#endif
483
489
#ifndef sys_port_trace_k_work_cancel_sync_blocking
490
#define sys_port_trace_k_work_cancel_sync_blocking(work, sync)
491
#endif
492
499
#ifndef sys_port_trace_k_work_cancel_sync_exit
500
#define sys_port_trace_k_work_cancel_sync_exit(work, sync, ret)
501
#endif
502
/* end of subsys_tracing_apis_work */
504
510
515
#ifndef sys_port_trace_k_work_queue_init
516
#define sys_port_trace_k_work_queue_init(queue)
517
#endif
518
523
#ifndef sys_port_trace_k_work_queue_start_enter
524
#define sys_port_trace_k_work_queue_start_enter(queue)
525
#endif
526
531
#ifndef sys_port_trace_k_work_queue_start_exit
532
#define sys_port_trace_k_work_queue_start_exit(queue)
533
#endif
534
540
#ifndef sys_port_trace_k_work_queue_stop_enter
541
#define sys_port_trace_k_work_queue_stop_enter(queue, timeout)
542
#endif
543
549
#ifndef sys_port_trace_k_work_queue_stop_blocking
550
#define sys_port_trace_k_work_queue_stop_blocking(queue, timeout)
551
#endif
552
559
#ifndef sys_port_trace_k_work_queue_stop_exit
560
#define sys_port_trace_k_work_queue_stop_exit(queue, timeout, ret)
561
#endif
562
567
#ifndef sys_port_trace_k_work_queue_drain_enter
568
#define sys_port_trace_k_work_queue_drain_enter(queue)
569
#endif
570
576
#ifndef sys_port_trace_k_work_queue_drain_exit
577
#define sys_port_trace_k_work_queue_drain_exit(queue, ret)
578
#endif
579
584
#ifndef sys_port_trace_k_work_queue_unplug_enter
585
#define sys_port_trace_k_work_queue_unplug_enter(queue)
586
#endif
587
593
#ifndef sys_port_trace_k_work_queue_unplug_exit
594
#define sys_port_trace_k_work_queue_unplug_exit(queue, ret)
595
#endif
596
/* end of subsys_tracing_apis_work_q */
598
604
609
#ifndef sys_port_trace_k_work_delayable_init
610
#define sys_port_trace_k_work_delayable_init(dwork)
611
#endif
612
619
#ifndef sys_port_trace_k_work_schedule_for_queue_enter
620
#define sys_port_trace_k_work_schedule_for_queue_enter(queue, dwork, delay)
621
#endif
622
630
#ifndef sys_port_trace_k_work_schedule_for_queue_exit
631
#define sys_port_trace_k_work_schedule_for_queue_exit(queue, dwork, delay, ret)
632
#endif
633
639
#ifndef sys_port_trace_k_work_schedule_enter
640
#define sys_port_trace_k_work_schedule_enter(dwork, delay)
641
#endif
642
649
#ifndef sys_port_trace_k_work_schedule_exit
650
#define sys_port_trace_k_work_schedule_exit(dwork, delay, ret)
651
#endif
652
659
#ifndef sys_port_trace_k_work_reschedule_for_queue_enter
660
#define sys_port_trace_k_work_reschedule_for_queue_enter(queue, dwork, delay)
661
#endif
662
670
#ifndef sys_port_trace_k_work_reschedule_for_queue_exit
671
#define sys_port_trace_k_work_reschedule_for_queue_exit(queue, dwork, delay, ret)
672
#endif
673
679
#ifndef sys_port_trace_k_work_reschedule_enter
680
#define sys_port_trace_k_work_reschedule_enter(dwork, delay)
681
#endif
682
689
#ifndef sys_port_trace_k_work_reschedule_exit
690
#define sys_port_trace_k_work_reschedule_exit(dwork, delay, ret)
691
#endif
692
698
#ifndef sys_port_trace_k_work_flush_delayable_enter
699
#define sys_port_trace_k_work_flush_delayable_enter(dwork, sync)
700
#endif
701
708
#ifndef sys_port_trace_k_work_flush_delayable_exit
709
#define sys_port_trace_k_work_flush_delayable_exit(dwork, sync, ret)
710
#endif
711
716
#ifndef sys_port_trace_k_work_cancel_delayable_enter
717
#define sys_port_trace_k_work_cancel_delayable_enter(dwork)
718
#endif
719
725
#ifndef sys_port_trace_k_work_cancel_delayable_exit
726
#define sys_port_trace_k_work_cancel_delayable_exit(dwork, ret)
727
#endif
728
734
#ifndef sys_port_trace_k_work_cancel_delayable_sync_enter
735
#define sys_port_trace_k_work_cancel_delayable_sync_enter(dwork, sync)
736
#endif
737
744
#ifndef sys_port_trace_k_work_cancel_delayable_sync_exit
745
#define sys_port_trace_k_work_cancel_delayable_sync_exit(dwork, sync, ret)
746
#endif
747
/* end of subsys_tracing_apis_work_delayable */
749
755
760
#ifndef sys_port_trace_k_work_poll_init_enter
761
#define sys_port_trace_k_work_poll_init_enter(work)
762
#endif
763
768
#ifndef sys_port_trace_k_work_poll_init_exit
769
#define sys_port_trace_k_work_poll_init_exit(work)
770
#endif
771
778
#ifndef sys_port_trace_k_work_poll_submit_to_queue_enter
779
#define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, timeout)
780
#endif
781
788
#ifndef sys_port_trace_k_work_poll_submit_to_queue_blocking
789
#define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, timeout)
790
#endif
791
799
#ifndef sys_port_trace_k_work_poll_submit_to_queue_exit
800
#define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, ret)
801
#endif
802
808
#ifndef sys_port_trace_k_work_poll_submit_enter
809
#define sys_port_trace_k_work_poll_submit_enter(work, timeout)
810
#endif
811
818
#ifndef sys_port_trace_k_work_poll_submit_exit
819
#define sys_port_trace_k_work_poll_submit_exit(work, timeout, ret)
820
#endif
821
826
#ifndef sys_port_trace_k_work_poll_cancel_enter
827
#define sys_port_trace_k_work_poll_cancel_enter(work)
828
#endif
829
835
#ifndef sys_port_trace_k_work_poll_cancel_exit
836
#define sys_port_trace_k_work_poll_cancel_exit(work, ret)
837
#endif
838
/* end of subsys_tracing_apis_work_poll */
840
846
851
#ifndef sys_port_trace_k_poll_api_event_init
852
#define sys_port_trace_k_poll_api_event_init(event)
853
#endif
854
859
#ifndef sys_port_trace_k_poll_api_poll_enter
860
#define sys_port_trace_k_poll_api_poll_enter(events)
861
#endif
862
868
#ifndef sys_port_trace_k_poll_api_poll_exit
869
#define sys_port_trace_k_poll_api_poll_exit(events, ret)
870
#endif
871
876
#ifndef sys_port_trace_k_poll_api_signal_init
877
#define sys_port_trace_k_poll_api_signal_init(signal)
878
#endif
879
884
#ifndef sys_port_trace_k_poll_api_signal_reset
885
#define sys_port_trace_k_poll_api_signal_reset(signal)
886
#endif
887
892
#ifndef sys_port_trace_k_poll_api_signal_check
893
#define sys_port_trace_k_poll_api_signal_check(signal)
894
#endif
895
901
#ifndef sys_port_trace_k_poll_api_signal_raise
902
#define sys_port_trace_k_poll_api_signal_raise(signal, ret)
903
#endif
904
/* end of subsys_tracing_apis_poll */
906
912
918
#ifndef sys_port_trace_k_sem_init
919
#define sys_port_trace_k_sem_init(sem, ret)
920
#endif
921
926
#ifndef sys_port_trace_k_sem_give_enter
927
#define sys_port_trace_k_sem_give_enter(sem)
928
#endif
929
934
#ifndef sys_port_trace_k_sem_give_exit
935
#define sys_port_trace_k_sem_give_exit(sem)
936
#endif
937
943
#ifndef sys_port_trace_k_sem_take_enter
944
#define sys_port_trace_k_sem_take_enter(sem, timeout)
945
#endif
946
952
#ifndef sys_port_trace_k_sem_take_blocking
953
#define sys_port_trace_k_sem_take_blocking(sem, timeout)
954
#endif
955
962
#ifndef sys_port_trace_k_sem_take_exit
963
#define sys_port_trace_k_sem_take_exit(sem, timeout, ret)
964
#endif
965
970
#ifndef sys_port_trace_k_sem_reset
971
#define sys_port_trace_k_sem_reset(sem)
972
#endif
973
/* end of subsys_tracing_apis_sem */
975
981
987
#ifndef sys_port_trace_k_mutex_init
988
#define sys_port_trace_k_mutex_init(mutex, ret)
989
#endif
990
996
#ifndef sys_port_trace_k_mutex_lock_enter
997
#define sys_port_trace_k_mutex_lock_enter(mutex, timeout)
998
#endif
999
1005
#ifndef sys_port_trace_k_mutex_lock_blocking
1006
#define sys_port_trace_k_mutex_lock_blocking(mutex, timeout)
1007
#endif
1008
1015
#ifndef sys_port_trace_k_mutex_lock_exit
1016
#define sys_port_trace_k_mutex_lock_exit(mutex, timeout, ret)
1017
#endif
1018
1023
#ifndef sys_port_trace_k_mutex_unlock_enter
1024
#define sys_port_trace_k_mutex_unlock_enter(mutex)
1025
#endif
1026
1030
#ifndef sys_port_trace_k_mutex_unlock_exit
1031
#define sys_port_trace_k_mutex_unlock_exit(mutex, ret)
1032
#endif
1033
/* end of subsys_tracing_apis_mutex */
1035
1041
1047
#ifndef sys_port_trace_k_condvar_init
1048
#define sys_port_trace_k_condvar_init(condvar, ret)
1049
#endif
1050
1055
#ifndef sys_port_trace_k_condvar_signal_enter
1056
#define sys_port_trace_k_condvar_signal_enter(condvar)
1057
#endif
1058
1064
#ifndef sys_port_trace_k_condvar_signal_blocking
1065
#define sys_port_trace_k_condvar_signal_blocking(condvar, timeout)
1066
#endif
1067
1073
#ifndef sys_port_trace_k_condvar_signal_exit
1074
#define sys_port_trace_k_condvar_signal_exit(condvar, ret)
1075
#endif
1076
1081
#ifndef sys_port_trace_k_condvar_broadcast_enter
1082
#define sys_port_trace_k_condvar_broadcast_enter(condvar)
1083
#endif
1084
1090
#ifndef sys_port_trace_k_condvar_broadcast_exit
1091
#define sys_port_trace_k_condvar_broadcast_exit(condvar, ret)
1092
#endif
1093
1099
#ifndef sys_port_trace_k_condvar_wait_enter
1100
#define sys_port_trace_k_condvar_wait_enter(condvar, timeout)
1101
#endif
1102
1109
#ifndef sys_port_trace_k_condvar_wait_exit
1110
#define sys_port_trace_k_condvar_wait_exit(condvar, timeout, ret)
1111
#endif
1112
/* end of subsys_tracing_apis_condvar */
1114
1120
1125
#ifndef sys_port_trace_k_queue_init
1126
#define sys_port_trace_k_queue_init(queue)
1127
#endif
1128
1133
#ifndef sys_port_trace_k_queue_cancel_wait
1134
#define sys_port_trace_k_queue_cancel_wait(queue)
1135
#endif
1136
1142
#ifndef sys_port_trace_k_queue_queue_insert_enter
1143
#define sys_port_trace_k_queue_queue_insert_enter(queue, alloc)
1144
#endif
1145
1152
#ifndef sys_port_trace_k_queue_queue_insert_blocking
1153
#define sys_port_trace_k_queue_queue_insert_blocking(queue, alloc, timeout)
1154
#endif
1155
1162
#ifndef sys_port_trace_k_queue_queue_insert_exit
1163
#define sys_port_trace_k_queue_queue_insert_exit(queue, alloc, ret)
1164
#endif
1165
1170
#ifndef sys_port_trace_k_queue_append_enter
1171
#define sys_port_trace_k_queue_append_enter(queue)
1172
#endif
1173
1178
#ifndef sys_port_trace_k_queue_append_exit
1179
#define sys_port_trace_k_queue_append_exit(queue)
1180
#endif
1181
1186
#ifndef sys_port_trace_k_queue_alloc_append_enter
1187
#define sys_port_trace_k_queue_alloc_append_enter(queue)
1188
#endif
1189
1195
#ifndef sys_port_trace_k_queue_alloc_append_exit
1196
#define sys_port_trace_k_queue_alloc_append_exit(queue, ret)
1197
#endif
1198
1203
#ifndef sys_port_trace_k_queue_prepend_enter
1204
#define sys_port_trace_k_queue_prepend_enter(queue)
1205
#endif
1206
1211
#ifndef sys_port_trace_k_queue_prepend_exit
1212
#define sys_port_trace_k_queue_prepend_exit(queue)
1213
#endif
1214
1219
#ifndef sys_port_trace_k_queue_alloc_prepend_enter
1220
#define sys_port_trace_k_queue_alloc_prepend_enter(queue)
1221
#endif
1222
1228
#ifndef sys_port_trace_k_queue_alloc_prepend_exit
1229
#define sys_port_trace_k_queue_alloc_prepend_exit(queue, ret)
1230
#endif
1231
1236
#ifndef sys_port_trace_k_queue_insert_enter
1237
#define sys_port_trace_k_queue_insert_enter(queue)
1238
#endif
1239
1245
#ifndef sys_port_trace_k_queue_insert_blocking
1246
#define sys_port_trace_k_queue_insert_blocking(queue, timeout)
1247
#endif
1248
1253
#ifndef sys_port_trace_k_queue_insert_exit
1254
#define sys_port_trace_k_queue_insert_exit(queue)
1255
#endif
1256
1261
#ifndef sys_port_trace_k_queue_append_list_enter
1262
#define sys_port_trace_k_queue_append_list_enter(queue)
1263
#endif
1264
1270
#ifndef sys_port_trace_k_queue_append_list_exit
1271
#define sys_port_trace_k_queue_append_list_exit(queue, ret)
1272
#endif
1273
1278
#ifndef sys_port_trace_k_queue_merge_slist_enter
1279
#define sys_port_trace_k_queue_merge_slist_enter(queue)
1280
#endif
1281
1287
#ifndef sys_port_trace_k_queue_merge_slist_exit
1288
#define sys_port_trace_k_queue_merge_slist_exit(queue, ret)
1289
#endif
1290
1296
#ifndef sys_port_trace_k_queue_get_enter
1297
#define sys_port_trace_k_queue_get_enter(queue, timeout)
1298
#endif
1299
1305
#ifndef sys_port_trace_k_queue_get_blocking
1306
#define sys_port_trace_k_queue_get_blocking(queue, timeout)
1307
#endif
1308
1315
#ifndef sys_port_trace_k_queue_get_exit
1316
#define sys_port_trace_k_queue_get_exit(queue, timeout, ret)
1317
#endif
1318
1323
#ifndef sys_port_trace_k_queue_remove_enter
1324
#define sys_port_trace_k_queue_remove_enter(queue)
1325
#endif
1326
1332
#ifndef sys_port_trace_k_queue_remove_exit
1333
#define sys_port_trace_k_queue_remove_exit(queue, ret)
1334
#endif
1335
1340
#ifndef sys_port_trace_k_queue_unique_append_enter
1341
#define sys_port_trace_k_queue_unique_append_enter(queue)
1342
#endif
1343
1350
#ifndef sys_port_trace_k_queue_unique_append_exit
1351
#define sys_port_trace_k_queue_unique_append_exit(queue, ret)
1352
#endif
1353
1359
#ifndef sys_port_trace_k_queue_peek_head
1360
#define sys_port_trace_k_queue_peek_head(queue, ret)
1361
#endif
1362
1368
#ifndef sys_port_trace_k_queue_peek_tail
1369
#define sys_port_trace_k_queue_peek_tail(queue, ret)
1370
#endif
1371
/* end of subsys_tracing_apis_queue */
1373
1379
1384
#ifndef sys_port_trace_k_fifo_init_enter
1385
#define sys_port_trace_k_fifo_init_enter(fifo)
1386
#endif
1387
1392
#ifndef sys_port_trace_k_fifo_init_exit
1393
#define sys_port_trace_k_fifo_init_exit(fifo)
1394
#endif
1395
1400
#ifndef sys_port_trace_k_fifo_cancel_wait_enter
1401
#define sys_port_trace_k_fifo_cancel_wait_enter(fifo)
1402
#endif
1403
1408
#ifndef sys_port_trace_k_fifo_cancel_wait_exit
1409
#define sys_port_trace_k_fifo_cancel_wait_exit(fifo)
1410
#endif
1411
1417
#ifndef sys_port_trace_k_fifo_put_enter
1418
#define sys_port_trace_k_fifo_put_enter(fifo, data)
1419
#endif
1420
1426
#ifndef sys_port_trace_k_fifo_put_exit
1427
#define sys_port_trace_k_fifo_put_exit(fifo, data)
1428
#endif
1429
1435
#ifndef sys_port_trace_k_fifo_alloc_put_enter
1436
#define sys_port_trace_k_fifo_alloc_put_enter(fifo, data)
1437
#endif
1438
1445
#ifndef sys_port_trace_k_fifo_alloc_put_exit
1446
#define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret)
1447
#endif
1448
1455
#ifndef sys_port_trace_k_fifo_put_list_enter
1456
#define sys_port_trace_k_fifo_put_list_enter(fifo, head, tail)
1457
#endif
1458
1465
#ifndef sys_port_trace_k_fifo_put_list_exit
1466
#define sys_port_trace_k_fifo_put_list_exit(fifo, head, tail)
1467
#endif
1468
1474
#ifndef sys_port_trace_k_fifo_put_slist_enter
1475
#define sys_port_trace_k_fifo_put_slist_enter(fifo, list)
1476
#endif
1477
1483
#ifndef sys_port_trace_k_fifo_put_slist_exit
1484
#define sys_port_trace_k_fifo_put_slist_exit(fifo, list)
1485
#endif
1486
1492
#ifndef sys_port_trace_k_fifo_get_enter
1493
#define sys_port_trace_k_fifo_get_enter(fifo, timeout)
1494
#endif
1495
1502
#ifndef sys_port_trace_k_fifo_get_exit
1503
#define sys_port_trace_k_fifo_get_exit(fifo, timeout, ret)
1504
#endif
1505
1510
#ifndef sys_port_trace_k_fifo_peek_head_enter
1511
#define sys_port_trace_k_fifo_peek_head_enter(fifo)
1512
#endif
1513
1519
#ifndef sys_port_trace_k_fifo_peek_head_exit
1520
#define sys_port_trace_k_fifo_peek_head_exit(fifo, ret)
1521
#endif
1522
1527
#ifndef sys_port_trace_k_fifo_peek_tail_enter
1528
#define sys_port_trace_k_fifo_peek_tail_enter(fifo)
1529
#endif
1530
1536
#ifndef sys_port_trace_k_fifo_peek_tail_exit
1537
#define sys_port_trace_k_fifo_peek_tail_exit(fifo, ret)
1538
#endif
1539
/* end of subsys_tracing_apis_fifo */
1541
1547
1552
#ifndef sys_port_trace_k_lifo_init_enter
1553
#define sys_port_trace_k_lifo_init_enter(lifo)
1554
#endif
1555
1560
#ifndef sys_port_trace_k_lifo_init_exit
1561
#define sys_port_trace_k_lifo_init_exit(lifo)
1562
#endif
1563
1569
#ifndef sys_port_trace_k_lifo_put_enter
1570
#define sys_port_trace_k_lifo_put_enter(lifo, data)
1571
#endif
1572
1578
#ifndef sys_port_trace_k_lifo_put_exit
1579
#define sys_port_trace_k_lifo_put_exit(lifo, data)
1580
#endif
1581
1587
#ifndef sys_port_trace_k_lifo_alloc_put_enter
1588
#define sys_port_trace_k_lifo_alloc_put_enter(lifo, data)
1589
#endif
1590
1597
#ifndef sys_port_trace_k_lifo_alloc_put_exit
1598
#define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret)
1599
#endif
1600
1606
#ifndef sys_port_trace_k_lifo_get_enter
1607
#define sys_port_trace_k_lifo_get_enter(lifo, timeout)
1608
#endif
1609
1616
#ifndef sys_port_trace_k_lifo_get_exit
1617
#define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret)
1618
#endif
1619
/* end of subsys_tracing_apis_lifo */
1621
1627
1632
#ifndef sys_port_trace_k_stack_init
1633
#define sys_port_trace_k_stack_init(stack)
1634
#endif
1635
1640
#ifndef sys_port_trace_k_stack_alloc_init_enter
1641
#define sys_port_trace_k_stack_alloc_init_enter(stack)
1642
#endif
1643
1649
#ifndef sys_port_trace_k_stack_alloc_init_exit
1650
#define sys_port_trace_k_stack_alloc_init_exit(stack, ret)
1651
#endif
1652
1657
#ifndef sys_port_trace_k_stack_cleanup_enter
1658
#define sys_port_trace_k_stack_cleanup_enter(stack)
1659
#endif
1660
1666
#ifndef sys_port_trace_k_stack_cleanup_exit
1667
#define sys_port_trace_k_stack_cleanup_exit(stack, ret)
1668
#endif
1669
1674
#ifndef sys_port_trace_k_stack_push_enter
1675
#define sys_port_trace_k_stack_push_enter(stack)
1676
#endif
1677
1683
#ifndef sys_port_trace_k_stack_push_exit
1684
#define sys_port_trace_k_stack_push_exit(stack, ret)
1685
#endif
1686
1692
#ifndef sys_port_trace_k_stack_pop_enter
1693
#define sys_port_trace_k_stack_pop_enter(stack, timeout)
1694
#endif
1695
1701
#ifndef sys_port_trace_k_stack_pop_blocking
1702
#define sys_port_trace_k_stack_pop_blocking(stack, timeout)
1703
#endif
1704
1711
#ifndef sys_port_trace_k_stack_pop_exit
1712
#define sys_port_trace_k_stack_pop_exit(stack, timeout, ret)
1713
#endif
1714
/* end of subsys_tracing_apis_stack */
1716
1722
1727
#ifndef sys_port_trace_k_msgq_init
1728
#define sys_port_trace_k_msgq_init(msgq)
1729
#endif
1730
1735
#ifndef sys_port_trace_k_msgq_alloc_init_enter
1736
#define sys_port_trace_k_msgq_alloc_init_enter(msgq)
1737
#endif
1738
1744
#ifndef sys_port_trace_k_msgq_alloc_init_exit
1745
#define sys_port_trace_k_msgq_alloc_init_exit(msgq, ret)
1746
#endif
1747
1752
#ifndef sys_port_trace_k_msgq_cleanup_enter
1753
#define sys_port_trace_k_msgq_cleanup_enter(msgq)
1754
#endif
1755
1761
#ifndef sys_port_trace_k_msgq_cleanup_exit
1762
#define sys_port_trace_k_msgq_cleanup_exit(msgq, ret)
1763
#endif
1764
1770
#ifndef sys_port_trace_k_msgq_put_enter
1771
#define sys_port_trace_k_msgq_put_enter(msgq, timeout)
1772
#endif
1773
1779
#ifndef sys_port_trace_k_msgq_put_blocking
1780
#define sys_port_trace_k_msgq_put_blocking(msgq, timeout)
1781
#endif
1782
1789
#ifndef sys_port_trace_k_msgq_put_exit
1790
#define sys_port_trace_k_msgq_put_exit(msgq, timeout, ret)
1791
#endif
1792
1798
#ifndef sys_port_trace_k_msgq_put_front_enter
1799
#define sys_port_trace_k_msgq_put_front_enter(msgq, timeout)
1800
#endif
1801
1807
#ifndef sys_port_trace_k_msgq_put_front_blocking
1808
#define sys_port_trace_k_msgq_put_front_blocking(msgq, timeout)
1809
#endif
1810
1817
#ifndef sys_port_trace_k_msgq_put_front_exit
1818
#define sys_port_trace_k_msgq_put_front_exit(msgq, timeout, ret)
1819
#endif
1820
1826
#ifndef sys_port_trace_k_msgq_get_enter
1827
#define sys_port_trace_k_msgq_get_enter(msgq, timeout)
1828
#endif
1829
1835
#ifndef sys_port_trace_k_msgq_get_blocking
1836
#define sys_port_trace_k_msgq_get_blocking(msgq, timeout)
1837
#endif
1838
1845
#ifndef sys_port_trace_k_msgq_get_exit
1846
#define sys_port_trace_k_msgq_get_exit(msgq, timeout, ret)
1847
#endif
1848
1854
#ifndef sys_port_trace_k_msgq_peek
1855
#define sys_port_trace_k_msgq_peek(msgq, ret)
1856
#endif
1857
1862
#ifndef sys_port_trace_k_msgq_purge
1863
#define sys_port_trace_k_msgq_purge(msgq)
1864
#endif
1865
/* end of subsys_tracing_apis_msgq */
1867
1873
1878
#ifndef sys_port_trace_k_mbox_init
1879
#define sys_port_trace_k_mbox_init(mbox)
1880
#endif
1881
1887
#ifndef sys_port_trace_k_mbox_message_put_enter
1888
#define sys_port_trace_k_mbox_message_put_enter(mbox, timeout)
1889
#endif
1890
1896
#ifndef sys_port_trace_k_mbox_message_put_blocking
1897
#define sys_port_trace_k_mbox_message_put_blocking(mbox, timeout)
1898
#endif
1899
1906
#ifndef sys_port_trace_k_mbox_message_put_exit
1907
#define sys_port_trace_k_mbox_message_put_exit(mbox, timeout, ret)
1908
#endif
1909
1915
#ifndef sys_port_trace_k_mbox_put_enter
1916
#define sys_port_trace_k_mbox_put_enter(mbox, timeout)
1917
#endif
1918
1925
#ifndef sys_port_trace_k_mbox_put_exit
1926
#define sys_port_trace_k_mbox_put_exit(mbox, timeout, ret)
1927
#endif
1928
1934
#ifndef sys_port_trace_k_mbox_async_put_enter
1935
#define sys_port_trace_k_mbox_async_put_enter(mbox, sem)
1936
#endif
1937
1943
#ifndef sys_port_trace_k_mbox_async_put_exit
1944
#define sys_port_trace_k_mbox_async_put_exit(mbox, sem)
1945
#endif
1946
1952
#ifndef sys_port_trace_k_mbox_get_enter
1953
#define sys_port_trace_k_mbox_get_enter(mbox, timeout)
1954
#endif
1955
1961
#ifndef sys_port_trace_k_mbox_get_blocking
1962
#define sys_port_trace_k_mbox_get_blocking(mbox, timeout)
1963
#endif
1964
1971
#ifndef sys_port_trace_k_mbox_get_exit
1972
#define sys_port_trace_k_mbox_get_exit(mbox, timeout, ret)
1973
#endif
1974
1979
#ifndef sys_port_trace_k_mbox_data_get
1980
#define sys_port_trace_k_mbox_data_get(rx_msg)
1981
#endif
1982
/* end of subsys_tracing_apis_mbox */
1984
1990
1997
#ifndef sys_port_trace_k_pipe_init
1998
#define sys_port_trace_k_pipe_init(pipe, buffer, size)
1999
#endif
2000
2005
#ifndef sys_port_trace_k_pipe_reset_enter
2006
#define sys_port_trace_k_pipe_reset_enter(pipe)
2007
#endif
2008
2013
#ifndef sys_port_trace_k_pipe_reset_exit
2014
#define sys_port_trace_k_pipe_reset_exit(pipe)
2015
#endif
2016
2021
#ifndef sys_port_trace_k_pipe_close_enter
2022
#define sys_port_trace_k_pipe_close_enter(pipe)
2023
#endif
2024
2029
#ifndef sys_port_trace_k_pipe_close_exit
2030
#define sys_port_trace_k_pipe_close_exit(pipe)
2031
#endif
2032
2040
#ifndef sys_port_trace_k_pipe_write_enter
2041
#define sys_port_trace_k_pipe_write_enter(pipe, data, len, timeout)
2042
#endif
2043
2049
#ifndef sys_port_trace_k_pipe_write_blocking
2050
#define sys_port_trace_k_pipe_write_blocking(pipe, timeout)
2051
#endif
2052
2058
#ifndef sys_port_trace_k_pipe_write_exit
2059
#define sys_port_trace_k_pipe_write_exit(pipe, ret)
2060
#endif
2061
2069
#ifndef sys_port_trace_k_pipe_read_enter
2070
#define sys_port_trace_k_pipe_read_enter(pipe, data, len, timeout)
2071
#endif
2072
2078
#ifndef sys_port_trace_k_pipe_read_blocking
2079
#define sys_port_trace_k_pipe_read_blocking(pipe, timeout)
2080
#endif
2081
2087
#ifndef sys_port_trace_k_pipe_read_exit
2088
#define sys_port_trace_k_pipe_read_exit(pipe, ret)
2089
#endif
2090
/* end of subsys_tracing_apis_pipe */
2092
2098
2103
#ifndef sys_port_trace_k_heap_init
2104
#define sys_port_trace_k_heap_init(h)
2105
#endif
2106
2112
#ifndef sys_port_trace_k_heap_aligned_alloc_enter
2113
#define sys_port_trace_k_heap_aligned_alloc_enter(h, timeout)
2114
#endif
2115
2121
#ifndef sys_port_trace_k_heap_alloc_helper_blocking
2122
#define sys_port_trace_k_heap_alloc_helper_blocking(h, timeout)
2123
#endif
2124
2131
#ifndef sys_port_trace_k_heap_aligned_alloc_exit
2132
#define sys_port_trace_k_heap_aligned_alloc_exit(h, timeout, ret)
2133
#endif
2134
2140
#ifndef sys_port_trace_k_heap_alloc_enter
2141
#define sys_port_trace_k_heap_alloc_enter(h, timeout)
2142
#endif
2143
2150
#ifndef sys_port_trace_k_heap_alloc_exit
2151
#define sys_port_trace_k_heap_alloc_exit(h, timeout, ret)
2152
#endif
2153
2159
#ifndef sys_port_trace_k_heap_calloc_enter
2160
#define sys_port_trace_k_heap_calloc_enter(h, timeout)
2161
#endif
2162
2169
#ifndef sys_port_trace_k_heap_calloc_exit
2170
#define sys_port_trace_k_heap_calloc_exit(h, timeout, ret)
2171
#endif
2172
2177
#ifndef sys_port_trace_k_heap_free
2178
#define sys_port_trace_k_heap_free(h)
2179
#endif
2180
2188
#ifndef sys_port_trace_k_heap_realloc_enter
2189
#define sys_port_trace_k_heap_realloc_enter(h, ptr, bytes, timeout)
2190
#endif
2191
2200
#ifndef sys_port_trace_k_heap_realloc_exit
2201
#define sys_port_trace_k_heap_realloc_exit(h, ptr, bytes, timeout, ret)
2202
#endif
2203
2208
#ifndef sys_port_trace_k_heap_sys_k_aligned_alloc_enter
2209
#define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap)
2210
#endif
2211
2217
#ifndef sys_port_trace_k_heap_sys_k_aligned_alloc_exit
2218
#define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret)
2219
#endif
2220
2225
#ifndef sys_port_trace_k_heap_sys_k_malloc_enter
2226
#define sys_port_trace_k_heap_sys_k_malloc_enter(heap)
2227
#endif
2228
2234
#ifndef sys_port_trace_k_heap_sys_k_malloc_exit
2235
#define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret)
2236
#endif
2237
2243
#ifndef sys_port_trace_k_heap_sys_k_free_enter
2244
#define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref)
2245
#endif
2246
2252
#ifndef sys_port_trace_k_heap_sys_k_free_exit
2253
#define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref)
2254
#endif
2255
2260
#ifndef sys_port_trace_k_heap_sys_k_calloc_enter
2261
#define sys_port_trace_k_heap_sys_k_calloc_enter(heap)
2262
#endif
2263
2269
#ifndef sys_port_trace_k_heap_sys_k_calloc_exit
2270
#define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret)
2271
#endif
2272
2278
#ifndef sys_port_trace_k_heap_sys_k_realloc_enter
2279
#define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr)
2280
#endif
2281
2288
#ifndef sys_port_trace_k_heap_sys_k_realloc_exit
2289
#define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret)
2290
#endif
2291
/* end of subsys_tracing_apis_heap */
2293
2299
2305
#ifndef sys_port_trace_k_mem_slab_init
2306
#define sys_port_trace_k_mem_slab_init(slab, rc)
2307
#endif
2308
2314
#ifndef sys_port_trace_k_mem_slab_alloc_enter
2315
#define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout)
2316
#endif
2317
2323
#ifndef sys_port_trace_k_mem_slab_alloc_blocking
2324
#define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout)
2325
#endif
2326
2333
#ifndef sys_port_trace_k_mem_slab_alloc_exit
2334
#define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret)
2335
#endif
2336
2341
#ifndef sys_port_trace_k_mem_slab_free_enter
2342
#define sys_port_trace_k_mem_slab_free_enter(slab)
2343
#endif
2344
2349
#ifndef sys_port_trace_k_mem_slab_free_exit
2350
#define sys_port_trace_k_mem_slab_free_exit(slab)
2351
#endif
2352
/* end of subsys_tracing_apis_mslab */
2354
2360
2365
#ifndef sys_port_trace_k_timer_init
2366
#define sys_port_trace_k_timer_init(timer)
2367
#endif
2368
2375
#ifndef sys_port_trace_k_timer_start
2376
#define sys_port_trace_k_timer_start(timer, duration, period)
2377
#endif
2378
2383
#ifndef sys_port_trace_k_timer_stop
2384
#define sys_port_trace_k_timer_stop(timer)
2385
#endif
2386
2391
#ifndef sys_port_trace_k_timer_status_sync_enter
2392
#define sys_port_trace_k_timer_status_sync_enter(timer)
2393
#endif
2394
2400
#ifndef sys_port_trace_k_timer_status_sync_blocking
2401
#define sys_port_trace_k_timer_status_sync_blocking(timer, timeout)
2402
#endif
2403
2409
#ifndef sys_port_trace_k_timer_status_sync_exit
2410
#define sys_port_trace_k_timer_status_sync_exit(timer, result)
2411
#endif
2412
2417
#ifndef sys_port_trace_k_timer_expiry_enter
2418
#define sys_port_trace_k_timer_expiry_enter(timer)
2419
#endif
2420
2425
#ifndef sys_port_trace_k_timer_expiry_exit
2426
#define sys_port_trace_k_timer_expiry_exit(timer)
2427
#endif
2428
2433
#ifndef sys_port_trace_k_timer_stop_fn_expiry_enter
2434
#define sys_port_trace_k_timer_stop_fn_expiry_enter(timer)
2435
#endif
2436
2441
#ifndef sys_port_trace_k_timer_stop_fn_expiry_exit
2442
#define sys_port_trace_k_timer_stop_fn_expiry_exit(timer)
2443
#endif
2444
2449
#ifndef sys_port_trace_k_timer_cleanup_enter
2450
#define sys_port_trace_k_timer_cleanup_enter(timer)
2451
#endif
2452
2458
#ifndef sys_port_trace_k_timer_cleanup_exit
2459
#define sys_port_trace_k_timer_cleanup_exit(timer, ret)
2460
#endif
2461
/* end of subsys_tracing_apis_timer */
2463
2469
2474
#ifndef sys_port_trace_k_event_init
2475
#define sys_port_trace_k_event_init(event)
2476
#endif
2477
2484
#ifndef sys_port_trace_k_event_post_enter
2485
#define sys_port_trace_k_event_post_enter(event, events, events_mask)
2486
#endif
2487
2494
#ifndef sys_port_trace_k_event_post_exit
2495
#define sys_port_trace_k_event_post_exit(event, events, events_mask)
2496
#endif
2497
2505
#ifndef sys_port_trace_k_event_wait_enter
2506
#define sys_port_trace_k_event_wait_enter(event, events, options, timeout)
2507
#endif
2508
2516
#ifndef sys_port_trace_k_event_wait_blocking
2517
#define sys_port_trace_k_event_wait_blocking(event, events, options, timeout)
2518
#endif
2519
2526
#ifndef sys_port_trace_k_event_wait_exit
2527
#define sys_port_trace_k_event_wait_exit(event, events, ret)
2528
#endif
2529
/* end of subsys_tracing_apis_event */
2531
2537
2542
#ifndef sys_port_trace_pm_system_suspend_enter
2543
#define sys_port_trace_pm_system_suspend_enter(ticks)
2544
#endif
2545
2551
#ifndef sys_port_trace_pm_system_suspend_exit
2552
#define sys_port_trace_pm_system_suspend_exit(ticks, state)
2553
#endif
2554
/* end of subsys_tracing_apis_pm_system */
2556
2562
2567
#ifndef sys_port_trace_pm_device_runtime_get_enter
2568
#define sys_port_trace_pm_device_runtime_get_enter(dev)
2569
#endif
2570
2576
#ifndef sys_port_trace_pm_device_runtime_get_exit
2577
#define sys_port_trace_pm_device_runtime_get_exit(dev, ret)
2578
#endif
2579
2584
#ifndef sys_port_trace_pm_device_runtime_put_enter
2585
#define sys_port_trace_pm_device_runtime_put_enter(dev)
2586
#endif
2587
2593
#ifndef sys_port_trace_pm_device_runtime_put_exit
2594
#define sys_port_trace_pm_device_runtime_put_exit(dev, ret)
2595
#endif
2596
2602
#ifndef sys_port_trace_pm_device_runtime_put_async_enter
2603
#define sys_port_trace_pm_device_runtime_put_async_enter(dev, delay)
2604
#endif
2605
2612
#ifndef sys_port_trace_pm_device_runtime_put_async_exit
2613
#define sys_port_trace_pm_device_runtime_put_async_exit(dev, delay, ret)
2614
#endif
2615
2620
#ifndef sys_port_trace_pm_device_runtime_enable_enter
2621
#define sys_port_trace_pm_device_runtime_enable_enter(dev)
2622
#endif
2623
2629
#ifndef sys_port_trace_pm_device_runtime_enable_exit
2630
#define sys_port_trace_pm_device_runtime_enable_exit(dev, ret)
2631
#endif
2632
2637
#ifndef sys_port_trace_pm_device_runtime_disable_enter
2638
#define sys_port_trace_pm_device_runtime_disable_enter(dev)
2639
#endif
2640
2646
#ifndef sys_port_trace_pm_device_runtime_disable_exit
2647
#define sys_port_trace_pm_device_runtime_disable_exit(dev, ret)
2648
#endif
2649
/* end of subsys_tracing_apis_pm_device_runtime */
2651
2657
2663
#ifndef sys_port_trace_net_recv_data_enter
2664
#define sys_port_trace_net_recv_data_enter(iface, pkt)
2665
#endif
2666
2673
#ifndef sys_port_trace_net_recv_data_exit
2674
#define sys_port_trace_net_recv_data_exit(iface, pkt, ret)
2675
#endif
2676
2681
#ifndef sys_port_trace_net_send_data_enter
2682
#define sys_port_trace_net_send_data_enter(pkt)
2683
#endif
2684
2690
#ifndef sys_port_trace_net_send_data_exit
2691
#define sys_port_trace_net_send_data_exit(pkt, ret)
2692
#endif
2693
2699
#ifndef sys_port_trace_net_rx_time
2700
#define sys_port_trace_net_rx_time(pkt, end_time)
2701
#endif
2702
2708
#ifndef sys_port_trace_net_tx_time
2709
#define sys_port_trace_net_tx_time(pkt, end_time)
2710
#endif
2711
/* end of subsys_tracing_apis_net */
2713
2719
2727
#ifndef sys_port_trace_socket_init
2728
#define sys_port_trace_socket_init(socket, family, type, proto)
2729
#endif
2730
2735
#ifndef sys_port_trace_socket_close_enter
2736
#define sys_port_trace_socket_close_enter(socket)
2737
#endif
2738
2744
#ifndef sys_port_trace_socket_close_exit
2745
#define sys_port_trace_socket_close_exit(socket, ret)
2746
#endif
2747
2753
#ifndef sys_port_trace_socket_shutdown_enter
2754
#define sys_port_trace_socket_shutdown_enter(socket, how)
2755
#endif
2756
2762
#ifndef sys_port_trace_socket_shutdown_exit
2763
#define sys_port_trace_socket_shutdown_exit(socket, ret)
2764
#endif
2765
2772
#ifndef sys_port_trace_socket_bind_enter
2773
#define sys_port_trace_socket_bind_enter(socket, addr, addrlen)
2774
#endif
2775
2781
#ifndef sys_port_trace_socket_bind_exit
2782
#define sys_port_trace_socket_bind_exit(socket, ret)
2783
#endif
2784
2791
#ifndef sys_port_trace_socket_connect_enter
2792
#define sys_port_trace_socket_connect_enter(socket, addr, addrlen)
2793
#endif
2794
2800
#ifndef sys_port_trace_socket_connect_exit
2801
#define sys_port_trace_socket_connect_exit(socket, ret)
2802
#endif
2803
2809
#ifndef sys_port_trace_socket_listen_enter
2810
#define sys_port_trace_socket_listen_enter(socket, backlog)
2811
#endif
2812
2818
#ifndef sys_port_trace_socket_listen_exit
2819
#define sys_port_trace_socket_listen_exit(socket, ret)
2820
#endif
2821
2826
#ifndef sys_port_trace_socket_accept_enter
2827
#define sys_port_trace_socket_accept_enter(socket)
2828
#endif
2829
2837
#ifndef sys_port_trace_socket_accept_exit
2838
#define sys_port_trace_socket_accept_exit(socket, addr, addrlen, ret)
2839
#endif
2840
2849
#ifndef sys_port_trace_socket_sendto_enter
2850
#define sys_port_trace_socket_sendto_enter(socket, len, flags, dest_addr, addrlen)
2851
#endif
2852
2858
#ifndef sys_port_trace_socket_sendto_exit
2859
#define sys_port_trace_socket_sendto_exit(socket, ret)
2860
#endif
2861
2868
#ifndef sys_port_trace_socket_sendmsg_enter
2869
#define sys_port_trace_socket_sendmsg_enter(socket, msg, flags)
2870
#endif
2871
2877
#ifndef sys_port_trace_socket_sendmsg_exit
2878
#define sys_port_trace_socket_sendmsg_exit(socket, ret)
2879
#endif
2880
2889
#ifndef sys_port_trace_socket_recvfrom_enter
2890
#define sys_port_trace_socket_recvfrom_enter(socket, max_len, flags, addr, addrlen)
2891
#endif
2892
2900
#ifndef sys_port_trace_socket_recvfrom_exit
2901
#define sys_port_trace_socket_recvfrom_exit(socket, src_addr, addrlen, ret)
2902
#endif
2903
2910
#ifndef sys_port_trace_socket_recvmsg_enter
2911
#define sys_port_trace_socket_recvmsg_enter(socket, msg, flags)
2912
#endif
2913
2920
#ifndef sys_port_trace_socket_recvmsg_exit
2921
#define sys_port_trace_socket_recvmsg_exit(socket, msg, ret)
2922
#endif
2923
2930
#ifndef sys_port_trace_socket_fcntl_enter
2931
#define sys_port_trace_socket_fcntl_enter(socket, cmd, flags)
2932
#endif
2933
2939
#ifndef sys_port_trace_socket_fcntl_exit
2940
#define sys_port_trace_socket_fcntl_exit(socket, ret)
2941
#endif
2942
2948
#ifndef sys_port_trace_socket_ioctl_enter
2949
#define sys_port_trace_socket_ioctl_enter(socket, req)
2950
#endif
2951
2957
#ifndef sys_port_trace_socket_ioctl_exit
2958
#define sys_port_trace_socket_ioctl_exit(socket, ret)
2959
#endif
2960
2967
#ifndef sys_port_trace_socket_poll_enter
2968
#define sys_port_trace_socket_poll_enter(fds, nfds, timeout)
2969
#endif
2970
2977
#ifndef sys_port_trace_socket_poll_exit
2978
#define sys_port_trace_socket_poll_exit(fds, nfds, ret)
2979
#endif
2980
2987
#ifndef sys_port_trace_socket_getsockopt_enter
2988
#define sys_port_trace_socket_getsockopt_enter(socket, level, optname)
2989
#endif
2990
3000
#ifndef sys_port_trace_socket_getsockopt_exit
3001
#define sys_port_trace_socket_getsockopt_exit(socket, level, optname, optval, optlen, ret)
3002
#endif
3003
3012
#ifndef sys_port_trace_socket_setsockopt_enter
3013
#define sys_port_trace_socket_setsockopt_enter(socket, level, optname, optval, optlen)
3014
#endif
3015
3021
#ifndef sys_port_trace_socket_setsockopt_exit
3022
#define sys_port_trace_socket_setsockopt_exit(socket, ret)
3023
#endif
3024
3029
#ifndef sys_port_trace_socket_getpeername_enter
3030
#define sys_port_trace_socket_getpeername_enter(socket)
3031
#endif
3032
3040
#ifndef sys_port_trace_socket_getpeername_exit
3041
#define sys_port_trace_socket_getpeername_exit(socket, addr, addrlen, ret)
3042
#endif
3043
3048
#ifndef sys_port_trace_socket_getsockname_enter
3049
#define sys_port_trace_socket_getsockname_enter(socket)
3050
#endif
3051
3059
#ifndef sys_port_trace_socket_getsockname_exit
3060
#define sys_port_trace_socket_getsockname_exit(socket, addr, addrlen, ret)
3061
#endif
3062
3070
#ifndef sys_port_trace_socket_socketpair_enter
3071
#define sys_port_trace_socket_socketpair_enter(family, type, proto, sv)
3072
#endif
3073
3080
#ifndef sys_port_trace_socket_socketpair_exit
3081
#define sys_port_trace_socket_socketpair_exit(socket_A, socket_B, ret)
3082
#endif
3083
/* end of subsys_tracing_apis_socket */
3085
3086
/*
3087
* Note: sys_trace_named_event() is a function-style public API (implemented as a
3088
* real function by backends such as CTF), not a sys_port_trace_* macro hook. Its
3089
* disabled-state no-op lives in tracing.h's no-format branch, not here, so that
3090
* this fallback (included for every backend) does not clobber a backend's function.
3091
*/
3092
3098
3105
#ifndef sys_port_trace_gpio_pin_interrupt_configure_enter
3106
#define sys_port_trace_gpio_pin_interrupt_configure_enter(port, pin, flags)
3107
#endif
3108
3115
#ifndef sys_port_trace_gpio_pin_interrupt_configure_exit
3116
#define sys_port_trace_gpio_pin_interrupt_configure_exit(port, pin, ret)
3117
#endif
3118
3125
#ifndef sys_port_trace_gpio_pin_configure_enter
3126
#define sys_port_trace_gpio_pin_configure_enter(port, pin, flags)
3127
#endif
3128
3135
#ifndef sys_port_trace_gpio_pin_configure_exit
3136
#define sys_port_trace_gpio_pin_configure_exit(port, pin, ret)
3137
#endif
3138
3146
#ifndef sys_port_trace_gpio_port_get_direction_enter
3147
#define sys_port_trace_gpio_port_get_direction_enter(port, map, inputs, outputs)
3148
#endif
3149
3155
#ifndef sys_port_trace_gpio_port_get_direction_exit
3156
#define sys_port_trace_gpio_port_get_direction_exit(port, ret)
3157
#endif
3158
3165
#ifndef sys_port_trace_gpio_pin_get_config_enter
3166
#define sys_port_trace_gpio_pin_get_config_enter(port, pin, flags)
3167
#endif
3168
3175
#ifndef sys_port_trace_gpio_pin_get_config_exit
3176
#define sys_port_trace_gpio_pin_get_config_exit(port, pin, ret)
3177
#endif
3178
3184
#ifndef sys_port_trace_gpio_port_get_raw_enter
3185
#define sys_port_trace_gpio_port_get_raw_enter(port, value)
3186
#endif
3187
3193
#ifndef sys_port_trace_gpio_port_get_raw_exit
3194
#define sys_port_trace_gpio_port_get_raw_exit(port, ret)
3195
#endif
3196
3203
#ifndef sys_port_trace_gpio_port_set_masked_raw_enter
3204
#define sys_port_trace_gpio_port_set_masked_raw_enter(port, mask, value)
3205
#endif
3206
3212
#ifndef sys_port_trace_gpio_port_set_masked_raw_exit
3213
#define sys_port_trace_gpio_port_set_masked_raw_exit(port, ret)
3214
#endif
3215
3221
#ifndef sys_port_trace_gpio_port_set_bits_raw_enter
3222
#define sys_port_trace_gpio_port_set_bits_raw_enter(port, pins)
3223
#endif
3224
3230
#ifndef sys_port_trace_gpio_port_set_bits_raw_exit
3231
#define sys_port_trace_gpio_port_set_bits_raw_exit(port, ret)
3232
#endif
3233
3239
#ifndef sys_port_trace_gpio_port_clear_bits_raw_enter
3240
#define sys_port_trace_gpio_port_clear_bits_raw_enter(port, pins)
3241
#endif
3242
3248
#ifndef sys_port_trace_gpio_port_clear_bits_raw_exit
3249
#define sys_port_trace_gpio_port_clear_bits_raw_exit(port, ret)
3250
#endif
3251
3257
#ifndef sys_port_trace_gpio_port_toggle_bits_enter
3258
#define sys_port_trace_gpio_port_toggle_bits_enter(port, pins)
3259
#endif
3260
3266
#ifndef sys_port_trace_gpio_port_toggle_bits_exit
3267
#define sys_port_trace_gpio_port_toggle_bits_exit(port, ret)
3268
#endif
3269
3276
#ifndef sys_port_trace_gpio_init_callback_enter
3277
#define sys_port_trace_gpio_init_callback_enter(callback, handler, pin_mask)
3278
#endif
3279
3284
#ifndef sys_port_trace_gpio_init_callback_exit
3285
#define sys_port_trace_gpio_init_callback_exit(callback)
3286
#endif
3287
3293
#ifndef sys_port_trace_gpio_add_callback_enter
3294
#define sys_port_trace_gpio_add_callback_enter(port, callback)
3295
#endif
3296
3302
#ifndef sys_port_trace_gpio_add_callback_exit
3303
#define sys_port_trace_gpio_add_callback_exit(port, ret)
3304
#endif
3305
3311
#ifndef sys_port_trace_gpio_remove_callback_enter
3312
#define sys_port_trace_gpio_remove_callback_enter(port, callback)
3313
#endif
3314
3320
#ifndef sys_port_trace_gpio_remove_callback_exit
3321
#define sys_port_trace_gpio_remove_callback_exit(port, ret)
3322
#endif
3323
3328
#ifndef sys_port_trace_gpio_get_pending_int_enter
3329
#define sys_port_trace_gpio_get_pending_int_enter(dev)
3330
#endif
3331
3337
#ifndef sys_port_trace_gpio_get_pending_int_exit
3338
#define sys_port_trace_gpio_get_pending_int_exit(dev, ret)
3339
#endif
3340
3347
#ifndef sys_port_trace_gpio_fire_callbacks_enter
3348
#define sys_port_trace_gpio_fire_callbacks_enter(list, port, pins)
3349
#endif
3350
3356
#ifndef sys_port_trace_gpio_fire_callback
3357
#define sys_port_trace_gpio_fire_callback(port, callback)
3358
#endif
3359
/* end of subsys_tracing_apis_gpio */
3361
3367
3373
#ifndef sys_port_trace_rtio_submit_enter
3374
#define sys_port_trace_rtio_submit_enter(rtio, wait_count)
3375
#endif
3376
3381
#ifndef sys_port_trace_rtio_submit_exit
3382
#define sys_port_trace_rtio_submit_exit(rtio)
3383
#endif
3384
3389
#ifndef sys_port_trace_rtio_sqe_acquire_enter
3390
#define sys_port_trace_rtio_sqe_acquire_enter(rtio)
3391
#endif
3392
3398
#ifndef sys_port_trace_rtio_sqe_acquire_exit
3399
#define sys_port_trace_rtio_sqe_acquire_exit(rtio, sqe)
3400
#endif
3401
3406
#ifndef sys_port_trace_rtio_sqe_cancel
3407
#define sys_port_trace_rtio_sqe_cancel(sqe)
3408
#endif
3409
3416
#ifndef sys_port_trace_rtio_cqe_submit_enter
3417
#define sys_port_trace_rtio_cqe_submit_enter(rtio, result, flags)
3418
#endif
3419
3424
#ifndef sys_port_trace_rtio_cqe_submit_exit
3425
#define sys_port_trace_rtio_cqe_submit_exit(rtio)
3426
#endif
3427
3432
#ifndef sys_port_trace_rtio_cqe_acquire_enter
3433
#define sys_port_trace_rtio_cqe_acquire_enter(rtio)
3434
#endif
3435
3441
#ifndef sys_port_trace_rtio_cqe_acquire_exit
3442
#define sys_port_trace_rtio_cqe_acquire_exit(rtio, cqe)
3443
#endif
3444
3450
#ifndef sys_port_trace_rtio_cqe_release
3451
#define sys_port_trace_rtio_cqe_release(rtio, cqe)
3452
#endif
3453
3458
#ifndef sys_port_trace_rtio_cqe_consume_enter
3459
#define sys_port_trace_rtio_cqe_consume_enter(rtio)
3460
#endif
3461
3467
#ifndef sys_port_trace_rtio_cqe_consume_exit
3468
#define sys_port_trace_rtio_cqe_consume_exit(rtio, cqe)
3469
#endif
3470
3476
#ifndef sys_port_trace_rtio_txn_next_enter
3477
#define sys_port_trace_rtio_txn_next_enter(rtio, iodev_sqe)
3478
#endif
3479
3485
#ifndef sys_port_trace_rtio_txn_next_exit
3486
#define sys_port_trace_rtio_txn_next_exit(rtio, iodev_sqe)
3487
#endif
3488
3494
#ifndef sys_port_trace_rtio_chain_next_enter
3495
#define sys_port_trace_rtio_chain_next_enter(rtio, iodev_sqe)
3496
#endif
3497
3503
#ifndef sys_port_trace_rtio_chain_next_exit
3504
#define sys_port_trace_rtio_chain_next_exit(rtio, iodev_sqe)
3505
#endif
3506
/* end of subsys_tracing_apis_rtio */
3508
3520
#ifndef sys_port_trace_k_pipe_alloc_init_enter
3521
#define sys_port_trace_k_pipe_alloc_init_enter(pipe)
3522
#endif
3528
#ifndef sys_port_trace_k_pipe_alloc_init_exit
3529
#define sys_port_trace_k_pipe_alloc_init_exit(pipe, ret)
3530
#endif
3535
#ifndef sys_port_trace_k_pipe_buffer_flush_enter
3536
#define sys_port_trace_k_pipe_buffer_flush_enter(pipe)
3537
#endif
3542
#ifndef sys_port_trace_k_pipe_buffer_flush_exit
3543
#define sys_port_trace_k_pipe_buffer_flush_exit(pipe)
3544
#endif
3549
#ifndef sys_port_trace_k_pipe_cleanup_enter
3550
#define sys_port_trace_k_pipe_cleanup_enter(pipe)
3551
#endif
3557
#ifndef sys_port_trace_k_pipe_cleanup_exit
3558
#define sys_port_trace_k_pipe_cleanup_exit(pipe, ret)
3559
#endif
3564
#ifndef sys_port_trace_k_pipe_flush_enter
3565
#define sys_port_trace_k_pipe_flush_enter(pipe)
3566
#endif
3571
#ifndef sys_port_trace_k_pipe_flush_exit
3572
#define sys_port_trace_k_pipe_flush_exit(pipe)
3573
#endif
3579
#ifndef sys_port_trace_k_pipe_get_blocking
3580
#define sys_port_trace_k_pipe_get_blocking(pipe, timeout)
3581
#endif
3587
#ifndef sys_port_trace_k_pipe_get_enter
3588
#define sys_port_trace_k_pipe_get_enter(pipe, timeout)
3589
#endif
3596
#ifndef sys_port_trace_k_pipe_get_exit
3597
#define sys_port_trace_k_pipe_get_exit(pipe, timeout, ret)
3598
#endif
3604
#ifndef sys_port_trace_k_pipe_put_blocking
3605
#define sys_port_trace_k_pipe_put_blocking(pipe, timeout)
3606
#endif
3612
#ifndef sys_port_trace_k_pipe_put_enter
3613
#define sys_port_trace_k_pipe_put_enter(pipe, timeout)
3614
#endif
3621
#ifndef sys_port_trace_k_pipe_put_exit
3622
#define sys_port_trace_k_pipe_put_exit(pipe, timeout, ret)
3623
#endif
3629
#ifndef sys_port_trace_k_thread_heap_assign
3630
#define sys_port_trace_k_thread_heap_assign(thread, heap)
3631
#endif
3637
#ifndef sys_port_trace_syscall_exit
3638
#define sys_port_trace_syscall_exit(id, name, ...)
3639
#endif
3640
/* end of subsys_tracing_apis_backend_ext */
3642
3643
#endif
/* ZEPHYR_INCLUDE_TRACING_TRACING_HOOKS_H_ */
zephyr
tracing
tracing_hooks.h
Generated on
for Zephyr API Documentation by
1.16.1