Zephyr API Documentation
4.5.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
477
#ifndef sys_port_trace_k_work_handler_enter
478
#define sys_port_trace_k_work_handler_enter(work)
479
#endif
480
485
#ifndef sys_port_trace_k_work_handler_exit
486
#define sys_port_trace_k_work_handler_exit(work)
487
#endif
488
/* end of subsys_tracing_apis_work */
490
497
502
#ifndef sys_port_trace_k_work_queue_init
503
#define sys_port_trace_k_work_queue_init(queue)
504
#endif
505
510
#ifndef sys_port_trace_k_work_queue_start_enter
511
#define sys_port_trace_k_work_queue_start_enter(queue)
512
#endif
513
518
#ifndef sys_port_trace_k_work_queue_start_exit
519
#define sys_port_trace_k_work_queue_start_exit(queue)
520
#endif
521
527
#ifndef sys_port_trace_k_work_queue_stop_enter
528
#define sys_port_trace_k_work_queue_stop_enter(queue, timeout)
529
#endif
530
536
#ifndef sys_port_trace_k_work_queue_stop_blocking
537
#define sys_port_trace_k_work_queue_stop_blocking(queue, timeout)
538
#endif
539
546
#ifndef sys_port_trace_k_work_queue_stop_exit
547
#define sys_port_trace_k_work_queue_stop_exit(queue, timeout, ret)
548
#endif
549
554
#ifndef sys_port_trace_k_work_queue_drain_enter
555
#define sys_port_trace_k_work_queue_drain_enter(queue)
556
#endif
557
563
#ifndef sys_port_trace_k_work_queue_drain_exit
564
#define sys_port_trace_k_work_queue_drain_exit(queue, ret)
565
#endif
566
571
#ifndef sys_port_trace_k_work_queue_unplug_enter
572
#define sys_port_trace_k_work_queue_unplug_enter(queue)
573
#endif
574
580
#ifndef sys_port_trace_k_work_queue_unplug_exit
581
#define sys_port_trace_k_work_queue_unplug_exit(queue, ret)
582
#endif
583
/* end of subsys_tracing_apis_work_q */
585
592
597
#ifndef sys_port_trace_k_work_delayable_init
598
#define sys_port_trace_k_work_delayable_init(dwork)
599
#endif
600
607
#ifndef sys_port_trace_k_work_schedule_for_queue_enter
608
#define sys_port_trace_k_work_schedule_for_queue_enter(queue, dwork, delay)
609
#endif
610
618
#ifndef sys_port_trace_k_work_schedule_for_queue_exit
619
#define sys_port_trace_k_work_schedule_for_queue_exit(queue, dwork, delay, ret)
620
#endif
621
627
#ifndef sys_port_trace_k_work_schedule_enter
628
#define sys_port_trace_k_work_schedule_enter(dwork, delay)
629
#endif
630
637
#ifndef sys_port_trace_k_work_schedule_exit
638
#define sys_port_trace_k_work_schedule_exit(dwork, delay, ret)
639
#endif
640
647
#ifndef sys_port_trace_k_work_reschedule_for_queue_enter
648
#define sys_port_trace_k_work_reschedule_for_queue_enter(queue, dwork, delay)
649
#endif
650
658
#ifndef sys_port_trace_k_work_reschedule_for_queue_exit
659
#define sys_port_trace_k_work_reschedule_for_queue_exit(queue, dwork, delay, ret)
660
#endif
661
667
#ifndef sys_port_trace_k_work_reschedule_enter
668
#define sys_port_trace_k_work_reschedule_enter(dwork, delay)
669
#endif
670
677
#ifndef sys_port_trace_k_work_reschedule_exit
678
#define sys_port_trace_k_work_reschedule_exit(dwork, delay, ret)
679
#endif
680
686
#ifndef sys_port_trace_k_work_flush_delayable_enter
687
#define sys_port_trace_k_work_flush_delayable_enter(dwork, sync)
688
#endif
689
696
#ifndef sys_port_trace_k_work_flush_delayable_exit
697
#define sys_port_trace_k_work_flush_delayable_exit(dwork, sync, ret)
698
#endif
699
704
#ifndef sys_port_trace_k_work_cancel_delayable_enter
705
#define sys_port_trace_k_work_cancel_delayable_enter(dwork)
706
#endif
707
713
#ifndef sys_port_trace_k_work_cancel_delayable_exit
714
#define sys_port_trace_k_work_cancel_delayable_exit(dwork, ret)
715
#endif
716
722
#ifndef sys_port_trace_k_work_cancel_delayable_sync_enter
723
#define sys_port_trace_k_work_cancel_delayable_sync_enter(dwork, sync)
724
#endif
725
732
#ifndef sys_port_trace_k_work_cancel_delayable_sync_exit
733
#define sys_port_trace_k_work_cancel_delayable_sync_exit(dwork, sync, ret)
734
#endif
735
/* end of subsys_tracing_apis_work_delayable */
737
744
749
#ifndef sys_port_trace_k_work_poll_init_enter
750
#define sys_port_trace_k_work_poll_init_enter(work)
751
#endif
752
757
#ifndef sys_port_trace_k_work_poll_init_exit
758
#define sys_port_trace_k_work_poll_init_exit(work)
759
#endif
760
767
#ifndef sys_port_trace_k_work_poll_submit_to_queue_enter
768
#define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, timeout)
769
#endif
770
777
#ifndef sys_port_trace_k_work_poll_submit_to_queue_blocking
778
#define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, timeout)
779
#endif
780
788
#ifndef sys_port_trace_k_work_poll_submit_to_queue_exit
789
#define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, ret)
790
#endif
791
797
#ifndef sys_port_trace_k_work_poll_submit_enter
798
#define sys_port_trace_k_work_poll_submit_enter(work, timeout)
799
#endif
800
807
#ifndef sys_port_trace_k_work_poll_submit_exit
808
#define sys_port_trace_k_work_poll_submit_exit(work, timeout, ret)
809
#endif
810
815
#ifndef sys_port_trace_k_work_poll_cancel_enter
816
#define sys_port_trace_k_work_poll_cancel_enter(work)
817
#endif
818
824
#ifndef sys_port_trace_k_work_poll_cancel_exit
825
#define sys_port_trace_k_work_poll_cancel_exit(work, ret)
826
#endif
827
/* end of subsys_tracing_apis_work_poll */
829
836
841
#ifndef sys_port_trace_k_poll_api_event_init
842
#define sys_port_trace_k_poll_api_event_init(event)
843
#endif
844
849
#ifndef sys_port_trace_k_poll_api_poll_enter
850
#define sys_port_trace_k_poll_api_poll_enter(events)
851
#endif
852
858
#ifndef sys_port_trace_k_poll_api_poll_exit
859
#define sys_port_trace_k_poll_api_poll_exit(events, ret)
860
#endif
861
866
#ifndef sys_port_trace_k_poll_api_signal_init
867
#define sys_port_trace_k_poll_api_signal_init(signal)
868
#endif
869
874
#ifndef sys_port_trace_k_poll_api_signal_reset
875
#define sys_port_trace_k_poll_api_signal_reset(signal)
876
#endif
877
882
#ifndef sys_port_trace_k_poll_api_signal_check
883
#define sys_port_trace_k_poll_api_signal_check(signal)
884
#endif
885
891
#ifndef sys_port_trace_k_poll_api_signal_raise
892
#define sys_port_trace_k_poll_api_signal_raise(signal, ret)
893
#endif
894
/* end of subsys_tracing_apis_poll */
896
903
909
#ifndef sys_port_trace_k_sem_init
910
#define sys_port_trace_k_sem_init(sem, ret)
911
#endif
912
917
#ifndef sys_port_trace_k_sem_give_enter
918
#define sys_port_trace_k_sem_give_enter(sem)
919
#endif
920
925
#ifndef sys_port_trace_k_sem_give_exit
926
#define sys_port_trace_k_sem_give_exit(sem)
927
#endif
928
934
#ifndef sys_port_trace_k_sem_take_enter
935
#define sys_port_trace_k_sem_take_enter(sem, timeout)
936
#endif
937
943
#ifndef sys_port_trace_k_sem_take_blocking
944
#define sys_port_trace_k_sem_take_blocking(sem, timeout)
945
#endif
946
953
#ifndef sys_port_trace_k_sem_take_exit
954
#define sys_port_trace_k_sem_take_exit(sem, timeout, ret)
955
#endif
956
961
#ifndef sys_port_trace_k_sem_reset
962
#define sys_port_trace_k_sem_reset(sem)
963
#endif
964
/* end of subsys_tracing_apis_sem */
966
973
979
#ifndef sys_port_trace_k_mutex_init
980
#define sys_port_trace_k_mutex_init(mutex, ret)
981
#endif
982
988
#ifndef sys_port_trace_k_mutex_lock_enter
989
#define sys_port_trace_k_mutex_lock_enter(mutex, timeout)
990
#endif
991
997
#ifndef sys_port_trace_k_mutex_lock_blocking
998
#define sys_port_trace_k_mutex_lock_blocking(mutex, timeout)
999
#endif
1000
1007
#ifndef sys_port_trace_k_mutex_lock_exit
1008
#define sys_port_trace_k_mutex_lock_exit(mutex, timeout, ret)
1009
#endif
1010
1015
#ifndef sys_port_trace_k_mutex_unlock_enter
1016
#define sys_port_trace_k_mutex_unlock_enter(mutex)
1017
#endif
1018
1022
#ifndef sys_port_trace_k_mutex_unlock_exit
1023
#define sys_port_trace_k_mutex_unlock_exit(mutex, ret)
1024
#endif
1025
/* end of subsys_tracing_apis_mutex */
1027
1034
1040
#ifndef sys_port_trace_k_condvar_init
1041
#define sys_port_trace_k_condvar_init(condvar, ret)
1042
#endif
1043
1048
#ifndef sys_port_trace_k_condvar_signal_enter
1049
#define sys_port_trace_k_condvar_signal_enter(condvar)
1050
#endif
1051
1057
#ifndef sys_port_trace_k_condvar_signal_blocking
1058
#define sys_port_trace_k_condvar_signal_blocking(condvar, timeout)
1059
#endif
1060
1066
#ifndef sys_port_trace_k_condvar_signal_exit
1067
#define sys_port_trace_k_condvar_signal_exit(condvar, ret)
1068
#endif
1069
1074
#ifndef sys_port_trace_k_condvar_broadcast_enter
1075
#define sys_port_trace_k_condvar_broadcast_enter(condvar)
1076
#endif
1077
1083
#ifndef sys_port_trace_k_condvar_broadcast_exit
1084
#define sys_port_trace_k_condvar_broadcast_exit(condvar, ret)
1085
#endif
1086
1092
#ifndef sys_port_trace_k_condvar_wait_enter
1093
#define sys_port_trace_k_condvar_wait_enter(condvar, timeout)
1094
#endif
1095
1102
#ifndef sys_port_trace_k_condvar_wait_exit
1103
#define sys_port_trace_k_condvar_wait_exit(condvar, timeout, ret)
1104
#endif
1105
/* end of subsys_tracing_apis_condvar */
1107
1114
1119
#ifndef sys_port_trace_k_queue_init
1120
#define sys_port_trace_k_queue_init(queue)
1121
#endif
1122
1127
#ifndef sys_port_trace_k_queue_cancel_wait
1128
#define sys_port_trace_k_queue_cancel_wait(queue)
1129
#endif
1130
1136
#ifndef sys_port_trace_k_queue_queue_insert_enter
1137
#define sys_port_trace_k_queue_queue_insert_enter(queue, alloc)
1138
#endif
1139
1146
#ifndef sys_port_trace_k_queue_queue_insert_blocking
1147
#define sys_port_trace_k_queue_queue_insert_blocking(queue, alloc, timeout)
1148
#endif
1149
1156
#ifndef sys_port_trace_k_queue_queue_insert_exit
1157
#define sys_port_trace_k_queue_queue_insert_exit(queue, alloc, ret)
1158
#endif
1159
1164
#ifndef sys_port_trace_k_queue_append_enter
1165
#define sys_port_trace_k_queue_append_enter(queue)
1166
#endif
1167
1172
#ifndef sys_port_trace_k_queue_append_exit
1173
#define sys_port_trace_k_queue_append_exit(queue)
1174
#endif
1175
1180
#ifndef sys_port_trace_k_queue_alloc_append_enter
1181
#define sys_port_trace_k_queue_alloc_append_enter(queue)
1182
#endif
1183
1189
#ifndef sys_port_trace_k_queue_alloc_append_exit
1190
#define sys_port_trace_k_queue_alloc_append_exit(queue, ret)
1191
#endif
1192
1197
#ifndef sys_port_trace_k_queue_prepend_enter
1198
#define sys_port_trace_k_queue_prepend_enter(queue)
1199
#endif
1200
1205
#ifndef sys_port_trace_k_queue_prepend_exit
1206
#define sys_port_trace_k_queue_prepend_exit(queue)
1207
#endif
1208
1213
#ifndef sys_port_trace_k_queue_alloc_prepend_enter
1214
#define sys_port_trace_k_queue_alloc_prepend_enter(queue)
1215
#endif
1216
1222
#ifndef sys_port_trace_k_queue_alloc_prepend_exit
1223
#define sys_port_trace_k_queue_alloc_prepend_exit(queue, ret)
1224
#endif
1225
1230
#ifndef sys_port_trace_k_queue_insert_enter
1231
#define sys_port_trace_k_queue_insert_enter(queue)
1232
#endif
1233
1239
#ifndef sys_port_trace_k_queue_insert_blocking
1240
#define sys_port_trace_k_queue_insert_blocking(queue, timeout)
1241
#endif
1242
1247
#ifndef sys_port_trace_k_queue_insert_exit
1248
#define sys_port_trace_k_queue_insert_exit(queue)
1249
#endif
1250
1255
#ifndef sys_port_trace_k_queue_append_list_enter
1256
#define sys_port_trace_k_queue_append_list_enter(queue)
1257
#endif
1258
1264
#ifndef sys_port_trace_k_queue_append_list_exit
1265
#define sys_port_trace_k_queue_append_list_exit(queue, ret)
1266
#endif
1267
1272
#ifndef sys_port_trace_k_queue_merge_slist_enter
1273
#define sys_port_trace_k_queue_merge_slist_enter(queue)
1274
#endif
1275
1281
#ifndef sys_port_trace_k_queue_merge_slist_exit
1282
#define sys_port_trace_k_queue_merge_slist_exit(queue, ret)
1283
#endif
1284
1290
#ifndef sys_port_trace_k_queue_get_enter
1291
#define sys_port_trace_k_queue_get_enter(queue, timeout)
1292
#endif
1293
1299
#ifndef sys_port_trace_k_queue_get_blocking
1300
#define sys_port_trace_k_queue_get_blocking(queue, timeout)
1301
#endif
1302
1309
#ifndef sys_port_trace_k_queue_get_exit
1310
#define sys_port_trace_k_queue_get_exit(queue, timeout, ret)
1311
#endif
1312
1317
#ifndef sys_port_trace_k_queue_remove_enter
1318
#define sys_port_trace_k_queue_remove_enter(queue)
1319
#endif
1320
1326
#ifndef sys_port_trace_k_queue_remove_exit
1327
#define sys_port_trace_k_queue_remove_exit(queue, ret)
1328
#endif
1329
1334
#ifndef sys_port_trace_k_queue_unique_append_enter
1335
#define sys_port_trace_k_queue_unique_append_enter(queue)
1336
#endif
1337
1344
#ifndef sys_port_trace_k_queue_unique_append_exit
1345
#define sys_port_trace_k_queue_unique_append_exit(queue, ret)
1346
#endif
1347
1353
#ifndef sys_port_trace_k_queue_peek_head
1354
#define sys_port_trace_k_queue_peek_head(queue, ret)
1355
#endif
1356
1362
#ifndef sys_port_trace_k_queue_peek_tail
1363
#define sys_port_trace_k_queue_peek_tail(queue, ret)
1364
#endif
1365
/* end of subsys_tracing_apis_queue */
1367
1374
1379
#ifndef sys_port_trace_k_fifo_init_enter
1380
#define sys_port_trace_k_fifo_init_enter(fifo)
1381
#endif
1382
1387
#ifndef sys_port_trace_k_fifo_init_exit
1388
#define sys_port_trace_k_fifo_init_exit(fifo)
1389
#endif
1390
1395
#ifndef sys_port_trace_k_fifo_cancel_wait_enter
1396
#define sys_port_trace_k_fifo_cancel_wait_enter(fifo)
1397
#endif
1398
1403
#ifndef sys_port_trace_k_fifo_cancel_wait_exit
1404
#define sys_port_trace_k_fifo_cancel_wait_exit(fifo)
1405
#endif
1406
1412
#ifndef sys_port_trace_k_fifo_put_enter
1413
#define sys_port_trace_k_fifo_put_enter(fifo, data)
1414
#endif
1415
1421
#ifndef sys_port_trace_k_fifo_put_exit
1422
#define sys_port_trace_k_fifo_put_exit(fifo, data)
1423
#endif
1424
1430
#ifndef sys_port_trace_k_fifo_alloc_put_enter
1431
#define sys_port_trace_k_fifo_alloc_put_enter(fifo, data)
1432
#endif
1433
1440
#ifndef sys_port_trace_k_fifo_alloc_put_exit
1441
#define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret)
1442
#endif
1443
1450
#ifndef sys_port_trace_k_fifo_put_list_enter
1451
#define sys_port_trace_k_fifo_put_list_enter(fifo, head, tail)
1452
#endif
1453
1460
#ifndef sys_port_trace_k_fifo_put_list_exit
1461
#define sys_port_trace_k_fifo_put_list_exit(fifo, head, tail)
1462
#endif
1463
1469
#ifndef sys_port_trace_k_fifo_put_slist_enter
1470
#define sys_port_trace_k_fifo_put_slist_enter(fifo, list)
1471
#endif
1472
1478
#ifndef sys_port_trace_k_fifo_put_slist_exit
1479
#define sys_port_trace_k_fifo_put_slist_exit(fifo, list)
1480
#endif
1481
1487
#ifndef sys_port_trace_k_fifo_get_enter
1488
#define sys_port_trace_k_fifo_get_enter(fifo, timeout)
1489
#endif
1490
1497
#ifndef sys_port_trace_k_fifo_get_exit
1498
#define sys_port_trace_k_fifo_get_exit(fifo, timeout, ret)
1499
#endif
1500
1505
#ifndef sys_port_trace_k_fifo_peek_head_enter
1506
#define sys_port_trace_k_fifo_peek_head_enter(fifo)
1507
#endif
1508
1514
#ifndef sys_port_trace_k_fifo_peek_head_exit
1515
#define sys_port_trace_k_fifo_peek_head_exit(fifo, ret)
1516
#endif
1517
1522
#ifndef sys_port_trace_k_fifo_peek_tail_enter
1523
#define sys_port_trace_k_fifo_peek_tail_enter(fifo)
1524
#endif
1525
1531
#ifndef sys_port_trace_k_fifo_peek_tail_exit
1532
#define sys_port_trace_k_fifo_peek_tail_exit(fifo, ret)
1533
#endif
1534
/* end of subsys_tracing_apis_fifo */
1536
1543
1548
#ifndef sys_port_trace_k_lifo_init_enter
1549
#define sys_port_trace_k_lifo_init_enter(lifo)
1550
#endif
1551
1556
#ifndef sys_port_trace_k_lifo_init_exit
1557
#define sys_port_trace_k_lifo_init_exit(lifo)
1558
#endif
1559
1565
#ifndef sys_port_trace_k_lifo_put_enter
1566
#define sys_port_trace_k_lifo_put_enter(lifo, data)
1567
#endif
1568
1574
#ifndef sys_port_trace_k_lifo_put_exit
1575
#define sys_port_trace_k_lifo_put_exit(lifo, data)
1576
#endif
1577
1583
#ifndef sys_port_trace_k_lifo_alloc_put_enter
1584
#define sys_port_trace_k_lifo_alloc_put_enter(lifo, data)
1585
#endif
1586
1593
#ifndef sys_port_trace_k_lifo_alloc_put_exit
1594
#define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret)
1595
#endif
1596
1602
#ifndef sys_port_trace_k_lifo_get_enter
1603
#define sys_port_trace_k_lifo_get_enter(lifo, timeout)
1604
#endif
1605
1612
#ifndef sys_port_trace_k_lifo_get_exit
1613
#define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret)
1614
#endif
1615
/* end of subsys_tracing_apis_lifo */
1617
1624
1629
#ifndef sys_port_trace_k_stack_init
1630
#define sys_port_trace_k_stack_init(stack)
1631
#endif
1632
1637
#ifndef sys_port_trace_k_stack_alloc_init_enter
1638
#define sys_port_trace_k_stack_alloc_init_enter(stack)
1639
#endif
1640
1646
#ifndef sys_port_trace_k_stack_alloc_init_exit
1647
#define sys_port_trace_k_stack_alloc_init_exit(stack, ret)
1648
#endif
1649
1654
#ifndef sys_port_trace_k_stack_cleanup_enter
1655
#define sys_port_trace_k_stack_cleanup_enter(stack)
1656
#endif
1657
1663
#ifndef sys_port_trace_k_stack_cleanup_exit
1664
#define sys_port_trace_k_stack_cleanup_exit(stack, ret)
1665
#endif
1666
1671
#ifndef sys_port_trace_k_stack_push_enter
1672
#define sys_port_trace_k_stack_push_enter(stack)
1673
#endif
1674
1680
#ifndef sys_port_trace_k_stack_push_exit
1681
#define sys_port_trace_k_stack_push_exit(stack, ret)
1682
#endif
1683
1689
#ifndef sys_port_trace_k_stack_pop_enter
1690
#define sys_port_trace_k_stack_pop_enter(stack, timeout)
1691
#endif
1692
1698
#ifndef sys_port_trace_k_stack_pop_blocking
1699
#define sys_port_trace_k_stack_pop_blocking(stack, timeout)
1700
#endif
1701
1708
#ifndef sys_port_trace_k_stack_pop_exit
1709
#define sys_port_trace_k_stack_pop_exit(stack, timeout, ret)
1710
#endif
1711
/* end of subsys_tracing_apis_stack */
1713
1720
1725
#ifndef sys_port_trace_k_msgq_init
1726
#define sys_port_trace_k_msgq_init(msgq)
1727
#endif
1728
1733
#ifndef sys_port_trace_k_msgq_alloc_init_enter
1734
#define sys_port_trace_k_msgq_alloc_init_enter(msgq)
1735
#endif
1736
1742
#ifndef sys_port_trace_k_msgq_alloc_init_exit
1743
#define sys_port_trace_k_msgq_alloc_init_exit(msgq, ret)
1744
#endif
1745
1750
#ifndef sys_port_trace_k_msgq_cleanup_enter
1751
#define sys_port_trace_k_msgq_cleanup_enter(msgq)
1752
#endif
1753
1759
#ifndef sys_port_trace_k_msgq_cleanup_exit
1760
#define sys_port_trace_k_msgq_cleanup_exit(msgq, ret)
1761
#endif
1762
1768
#ifndef sys_port_trace_k_msgq_put_enter
1769
#define sys_port_trace_k_msgq_put_enter(msgq, timeout)
1770
#endif
1771
1777
#ifndef sys_port_trace_k_msgq_put_blocking
1778
#define sys_port_trace_k_msgq_put_blocking(msgq, timeout)
1779
#endif
1780
1787
#ifndef sys_port_trace_k_msgq_put_exit
1788
#define sys_port_trace_k_msgq_put_exit(msgq, timeout, ret)
1789
#endif
1790
1796
#ifndef sys_port_trace_k_msgq_put_front_enter
1797
#define sys_port_trace_k_msgq_put_front_enter(msgq, timeout)
1798
#endif
1799
1805
#ifndef sys_port_trace_k_msgq_put_front_blocking
1806
#define sys_port_trace_k_msgq_put_front_blocking(msgq, timeout)
1807
#endif
1808
1815
#ifndef sys_port_trace_k_msgq_put_front_exit
1816
#define sys_port_trace_k_msgq_put_front_exit(msgq, timeout, ret)
1817
#endif
1818
1824
#ifndef sys_port_trace_k_msgq_get_enter
1825
#define sys_port_trace_k_msgq_get_enter(msgq, timeout)
1826
#endif
1827
1833
#ifndef sys_port_trace_k_msgq_get_blocking
1834
#define sys_port_trace_k_msgq_get_blocking(msgq, timeout)
1835
#endif
1836
1843
#ifndef sys_port_trace_k_msgq_get_exit
1844
#define sys_port_trace_k_msgq_get_exit(msgq, timeout, ret)
1845
#endif
1846
1852
#ifndef sys_port_trace_k_msgq_peek
1853
#define sys_port_trace_k_msgq_peek(msgq, ret)
1854
#endif
1855
1860
#ifndef sys_port_trace_k_msgq_purge
1861
#define sys_port_trace_k_msgq_purge(msgq)
1862
#endif
1863
/* end of subsys_tracing_apis_msgq */
1865
1872
1877
#ifndef sys_port_trace_k_mbox_init
1878
#define sys_port_trace_k_mbox_init(mbox)
1879
#endif
1880
1886
#ifndef sys_port_trace_k_mbox_message_put_enter
1887
#define sys_port_trace_k_mbox_message_put_enter(mbox, timeout)
1888
#endif
1889
1895
#ifndef sys_port_trace_k_mbox_message_put_blocking
1896
#define sys_port_trace_k_mbox_message_put_blocking(mbox, timeout)
1897
#endif
1898
1905
#ifndef sys_port_trace_k_mbox_message_put_exit
1906
#define sys_port_trace_k_mbox_message_put_exit(mbox, timeout, ret)
1907
#endif
1908
1914
#ifndef sys_port_trace_k_mbox_put_enter
1915
#define sys_port_trace_k_mbox_put_enter(mbox, timeout)
1916
#endif
1917
1924
#ifndef sys_port_trace_k_mbox_put_exit
1925
#define sys_port_trace_k_mbox_put_exit(mbox, timeout, ret)
1926
#endif
1927
1933
#ifndef sys_port_trace_k_mbox_async_put_enter
1934
#define sys_port_trace_k_mbox_async_put_enter(mbox, sem)
1935
#endif
1936
1942
#ifndef sys_port_trace_k_mbox_async_put_exit
1943
#define sys_port_trace_k_mbox_async_put_exit(mbox, sem)
1944
#endif
1945
1951
#ifndef sys_port_trace_k_mbox_get_enter
1952
#define sys_port_trace_k_mbox_get_enter(mbox, timeout)
1953
#endif
1954
1960
#ifndef sys_port_trace_k_mbox_get_blocking
1961
#define sys_port_trace_k_mbox_get_blocking(mbox, timeout)
1962
#endif
1963
1970
#ifndef sys_port_trace_k_mbox_get_exit
1971
#define sys_port_trace_k_mbox_get_exit(mbox, timeout, ret)
1972
#endif
1973
1978
#ifndef sys_port_trace_k_mbox_data_get
1979
#define sys_port_trace_k_mbox_data_get(rx_msg)
1980
#endif
1981
/* end of subsys_tracing_apis_mbox */
1983
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
2099
2104
#ifndef sys_port_trace_k_heap_init
2105
#define sys_port_trace_k_heap_init(h)
2106
#endif
2107
2113
#ifndef sys_port_trace_k_heap_aligned_alloc_enter
2114
#define sys_port_trace_k_heap_aligned_alloc_enter(h, timeout)
2115
#endif
2116
2122
#ifndef sys_port_trace_k_heap_alloc_helper_blocking
2123
#define sys_port_trace_k_heap_alloc_helper_blocking(h, timeout)
2124
#endif
2125
2132
#ifndef sys_port_trace_k_heap_aligned_alloc_exit
2133
#define sys_port_trace_k_heap_aligned_alloc_exit(h, timeout, ret)
2134
#endif
2135
2141
#ifndef sys_port_trace_k_heap_alloc_enter
2142
#define sys_port_trace_k_heap_alloc_enter(h, timeout)
2143
#endif
2144
2151
#ifndef sys_port_trace_k_heap_alloc_exit
2152
#define sys_port_trace_k_heap_alloc_exit(h, timeout, ret)
2153
#endif
2154
2160
#ifndef sys_port_trace_k_heap_calloc_enter
2161
#define sys_port_trace_k_heap_calloc_enter(h, timeout)
2162
#endif
2163
2170
#ifndef sys_port_trace_k_heap_calloc_exit
2171
#define sys_port_trace_k_heap_calloc_exit(h, timeout, ret)
2172
#endif
2173
2178
#ifndef sys_port_trace_k_heap_free
2179
#define sys_port_trace_k_heap_free(h)
2180
#endif
2181
2189
#ifndef sys_port_trace_k_heap_realloc_enter
2190
#define sys_port_trace_k_heap_realloc_enter(h, ptr, bytes, timeout)
2191
#endif
2192
2201
#ifndef sys_port_trace_k_heap_realloc_exit
2202
#define sys_port_trace_k_heap_realloc_exit(h, ptr, bytes, timeout, ret)
2203
#endif
2204
2209
#ifndef sys_port_trace_k_heap_sys_k_aligned_alloc_enter
2210
#define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap)
2211
#endif
2212
2218
#ifndef sys_port_trace_k_heap_sys_k_aligned_alloc_exit
2219
#define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret)
2220
#endif
2221
2226
#ifndef sys_port_trace_k_heap_sys_k_malloc_enter
2227
#define sys_port_trace_k_heap_sys_k_malloc_enter(heap)
2228
#endif
2229
2235
#ifndef sys_port_trace_k_heap_sys_k_malloc_exit
2236
#define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret)
2237
#endif
2238
2244
#ifndef sys_port_trace_k_heap_sys_k_free_enter
2245
#define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref)
2246
#endif
2247
2253
#ifndef sys_port_trace_k_heap_sys_k_free_exit
2254
#define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref)
2255
#endif
2256
2261
#ifndef sys_port_trace_k_heap_sys_k_calloc_enter
2262
#define sys_port_trace_k_heap_sys_k_calloc_enter(heap)
2263
#endif
2264
2270
#ifndef sys_port_trace_k_heap_sys_k_calloc_exit
2271
#define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret)
2272
#endif
2273
2279
#ifndef sys_port_trace_k_heap_sys_k_realloc_enter
2280
#define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr)
2281
#endif
2282
2289
#ifndef sys_port_trace_k_heap_sys_k_realloc_exit
2290
#define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret)
2291
#endif
2292
/* end of subsys_tracing_apis_heap */
2294
2301
2307
#ifndef sys_port_trace_k_mem_slab_init
2308
#define sys_port_trace_k_mem_slab_init(slab, rc)
2309
#endif
2310
2316
#ifndef sys_port_trace_k_mem_slab_alloc_enter
2317
#define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout)
2318
#endif
2319
2325
#ifndef sys_port_trace_k_mem_slab_alloc_blocking
2326
#define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout)
2327
#endif
2328
2335
#ifndef sys_port_trace_k_mem_slab_alloc_exit
2336
#define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret)
2337
#endif
2338
2343
#ifndef sys_port_trace_k_mem_slab_free_enter
2344
#define sys_port_trace_k_mem_slab_free_enter(slab)
2345
#endif
2346
2351
#ifndef sys_port_trace_k_mem_slab_free_exit
2352
#define sys_port_trace_k_mem_slab_free_exit(slab)
2353
#endif
2354
/* end of subsys_tracing_apis_mslab */
2356
2363
2368
#ifndef sys_port_trace_k_timer_init
2369
#define sys_port_trace_k_timer_init(timer)
2370
#endif
2371
2378
#ifndef sys_port_trace_k_timer_start
2379
#define sys_port_trace_k_timer_start(timer, duration, period)
2380
#endif
2381
2386
#ifndef sys_port_trace_k_timer_stop
2387
#define sys_port_trace_k_timer_stop(timer)
2388
#endif
2389
2394
#ifndef sys_port_trace_k_timer_status_sync_enter
2395
#define sys_port_trace_k_timer_status_sync_enter(timer)
2396
#endif
2397
2403
#ifndef sys_port_trace_k_timer_status_sync_blocking
2404
#define sys_port_trace_k_timer_status_sync_blocking(timer, timeout)
2405
#endif
2406
2412
#ifndef sys_port_trace_k_timer_status_sync_exit
2413
#define sys_port_trace_k_timer_status_sync_exit(timer, result)
2414
#endif
2415
2420
#ifndef sys_port_trace_k_timer_expiry_enter
2421
#define sys_port_trace_k_timer_expiry_enter(timer)
2422
#endif
2423
2428
#ifndef sys_port_trace_k_timer_expiry_exit
2429
#define sys_port_trace_k_timer_expiry_exit(timer)
2430
#endif
2431
2436
#ifndef sys_port_trace_k_timer_stop_fn_expiry_enter
2437
#define sys_port_trace_k_timer_stop_fn_expiry_enter(timer)
2438
#endif
2439
2444
#ifndef sys_port_trace_k_timer_stop_fn_expiry_exit
2445
#define sys_port_trace_k_timer_stop_fn_expiry_exit(timer)
2446
#endif
2447
2452
#ifndef sys_port_trace_k_timer_cleanup_enter
2453
#define sys_port_trace_k_timer_cleanup_enter(timer)
2454
#endif
2455
2461
#ifndef sys_port_trace_k_timer_cleanup_exit
2462
#define sys_port_trace_k_timer_cleanup_exit(timer, ret)
2463
#endif
2464
/* end of subsys_tracing_apis_timer */
2466
2473
2478
#ifndef sys_port_trace_k_event_init
2479
#define sys_port_trace_k_event_init(event)
2480
#endif
2481
2488
#ifndef sys_port_trace_k_event_post_enter
2489
#define sys_port_trace_k_event_post_enter(event, events, events_mask)
2490
#endif
2491
2498
#ifndef sys_port_trace_k_event_post_exit
2499
#define sys_port_trace_k_event_post_exit(event, events, events_mask)
2500
#endif
2501
2509
#ifndef sys_port_trace_k_event_wait_enter
2510
#define sys_port_trace_k_event_wait_enter(event, events, options, timeout)
2511
#endif
2512
2520
#ifndef sys_port_trace_k_event_wait_blocking
2521
#define sys_port_trace_k_event_wait_blocking(event, events, options, timeout)
2522
#endif
2523
2530
#ifndef sys_port_trace_k_event_wait_exit
2531
#define sys_port_trace_k_event_wait_exit(event, events, ret)
2532
#endif
2533
/* end of subsys_tracing_apis_event */
2535
2542
2547
#ifndef sys_port_trace_pm_system_suspend_enter
2548
#define sys_port_trace_pm_system_suspend_enter(ticks)
2549
#endif
2550
2556
#ifndef sys_port_trace_pm_system_suspend_exit
2557
#define sys_port_trace_pm_system_suspend_exit(ticks, state)
2558
#endif
2559
/* end of subsys_tracing_apis_pm_system */
2561
2568
2573
#ifndef sys_port_trace_pm_device_runtime_get_enter
2574
#define sys_port_trace_pm_device_runtime_get_enter(dev)
2575
#endif
2576
2582
#ifndef sys_port_trace_pm_device_runtime_get_exit
2583
#define sys_port_trace_pm_device_runtime_get_exit(dev, ret)
2584
#endif
2585
2590
#ifndef sys_port_trace_pm_device_runtime_put_enter
2591
#define sys_port_trace_pm_device_runtime_put_enter(dev)
2592
#endif
2593
2599
#ifndef sys_port_trace_pm_device_runtime_put_exit
2600
#define sys_port_trace_pm_device_runtime_put_exit(dev, ret)
2601
#endif
2602
2608
#ifndef sys_port_trace_pm_device_runtime_put_async_enter
2609
#define sys_port_trace_pm_device_runtime_put_async_enter(dev, delay)
2610
#endif
2611
2618
#ifndef sys_port_trace_pm_device_runtime_put_async_exit
2619
#define sys_port_trace_pm_device_runtime_put_async_exit(dev, delay, ret)
2620
#endif
2621
2626
#ifndef sys_port_trace_pm_device_runtime_enable_enter
2627
#define sys_port_trace_pm_device_runtime_enable_enter(dev)
2628
#endif
2629
2635
#ifndef sys_port_trace_pm_device_runtime_enable_exit
2636
#define sys_port_trace_pm_device_runtime_enable_exit(dev, ret)
2637
#endif
2638
2643
#ifndef sys_port_trace_pm_device_runtime_disable_enter
2644
#define sys_port_trace_pm_device_runtime_disable_enter(dev)
2645
#endif
2646
2652
#ifndef sys_port_trace_pm_device_runtime_disable_exit
2653
#define sys_port_trace_pm_device_runtime_disable_exit(dev, ret)
2654
#endif
2655
/* end of subsys_tracing_apis_pm_device_runtime */
2657
2664
2670
#ifndef sys_port_trace_net_recv_data_enter
2671
#define sys_port_trace_net_recv_data_enter(iface, pkt)
2672
#endif
2673
2680
#ifndef sys_port_trace_net_recv_data_exit
2681
#define sys_port_trace_net_recv_data_exit(iface, pkt, ret)
2682
#endif
2683
2688
#ifndef sys_port_trace_net_send_data_enter
2689
#define sys_port_trace_net_send_data_enter(pkt)
2690
#endif
2691
2697
#ifndef sys_port_trace_net_send_data_exit
2698
#define sys_port_trace_net_send_data_exit(pkt, ret)
2699
#endif
2700
2706
#ifndef sys_port_trace_net_rx_time
2707
#define sys_port_trace_net_rx_time(pkt, end_time)
2708
#endif
2709
2715
#ifndef sys_port_trace_net_tx_time
2716
#define sys_port_trace_net_tx_time(pkt, end_time)
2717
#endif
2718
/* end of subsys_tracing_apis_net */
2720
2727
2735
#ifndef sys_port_trace_socket_init
2736
#define sys_port_trace_socket_init(socket, family, type, proto)
2737
#endif
2738
2743
#ifndef sys_port_trace_socket_close_enter
2744
#define sys_port_trace_socket_close_enter(socket)
2745
#endif
2746
2752
#ifndef sys_port_trace_socket_close_exit
2753
#define sys_port_trace_socket_close_exit(socket, ret)
2754
#endif
2755
2761
#ifndef sys_port_trace_socket_shutdown_enter
2762
#define sys_port_trace_socket_shutdown_enter(socket, how)
2763
#endif
2764
2770
#ifndef sys_port_trace_socket_shutdown_exit
2771
#define sys_port_trace_socket_shutdown_exit(socket, ret)
2772
#endif
2773
2780
#ifndef sys_port_trace_socket_bind_enter
2781
#define sys_port_trace_socket_bind_enter(socket, addr, addrlen)
2782
#endif
2783
2789
#ifndef sys_port_trace_socket_bind_exit
2790
#define sys_port_trace_socket_bind_exit(socket, ret)
2791
#endif
2792
2799
#ifndef sys_port_trace_socket_connect_enter
2800
#define sys_port_trace_socket_connect_enter(socket, addr, addrlen)
2801
#endif
2802
2808
#ifndef sys_port_trace_socket_connect_exit
2809
#define sys_port_trace_socket_connect_exit(socket, ret)
2810
#endif
2811
2817
#ifndef sys_port_trace_socket_listen_enter
2818
#define sys_port_trace_socket_listen_enter(socket, backlog)
2819
#endif
2820
2826
#ifndef sys_port_trace_socket_listen_exit
2827
#define sys_port_trace_socket_listen_exit(socket, ret)
2828
#endif
2829
2834
#ifndef sys_port_trace_socket_accept_enter
2835
#define sys_port_trace_socket_accept_enter(socket)
2836
#endif
2837
2845
#ifndef sys_port_trace_socket_accept_exit
2846
#define sys_port_trace_socket_accept_exit(socket, addr, addrlen, ret)
2847
#endif
2848
2857
#ifndef sys_port_trace_socket_sendto_enter
2858
#define sys_port_trace_socket_sendto_enter(socket, len, flags, dest_addr, addrlen)
2859
#endif
2860
2866
#ifndef sys_port_trace_socket_sendto_exit
2867
#define sys_port_trace_socket_sendto_exit(socket, ret)
2868
#endif
2869
2876
#ifndef sys_port_trace_socket_sendmsg_enter
2877
#define sys_port_trace_socket_sendmsg_enter(socket, msg, flags)
2878
#endif
2879
2885
#ifndef sys_port_trace_socket_sendmsg_exit
2886
#define sys_port_trace_socket_sendmsg_exit(socket, ret)
2887
#endif
2888
2897
#ifndef sys_port_trace_socket_recvfrom_enter
2898
#define sys_port_trace_socket_recvfrom_enter(socket, max_len, flags, addr, addrlen)
2899
#endif
2900
2908
#ifndef sys_port_trace_socket_recvfrom_exit
2909
#define sys_port_trace_socket_recvfrom_exit(socket, src_addr, addrlen, ret)
2910
#endif
2911
2918
#ifndef sys_port_trace_socket_recvmsg_enter
2919
#define sys_port_trace_socket_recvmsg_enter(socket, msg, flags)
2920
#endif
2921
2928
#ifndef sys_port_trace_socket_recvmsg_exit
2929
#define sys_port_trace_socket_recvmsg_exit(socket, msg, ret)
2930
#endif
2931
2938
#ifndef sys_port_trace_socket_fcntl_enter
2939
#define sys_port_trace_socket_fcntl_enter(socket, cmd, flags)
2940
#endif
2941
2947
#ifndef sys_port_trace_socket_fcntl_exit
2948
#define sys_port_trace_socket_fcntl_exit(socket, ret)
2949
#endif
2950
2956
#ifndef sys_port_trace_socket_ioctl_enter
2957
#define sys_port_trace_socket_ioctl_enter(socket, req)
2958
#endif
2959
2965
#ifndef sys_port_trace_socket_ioctl_exit
2966
#define sys_port_trace_socket_ioctl_exit(socket, ret)
2967
#endif
2968
2975
#ifndef sys_port_trace_socket_poll_enter
2976
#define sys_port_trace_socket_poll_enter(fds, nfds, timeout)
2977
#endif
2978
2985
#ifndef sys_port_trace_socket_poll_exit
2986
#define sys_port_trace_socket_poll_exit(fds, nfds, ret)
2987
#endif
2988
2995
#ifndef sys_port_trace_socket_getsockopt_enter
2996
#define sys_port_trace_socket_getsockopt_enter(socket, level, optname)
2997
#endif
2998
3008
#ifndef sys_port_trace_socket_getsockopt_exit
3009
#define sys_port_trace_socket_getsockopt_exit(socket, level, optname, optval, optlen, ret)
3010
#endif
3011
3020
#ifndef sys_port_trace_socket_setsockopt_enter
3021
#define sys_port_trace_socket_setsockopt_enter(socket, level, optname, optval, optlen)
3022
#endif
3023
3029
#ifndef sys_port_trace_socket_setsockopt_exit
3030
#define sys_port_trace_socket_setsockopt_exit(socket, ret)
3031
#endif
3032
3037
#ifndef sys_port_trace_socket_getpeername_enter
3038
#define sys_port_trace_socket_getpeername_enter(socket)
3039
#endif
3040
3048
#ifndef sys_port_trace_socket_getpeername_exit
3049
#define sys_port_trace_socket_getpeername_exit(socket, addr, addrlen, ret)
3050
#endif
3051
3056
#ifndef sys_port_trace_socket_getsockname_enter
3057
#define sys_port_trace_socket_getsockname_enter(socket)
3058
#endif
3059
3067
#ifndef sys_port_trace_socket_getsockname_exit
3068
#define sys_port_trace_socket_getsockname_exit(socket, addr, addrlen, ret)
3069
#endif
3070
3078
#ifndef sys_port_trace_socket_socketpair_enter
3079
#define sys_port_trace_socket_socketpair_enter(family, type, proto, sv)
3080
#endif
3081
3088
#ifndef sys_port_trace_socket_socketpair_exit
3089
#define sys_port_trace_socket_socketpair_exit(socket_A, socket_B, ret)
3090
#endif
3091
/* end of subsys_tracing_apis_socket */
3093
3094
/*
3095
* Note: sys_trace_named_event() is a function-style public API (implemented as a
3096
* real function by backends such as CTF), not a sys_port_trace_* macro hook. Its
3097
* disabled-state no-op lives in tracing.h's no-format branch, not here, so that
3098
* this fallback (included for every backend) does not clobber a backend's function.
3099
*/
3100
3107
3114
#ifndef sys_port_trace_gpio_pin_interrupt_configure_enter
3115
#define sys_port_trace_gpio_pin_interrupt_configure_enter(port, pin, flags)
3116
#endif
3117
3124
#ifndef sys_port_trace_gpio_pin_interrupt_configure_exit
3125
#define sys_port_trace_gpio_pin_interrupt_configure_exit(port, pin, ret)
3126
#endif
3127
3134
#ifndef sys_port_trace_gpio_pin_configure_enter
3135
#define sys_port_trace_gpio_pin_configure_enter(port, pin, flags)
3136
#endif
3137
3144
#ifndef sys_port_trace_gpio_pin_configure_exit
3145
#define sys_port_trace_gpio_pin_configure_exit(port, pin, ret)
3146
#endif
3147
3155
#ifndef sys_port_trace_gpio_port_get_direction_enter
3156
#define sys_port_trace_gpio_port_get_direction_enter(port, map, inputs, outputs)
3157
#endif
3158
3164
#ifndef sys_port_trace_gpio_port_get_direction_exit
3165
#define sys_port_trace_gpio_port_get_direction_exit(port, ret)
3166
#endif
3167
3174
#ifndef sys_port_trace_gpio_pin_get_config_enter
3175
#define sys_port_trace_gpio_pin_get_config_enter(port, pin, flags)
3176
#endif
3177
3184
#ifndef sys_port_trace_gpio_pin_get_config_exit
3185
#define sys_port_trace_gpio_pin_get_config_exit(port, pin, ret)
3186
#endif
3187
3193
#ifndef sys_port_trace_gpio_port_get_raw_enter
3194
#define sys_port_trace_gpio_port_get_raw_enter(port, value)
3195
#endif
3196
3202
#ifndef sys_port_trace_gpio_port_get_raw_exit
3203
#define sys_port_trace_gpio_port_get_raw_exit(port, ret)
3204
#endif
3205
3212
#ifndef sys_port_trace_gpio_port_set_masked_raw_enter
3213
#define sys_port_trace_gpio_port_set_masked_raw_enter(port, mask, value)
3214
#endif
3215
3221
#ifndef sys_port_trace_gpio_port_set_masked_raw_exit
3222
#define sys_port_trace_gpio_port_set_masked_raw_exit(port, ret)
3223
#endif
3224
3230
#ifndef sys_port_trace_gpio_port_set_bits_raw_enter
3231
#define sys_port_trace_gpio_port_set_bits_raw_enter(port, pins)
3232
#endif
3233
3239
#ifndef sys_port_trace_gpio_port_set_bits_raw_exit
3240
#define sys_port_trace_gpio_port_set_bits_raw_exit(port, ret)
3241
#endif
3242
3248
#ifndef sys_port_trace_gpio_port_clear_bits_raw_enter
3249
#define sys_port_trace_gpio_port_clear_bits_raw_enter(port, pins)
3250
#endif
3251
3257
#ifndef sys_port_trace_gpio_port_clear_bits_raw_exit
3258
#define sys_port_trace_gpio_port_clear_bits_raw_exit(port, ret)
3259
#endif
3260
3266
#ifndef sys_port_trace_gpio_port_toggle_bits_enter
3267
#define sys_port_trace_gpio_port_toggle_bits_enter(port, pins)
3268
#endif
3269
3275
#ifndef sys_port_trace_gpio_port_toggle_bits_exit
3276
#define sys_port_trace_gpio_port_toggle_bits_exit(port, ret)
3277
#endif
3278
3285
#ifndef sys_port_trace_gpio_init_callback_enter
3286
#define sys_port_trace_gpio_init_callback_enter(callback, handler, pin_mask)
3287
#endif
3288
3293
#ifndef sys_port_trace_gpio_init_callback_exit
3294
#define sys_port_trace_gpio_init_callback_exit(callback)
3295
#endif
3296
3302
#ifndef sys_port_trace_gpio_add_callback_enter
3303
#define sys_port_trace_gpio_add_callback_enter(port, callback)
3304
#endif
3305
3311
#ifndef sys_port_trace_gpio_add_callback_exit
3312
#define sys_port_trace_gpio_add_callback_exit(port, ret)
3313
#endif
3314
3320
#ifndef sys_port_trace_gpio_remove_callback_enter
3321
#define sys_port_trace_gpio_remove_callback_enter(port, callback)
3322
#endif
3323
3329
#ifndef sys_port_trace_gpio_remove_callback_exit
3330
#define sys_port_trace_gpio_remove_callback_exit(port, ret)
3331
#endif
3332
3337
#ifndef sys_port_trace_gpio_get_pending_int_enter
3338
#define sys_port_trace_gpio_get_pending_int_enter(dev)
3339
#endif
3340
3346
#ifndef sys_port_trace_gpio_get_pending_int_exit
3347
#define sys_port_trace_gpio_get_pending_int_exit(dev, ret)
3348
#endif
3349
3356
#ifndef sys_port_trace_gpio_fire_callbacks_enter
3357
#define sys_port_trace_gpio_fire_callbacks_enter(list, port, pins)
3358
#endif
3359
3365
#ifndef sys_port_trace_gpio_fire_callback
3366
#define sys_port_trace_gpio_fire_callback(port, callback)
3367
#endif
3368
/* end of subsys_tracing_apis_gpio */
3370
3377
3383
#ifndef sys_port_trace_rtio_submit_enter
3384
#define sys_port_trace_rtio_submit_enter(rtio, wait_count)
3385
#endif
3386
3391
#ifndef sys_port_trace_rtio_submit_exit
3392
#define sys_port_trace_rtio_submit_exit(rtio)
3393
#endif
3394
3399
#ifndef sys_port_trace_rtio_sqe_acquire_enter
3400
#define sys_port_trace_rtio_sqe_acquire_enter(rtio)
3401
#endif
3402
3408
#ifndef sys_port_trace_rtio_sqe_acquire_exit
3409
#define sys_port_trace_rtio_sqe_acquire_exit(rtio, sqe)
3410
#endif
3411
3416
#ifndef sys_port_trace_rtio_sqe_cancel
3417
#define sys_port_trace_rtio_sqe_cancel(handle)
3418
#endif
3419
3426
#ifndef sys_port_trace_rtio_cqe_submit_enter
3427
#define sys_port_trace_rtio_cqe_submit_enter(rtio, result, flags)
3428
#endif
3429
3434
#ifndef sys_port_trace_rtio_cqe_submit_exit
3435
#define sys_port_trace_rtio_cqe_submit_exit(rtio)
3436
#endif
3437
3442
#ifndef sys_port_trace_rtio_cqe_acquire_enter
3443
#define sys_port_trace_rtio_cqe_acquire_enter(rtio)
3444
#endif
3445
3451
#ifndef sys_port_trace_rtio_cqe_acquire_exit
3452
#define sys_port_trace_rtio_cqe_acquire_exit(rtio, cqe)
3453
#endif
3454
3460
#ifndef sys_port_trace_rtio_cqe_release
3461
#define sys_port_trace_rtio_cqe_release(rtio, cqe)
3462
#endif
3463
3468
#ifndef sys_port_trace_rtio_cqe_consume_enter
3469
#define sys_port_trace_rtio_cqe_consume_enter(rtio)
3470
#endif
3471
3477
#ifndef sys_port_trace_rtio_cqe_consume_exit
3478
#define sys_port_trace_rtio_cqe_consume_exit(rtio, cqe)
3479
#endif
3480
3486
#ifndef sys_port_trace_rtio_txn_next_enter
3487
#define sys_port_trace_rtio_txn_next_enter(rtio, iodev_sqe)
3488
#endif
3489
3495
#ifndef sys_port_trace_rtio_txn_next_exit
3496
#define sys_port_trace_rtio_txn_next_exit(rtio, iodev_sqe)
3497
#endif
3498
3504
#ifndef sys_port_trace_rtio_chain_next_enter
3505
#define sys_port_trace_rtio_chain_next_enter(rtio, iodev_sqe)
3506
#endif
3507
3513
#ifndef sys_port_trace_rtio_chain_next_exit
3514
#define sys_port_trace_rtio_chain_next_exit(rtio, iodev_sqe)
3515
#endif
3516
/* end of subsys_tracing_apis_rtio */
3518
3528
3533
#ifndef sys_port_trace_k_pipe_alloc_init_enter
3534
#define sys_port_trace_k_pipe_alloc_init_enter(pipe)
3535
#endif
3541
#ifndef sys_port_trace_k_pipe_alloc_init_exit
3542
#define sys_port_trace_k_pipe_alloc_init_exit(pipe, ret)
3543
#endif
3548
#ifndef sys_port_trace_k_pipe_buffer_flush_enter
3549
#define sys_port_trace_k_pipe_buffer_flush_enter(pipe)
3550
#endif
3555
#ifndef sys_port_trace_k_pipe_buffer_flush_exit
3556
#define sys_port_trace_k_pipe_buffer_flush_exit(pipe)
3557
#endif
3562
#ifndef sys_port_trace_k_pipe_cleanup_enter
3563
#define sys_port_trace_k_pipe_cleanup_enter(pipe)
3564
#endif
3570
#ifndef sys_port_trace_k_pipe_cleanup_exit
3571
#define sys_port_trace_k_pipe_cleanup_exit(pipe, ret)
3572
#endif
3577
#ifndef sys_port_trace_k_pipe_flush_enter
3578
#define sys_port_trace_k_pipe_flush_enter(pipe)
3579
#endif
3584
#ifndef sys_port_trace_k_pipe_flush_exit
3585
#define sys_port_trace_k_pipe_flush_exit(pipe)
3586
#endif
3592
#ifndef sys_port_trace_k_pipe_get_blocking
3593
#define sys_port_trace_k_pipe_get_blocking(pipe, timeout)
3594
#endif
3600
#ifndef sys_port_trace_k_pipe_get_enter
3601
#define sys_port_trace_k_pipe_get_enter(pipe, timeout)
3602
#endif
3609
#ifndef sys_port_trace_k_pipe_get_exit
3610
#define sys_port_trace_k_pipe_get_exit(pipe, timeout, ret)
3611
#endif
3617
#ifndef sys_port_trace_k_pipe_put_blocking
3618
#define sys_port_trace_k_pipe_put_blocking(pipe, timeout)
3619
#endif
3625
#ifndef sys_port_trace_k_pipe_put_enter
3626
#define sys_port_trace_k_pipe_put_enter(pipe, timeout)
3627
#endif
3634
#ifndef sys_port_trace_k_pipe_put_exit
3635
#define sys_port_trace_k_pipe_put_exit(pipe, timeout, ret)
3636
#endif
3642
#ifndef sys_port_trace_k_thread_heap_assign
3643
#define sys_port_trace_k_thread_heap_assign(thread, heap)
3644
#endif
3650
#ifndef sys_port_trace_syscall_exit
3651
#define sys_port_trace_syscall_exit(id, name, ...)
3652
#endif
3653
/* end of subsys_tracing_apis_backend_ext */
3655
3656
#endif
/* ZEPHYR_INCLUDE_TRACING_TRACING_HOOKS_H_ */
zephyr
tracing
tracing_hooks.h
Generated on
for Zephyr API Documentation by
1.16.1