Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tracing.h File Reference
#include <zephyr/kernel.h>
#include "tracking.h"

Go to the source code of this file.

Macros

#define sys_port_trace_k_thread_foreach_enter()
 Called when entering a k_thread_foreach call.
 
#define sys_port_trace_k_thread_foreach_exit()
 Called when exiting a k_thread_foreach call.
 
#define sys_port_trace_k_thread_foreach_unlocked_enter()
 Called when entering a k_thread_foreach_unlocked.
 
#define sys_port_trace_k_thread_foreach_unlocked_exit()
 Called when exiting a k_thread_foreach_unlocked.
 
#define sys_port_trace_k_thread_create(new_thread)
 Trace creating a Thread.
 
#define sys_port_trace_k_thread_user_mode_enter()
 Trace Thread entering user mode.
 
#define sys_port_trace_k_thread_join_enter(thread, timeout)
 Called when entering a k_thread_join.
 
#define sys_port_trace_k_thread_join_blocking(thread, timeout)
 Called when k_thread_join blocks.
 
#define sys_port_trace_k_thread_join_exit(thread, timeout, ret)
 Called when exiting k_thread_join.
 
#define sys_port_trace_k_thread_sleep_enter(timeout)
 Called when entering k_thread_sleep.
 
#define sys_port_trace_k_thread_sleep_exit(timeout, ret)
 Called when exiting k_thread_sleep.
 
#define sys_port_trace_k_thread_msleep_enter(ms)
 Called when entering k_thread_msleep.
 
#define sys_port_trace_k_thread_msleep_exit(ms, ret)
 Called when exiting k_thread_msleep.
 
#define sys_port_trace_k_thread_usleep_enter(us)
 Called when entering k_thread_usleep.
 
#define sys_port_trace_k_thread_usleep_exit(us, ret)
 Called when exiting k_thread_usleep.
 
#define sys_port_trace_k_thread_busy_wait_enter(usec_to_wait)
 Called when entering k_thread_busy_wait.
 
#define sys_port_trace_k_thread_busy_wait_exit(usec_to_wait)
 Called when exiting k_thread_busy_wait.
 
#define sys_port_trace_k_thread_yield()
 Called when a thread yields.
 
#define sys_port_trace_k_thread_wakeup(thread)
 Called when a thread wakes up.
 
#define sys_port_trace_k_thread_start(thread)
 Called when a thread is started.
 
#define sys_port_trace_k_thread_abort(thread)
 Called when a thread is being aborted.
 
#define sys_port_trace_k_thread_abort_enter(thread)
 Called when a thread enters the k_thread_abort routine.
 
#define sys_port_trace_k_thread_abort_exit(thread)
 Called when a thread exits the k_thread_abort routine.
 
#define sys_port_trace_k_thread_priority_set(thread)
 Called when setting priority of a thread.
 
#define sys_port_trace_k_thread_suspend_enter(thread)
 Called when a thread enters the k_thread_suspend function.
 
#define sys_port_trace_k_thread_suspend_exit(thread)
 Called when a thread exits the k_thread_suspend function.
 
#define sys_port_trace_k_thread_resume_enter(thread)
 Called when a thread enters the resume from suspension function.
 
#define sys_port_trace_k_thread_resume_exit(thread)
 Called when a thread exits the resumed from suspension function.
 
#define sys_port_trace_k_thread_sched_lock()
 Called when the thread scheduler is locked.
 
#define sys_port_trace_k_thread_sched_unlock()
 Called when the thread scheduler is unlocked.
 
#define sys_port_trace_k_thread_name_set(thread, ret)
 Called when a thread name is set.
 
#define sys_port_trace_k_thread_switched_out()
 Called before a thread has been selected to run.
 
#define sys_port_trace_k_thread_switched_in()
 Called after a thread has been selected to run.
 
#define sys_port_trace_k_thread_ready(thread)
 Called when a thread is ready to run.
 
#define sys_port_trace_k_thread_pend(thread)
 Called when a thread is pending.
 
#define sys_port_trace_k_thread_info(thread)
 Provide information about specific thread.
 
#define sys_port_trace_k_thread_sched_wakeup(thread)
 Trace implicit thread wakeup invocation by the scheduler.
 
#define sys_port_trace_k_thread_sched_abort(thread)
 Trace implicit thread abort invocation by the scheduler.
 
#define sys_port_trace_k_thread_sched_priority_set(thread, prio)
 Trace implicit thread set priority invocation by the scheduler.
 
#define sys_port_trace_k_thread_sched_ready(thread)
 Trace implicit thread ready invocation by the scheduler.
 
#define sys_port_trace_k_thread_sched_pend(thread)
 Trace implicit thread pend invocation by the scheduler.
 
#define sys_port_trace_k_thread_sched_resume(thread)
 Trace implicit thread resume invocation by the scheduler.
 
#define sys_port_trace_k_thread_sched_suspend(thread)
 Trace implicit thread suspend invocation by the scheduler.
 
#define sys_port_trace_k_work_init(work)
 Trace initialisation of a Work structure.
 
#define sys_port_trace_k_work_submit_to_queue_enter(queue, work)
 Trace submit work to work queue call entry.
 
#define sys_port_trace_k_work_submit_to_queue_exit(queue, work, ret)
 Trace submit work to work queue call exit.
 
#define sys_port_trace_k_work_submit_enter(work)
 Trace submit work to system work queue call entry.
 
#define sys_port_trace_k_work_submit_exit(work, ret)
 Trace submit work to system work queue call exit.
 
#define sys_port_trace_k_work_flush_enter(work)
 Trace flush work call entry.
 
#define sys_port_trace_k_work_flush_blocking(work, timeout)
 Trace flush work call blocking.
 
#define sys_port_trace_k_work_flush_exit(work, ret)
 Trace flush work call exit.
 
#define sys_port_trace_k_work_cancel_enter(work)
 Trace cancel work call entry.
 
#define sys_port_trace_k_work_cancel_exit(work, ret)
 Trace cancel work call exit.
 
#define sys_port_trace_k_work_cancel_sync_enter(work, sync)
 Trace cancel sync work call entry.
 
#define sys_port_trace_k_work_cancel_sync_blocking(work, sync)
 Trace cancel sync work call blocking.
 
#define sys_port_trace_k_work_cancel_sync_exit(work, sync, ret)
 Trace cancel sync work call exit.
 
#define sys_port_trace_k_work_queue_init(queue)
 Trace initialisation of a Work Queue structure.
 
#define sys_port_trace_k_work_queue_start_enter(queue)
 Trace start of a Work Queue call entry.
 
#define sys_port_trace_k_work_queue_start_exit(queue)
 Trace start of a Work Queue call exit.
 
#define sys_port_trace_k_work_queue_drain_enter(queue)
 Trace Work Queue drain call entry.
 
#define sys_port_trace_k_work_queue_drain_exit(queue, ret)
 Trace Work Queue drain call exit.
 
#define sys_port_trace_k_work_queue_unplug_enter(queue)
 Trace Work Queue unplug call entry.
 
#define sys_port_trace_k_work_queue_unplug_exit(queue, ret)
 Trace Work Queue unplug call exit.
 
#define sys_port_trace_k_work_delayable_init(dwork)
 Trace initialisation of a Delayable Work structure.
 
#define sys_port_trace_k_work_schedule_for_queue_enter(queue, dwork, delay)
 Trace schedule delayable work for queue enter.
 
#define sys_port_trace_k_work_schedule_for_queue_exit(queue, dwork, delay, ret)
 Trace schedule delayable work for queue exit.
 
#define sys_port_trace_k_work_schedule_enter(dwork, delay)
 Trace schedule delayable work for system work queue enter.
 
#define sys_port_trace_k_work_schedule_exit(dwork, delay, ret)
 Trace schedule delayable work for system work queue exit.
 
#define sys_port_trace_k_work_reschedule_for_queue_enter(queue, dwork, delay)
 Trace reschedule delayable work for queue enter.
 
#define sys_port_trace_k_work_reschedule_for_queue_exit(queue, dwork, delay, ret)
 Trace reschedule delayable work for queue exit.
 
#define sys_port_trace_k_work_reschedule_enter(dwork, delay)
 Trace reschedule delayable work for system queue enter.
 
#define sys_port_trace_k_work_reschedule_exit(dwork, delay, ret)
 Trace reschedule delayable work for system queue exit.
 
#define sys_port_trace_k_work_flush_delayable_enter(dwork, sync)
 Trace delayable work flush enter.
 
#define sys_port_trace_k_work_flush_delayable_exit(dwork, sync, ret)
 Trace delayable work flush exit.
 
#define sys_port_trace_k_work_cancel_delayable_enter(dwork)
 Trace delayable work cancel enter.
 
#define sys_port_trace_k_work_cancel_delayable_exit(dwork, ret)
 Trace delayable work cancel enter.
 
#define sys_port_trace_k_work_cancel_delayable_sync_enter(dwork, sync)
 Trace delayable work cancel sync enter.
 
#define sys_port_trace_k_work_cancel_delayable_sync_exit(dwork, sync, ret)
 Trace delayable work cancel sync enter.
 
#define sys_port_trace_k_work_poll_init_enter(work)
 Trace initialisation of a Work Poll structure enter.
 
#define sys_port_trace_k_work_poll_init_exit(work)
 Trace initialisation of a Work Poll structure exit.
 
#define sys_port_trace_k_work_poll_submit_to_queue_enter(work_q, work, timeout)
 Trace work poll submit to queue enter.
 
#define sys_port_trace_k_work_poll_submit_to_queue_blocking(work_q, work, timeout)
 Trace work poll submit to queue blocking.
 
#define sys_port_trace_k_work_poll_submit_to_queue_exit(work_q, work, timeout, ret)
 Trace work poll submit to queue exit.
 
#define sys_port_trace_k_work_poll_submit_enter(work, timeout)
 Trace work poll submit to system queue enter.
 
#define sys_port_trace_k_work_poll_submit_exit(work, timeout, ret)
 Trace work poll submit to system queue exit.
 
#define sys_port_trace_k_work_poll_cancel_enter(work)
 Trace work poll cancel enter.
 
#define sys_port_trace_k_work_poll_cancel_exit(work, ret)
 Trace work poll cancel exit.
 
#define sys_port_trace_k_poll_api_event_init(event)
 Trace initialisation of a Poll Event.
 
#define sys_port_trace_k_poll_api_poll_enter(events)
 Trace Polling call start.
 
#define sys_port_trace_k_poll_api_poll_exit(events, ret)
 Trace Polling call outcome.
 
#define sys_port_trace_k_poll_api_signal_init(signal)
 Trace initialisation of a Poll Signal.
 
#define sys_port_trace_k_poll_api_signal_reset(signal)
 Trace resetting of Poll Signal.
 
#define sys_port_trace_k_poll_api_signal_check(signal)
 Trace checking of Poll Signal.
 
#define sys_port_trace_k_poll_api_signal_raise(signal, ret)
 Trace raising of Poll Signal.
 
#define sys_port_trace_k_sem_init(sem, ret)
 Trace initialisation of a Semaphore.
 
#define sys_port_trace_k_sem_give_enter(sem)
 Trace giving a Semaphore entry.
 
#define sys_port_trace_k_sem_give_exit(sem)
 Trace giving a Semaphore exit.
 
#define sys_port_trace_k_sem_take_enter(sem, timeout)
 Trace taking a Semaphore attempt start.
 
#define sys_port_trace_k_sem_take_blocking(sem, timeout)
 Trace taking a Semaphore attempt blocking.
 
#define sys_port_trace_k_sem_take_exit(sem, timeout, ret)
 Trace taking a Semaphore attempt outcome.
 
#define sys_port_trace_k_sem_reset(sem)
 Trace resetting a Semaphore.
 
#define sys_port_trace_k_mutex_init(mutex, ret)
 Trace initialization of Mutex.
 
#define sys_port_trace_k_mutex_lock_enter(mutex, timeout)
 Trace Mutex lock attempt start.
 
#define sys_port_trace_k_mutex_lock_blocking(mutex, timeout)
 Trace Mutex lock attempt blocking.
 
#define sys_port_trace_k_mutex_lock_exit(mutex, timeout, ret)
 Trace Mutex lock attempt outcome.
 
#define sys_port_trace_k_mutex_unlock_enter(mutex)
 Trace Mutex unlock entry.
 
#define sys_port_trace_k_mutex_unlock_exit(mutex, ret)
 Trace Mutex unlock exit.
 
#define sys_port_trace_k_condvar_init(condvar, ret)
 Trace initialization of Conditional Variable.
 
#define sys_port_trace_k_condvar_signal_enter(condvar)
 Trace Conditional Variable signaling start.
 
#define sys_port_trace_k_condvar_signal_blocking(condvar, timeout)
 Trace Conditional Variable signaling blocking.
 
#define sys_port_trace_k_condvar_signal_exit(condvar, ret)
 Trace Conditional Variable signaling outcome.
 
#define sys_port_trace_k_condvar_broadcast_enter(condvar)
 Trace Conditional Variable broadcast enter.
 
#define sys_port_trace_k_condvar_broadcast_exit(condvar, ret)
 Trace Conditional Variable broadcast exit.
 
#define sys_port_trace_k_condvar_wait_enter(condvar)
 Trace Conditional Variable wait enter.
 
#define sys_port_trace_k_condvar_wait_exit(condvar, ret)
 Trace Conditional Variable wait exit.
 
#define sys_port_trace_k_queue_init(queue)
 Trace initialization of Queue.
 
#define sys_port_trace_k_queue_cancel_wait(queue)
 Trace Queue cancel wait.
 
#define sys_port_trace_k_queue_queue_insert_enter(queue, alloc)
 Trace Queue insert attempt entry.
 
#define sys_port_trace_k_queue_queue_insert_blocking(queue, alloc, timeout)
 Trace Queue insert attempt blocking.
 
#define sys_port_trace_k_queue_queue_insert_exit(queue, alloc, ret)
 Trace Queue insert attempt outcome.
 
#define sys_port_trace_k_queue_append_enter(queue)
 Trace Queue append enter.
 
#define sys_port_trace_k_queue_append_exit(queue)
 Trace Queue append exit.
 
#define sys_port_trace_k_queue_alloc_append_enter(queue)
 Trace Queue alloc append enter.
 
#define sys_port_trace_k_queue_alloc_append_exit(queue, ret)
 Trace Queue alloc append exit.
 
#define sys_port_trace_k_queue_prepend_enter(queue)
 Trace Queue prepend enter.
 
#define sys_port_trace_k_queue_prepend_exit(queue)
 Trace Queue prepend exit.
 
#define sys_port_trace_k_queue_alloc_prepend_enter(queue)
 Trace Queue alloc prepend enter.
 
#define sys_port_trace_k_queue_alloc_prepend_exit(queue, ret)
 Trace Queue alloc prepend exit.
 
#define sys_port_trace_k_queue_insert_enter(queue)
 Trace Queue insert attempt entry.
 
#define sys_port_trace_k_queue_insert_blocking(queue, timeout)
 Trace Queue insert attempt blocking.
 
#define sys_port_trace_k_queue_insert_exit(queue)
 Trace Queue insert attempt exit.
 
#define sys_port_trace_k_queue_append_list_enter(queue)
 Trace Queue append list enter.
 
#define sys_port_trace_k_queue_append_list_exit(queue, ret)
 Trace Queue append list exit.
 
#define sys_port_trace_k_queue_merge_slist_enter(queue)
 Trace Queue merge slist enter.
 
#define sys_port_trace_k_queue_merge_slist_exit(queue, ret)
 Trace Queue merge slist exit.
 
#define sys_port_trace_k_queue_get_enter(queue, timeout)
 Trace Queue get attempt enter.
 
#define sys_port_trace_k_queue_get_blocking(queue, timeout)
 Trace Queue get attempt blockings.
 
#define sys_port_trace_k_queue_get_exit(queue, timeout, ret)
 Trace Queue get attempt outcome.
 
#define sys_port_trace_k_queue_remove_enter(queue)
 Trace Queue remove enter.
 
#define sys_port_trace_k_queue_remove_exit(queue, ret)
 Trace Queue remove exit.
 
#define sys_port_trace_k_queue_unique_append_enter(queue)
 Trace Queue unique append enter.
 
#define sys_port_trace_k_queue_unique_append_exit(queue, ret)
 Trace Queue unique append exit.
 
#define sys_port_trace_k_queue_peek_head(queue, ret)
 Trace Queue peek head.
 
#define sys_port_trace_k_queue_peek_tail(queue, ret)
 Trace Queue peek tail.
 
#define sys_port_trace_k_fifo_init_enter(fifo)
 Trace initialization of FIFO Queue entry.
 
#define sys_port_trace_k_fifo_init_exit(fifo)
 Trace initialization of FIFO Queue exit.
 
#define sys_port_trace_k_fifo_cancel_wait_enter(fifo)
 Trace FIFO Queue cancel wait entry.
 
#define sys_port_trace_k_fifo_cancel_wait_exit(fifo)
 Trace FIFO Queue cancel wait exit.
 
#define sys_port_trace_k_fifo_put_enter(fifo, data)
 Trace FIFO Queue put entry.
 
#define sys_port_trace_k_fifo_put_exit(fifo, data)
 Trace FIFO Queue put exit.
 
#define sys_port_trace_k_fifo_alloc_put_enter(fifo, data)
 Trace FIFO Queue alloc put entry.
 
#define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret)
 Trace FIFO Queue alloc put exit.
 
#define sys_port_trace_k_fifo_put_list_enter(fifo, head, tail)
 Trace FIFO Queue put list entry.
 
#define sys_port_trace_k_fifo_put_list_exit(fifo, head, tail)
 Trace FIFO Queue put list exit.
 
#define sys_port_trace_k_fifo_alloc_put_slist_enter(fifo, list)
 Trace FIFO Queue put slist entry.
 
#define sys_port_trace_k_fifo_alloc_put_slist_exit(fifo, list)
 Trace FIFO Queue put slist exit.
 
#define sys_port_trace_k_fifo_get_enter(fifo, timeout)
 Trace FIFO Queue get entry.
 
#define sys_port_trace_k_fifo_get_exit(fifo, timeout, ret)
 Trace FIFO Queue get exit.
 
#define sys_port_trace_k_fifo_peek_head_enter(fifo)
 Trace FIFO Queue peek head entry.
 
#define sys_port_trace_k_fifo_peek_head_exit(fifo, ret)
 Trace FIFO Queue peek head exit.
 
#define sys_port_trace_k_fifo_peek_tail_enter(fifo)
 Trace FIFO Queue peek tail entry.
 
#define sys_port_trace_k_fifo_peek_tail_exit(fifo, ret)
 Trace FIFO Queue peek tail exit.
 
#define sys_port_trace_k_lifo_init_enter(lifo)
 Trace initialization of LIFO Queue entry.
 
#define sys_port_trace_k_lifo_init_exit(lifo)
 Trace initialization of LIFO Queue exit.
 
#define sys_port_trace_k_lifo_put_enter(lifo, data)
 Trace LIFO Queue put entry.
 
#define sys_port_trace_k_lifo_put_exit(lifo, data)
 Trace LIFO Queue put exit.
 
#define sys_port_trace_k_lifo_alloc_put_enter(lifo, data)
 Trace LIFO Queue alloc put entry.
 
#define sys_port_trace_k_lifo_alloc_put_exit(lifo, data, ret)
 Trace LIFO Queue alloc put exit.
 
#define sys_port_trace_k_lifo_get_enter(lifo, timeout)
 Trace LIFO Queue get entry.
 
#define sys_port_trace_k_lifo_get_exit(lifo, timeout, ret)
 Trace LIFO Queue get exit.
 
#define sys_port_trace_k_stack_init(stack)
 Trace initialization of Stack.
 
#define sys_port_trace_k_stack_alloc_init_enter(stack)
 Trace Stack alloc init attempt entry.
 
#define sys_port_trace_k_stack_alloc_init_exit(stack, ret)
 Trace Stack alloc init outcome.
 
#define sys_port_trace_k_stack_cleanup_enter(stack)
 Trace Stack cleanup attempt entry.
 
#define sys_port_trace_k_stack_cleanup_exit(stack, ret)
 Trace Stack cleanup outcome.
 
#define sys_port_trace_k_stack_push_enter(stack)
 Trace Stack push attempt entry.
 
#define sys_port_trace_k_stack_push_exit(stack, ret)
 Trace Stack push attempt outcome.
 
#define sys_port_trace_k_stack_pop_enter(stack, timeout)
 Trace Stack pop attempt entry.
 
#define sys_port_trace_k_stack_pop_blocking(stack, timeout)
 Trace Stack pop attempt blocking.
 
#define sys_port_trace_k_stack_pop_exit(stack, timeout, ret)
 Trace Stack pop attempt outcome.
 
#define sys_port_trace_k_msgq_init(msgq)
 Trace initialization of Message Queue.
 
#define sys_port_trace_k_msgq_alloc_init_enter(msgq)
 Trace Message Queue alloc init attempt entry.
 
#define sys_port_trace_k_msgq_alloc_init_exit(msgq, ret)
 Trace Message Queue alloc init attempt outcome.
 
#define sys_port_trace_k_msgq_cleanup_enter(msgq)
 Trace Message Queue cleanup attempt entry.
 
#define sys_port_trace_k_msgq_cleanup_exit(msgq, ret)
 Trace Message Queue cleanup attempt outcome.
 
#define sys_port_trace_k_msgq_put_enter(msgq, timeout)
 Trace Message Queue put attempt entry.
 
#define sys_port_trace_k_msgq_put_blocking(msgq, timeout)
 Trace Message Queue put attempt blocking.
 
#define sys_port_trace_k_msgq_put_exit(msgq, timeout, ret)
 Trace Message Queue put attempt outcome.
 
#define sys_port_trace_k_msgq_get_enter(msgq, timeout)
 Trace Message Queue get attempt entry.
 
#define sys_port_trace_k_msgq_get_blocking(msgq, timeout)
 Trace Message Queue get attempt blockings.
 
#define sys_port_trace_k_msgq_get_exit(msgq, timeout, ret)
 Trace Message Queue get attempt outcome.
 
#define sys_port_trace_k_msgq_peek(msgq, ret)
 Trace Message Queue peek.
 
#define sys_port_trace_k_msgq_purge(msgq)
 Trace Message Queue purge.
 
#define sys_port_trace_k_mbox_init(mbox)
 Trace initialization of Mailbox.
 
#define sys_port_trace_k_mbox_message_put_enter(mbox, timeout)
 Trace Mailbox message put attempt entry.
 
#define sys_port_trace_k_mbox_message_put_blocking(mbox, timeout)
 Trace Mailbox message put attempt blocking.
 
#define sys_port_trace_k_mbox_message_put_exit(mbox, timeout, ret)
 Trace Mailbox message put attempt outcome.
 
#define sys_port_trace_k_mbox_put_enter(mbox, timeout)
 Trace Mailbox put attempt entry.
 
#define sys_port_trace_k_mbox_put_exit(mbox, timeout, ret)
 Trace Mailbox put attempt blocking.
 
#define sys_port_trace_k_mbox_async_put_enter(mbox, sem)
 Trace Mailbox async put entry.
 
#define sys_port_trace_k_mbox_async_put_exit(mbox, sem)
 Trace Mailbox async put exit.
 
#define sys_port_trace_k_mbox_get_enter(mbox, timeout)
 Trace Mailbox get attempt entry.
 
#define sys_port_trace_k_mbox_get_blocking(mbox, timeout)
 Trace Mailbox get attempt blocking.
 
#define sys_port_trace_k_mbox_get_exit(mbox, timeout, ret)
 Trace Mailbox get attempt outcome.
 
#define sys_port_trace_k_mbox_data_get(rx_msg)
 Trace Mailbox data get.
 
#define sys_port_trace_k_pipe_init(pipe)
 Trace initialization of Pipe.
 
#define sys_port_trace_k_pipe_cleanup_enter(pipe)
 Trace Pipe cleanup entry.
 
#define sys_port_trace_k_pipe_cleanup_exit(pipe, ret)
 Trace Pipe cleanup exit.
 
#define sys_port_trace_k_pipe_alloc_init_enter(pipe)
 Trace Pipe alloc init entry.
 
#define sys_port_trace_k_pipe_alloc_init_exit(pipe, ret)
 Trace Pipe alloc init exit.
 
#define sys_port_trace_k_pipe_flush_enter(pipe)
 Trace Pipe flush entry.
 
#define sys_port_trace_k_pipe_flush_exit(pipe)
 Trace Pipe flush exit.
 
#define sys_port_trace_k_pipe_buffer_flush_enter(pipe)
 Trace Pipe buffer flush entry.
 
#define sys_port_trace_k_pipe_buffer_flush_exit(pipe)
 Trace Pipe buffer flush exit.
 
#define sys_port_trace_k_pipe_put_enter(pipe, timeout)
 Trace Pipe put attempt entry.
 
#define sys_port_trace_k_pipe_put_blocking(pipe, timeout)
 Trace Pipe put attempt blocking.
 
#define sys_port_trace_k_pipe_put_exit(pipe, timeout, ret)
 Trace Pipe put attempt outcome.
 
#define sys_port_trace_k_pipe_get_enter(pipe, timeout)
 Trace Pipe get attempt entry.
 
#define sys_port_trace_k_pipe_get_blocking(pipe, timeout)
 Trace Pipe get attempt blocking.
 
#define sys_port_trace_k_pipe_get_exit(pipe, timeout, ret)
 Trace Pipe get attempt outcome.
 
#define sys_port_trace_k_heap_init(h)
 Trace initialization of Heap.
 
#define sys_port_trace_k_heap_aligned_alloc_enter(h, timeout)
 Trace Heap aligned alloc attempt entry.
 
#define sys_port_trace_k_heap_aligned_alloc_blocking(h, timeout)
 Trace Heap align alloc attempt blocking.
 
#define sys_port_trace_k_heap_aligned_alloc_exit(h, timeout, ret)
 Trace Heap align alloc attempt outcome.
 
#define sys_port_trace_k_heap_alloc_enter(h, timeout)
 Trace Heap alloc enter.
 
#define sys_port_trace_k_heap_alloc_exit(h, timeout, ret)
 Trace Heap alloc exit.
 
#define sys_port_trace_k_heap_free(h)
 Trace Heap free.
 
#define sys_port_trace_k_heap_realloc_enter(h, ptr, bytes, timeout)
 Trace Heap realloc enter.
 
#define sys_port_trace_k_heap_realloc_exit(h, ptr, bytes, timeout, ret)
 Trace Heap realloc exit.
 
#define sys_port_trace_k_heap_sys_k_aligned_alloc_enter(heap)
 Trace System Heap aligned alloc enter.
 
#define sys_port_trace_k_heap_sys_k_aligned_alloc_exit(heap, ret)
 Trace System Heap aligned alloc exit.
 
#define sys_port_trace_k_heap_sys_k_malloc_enter(heap)
 Trace System Heap aligned alloc enter.
 
#define sys_port_trace_k_heap_sys_k_malloc_exit(heap, ret)
 Trace System Heap aligned alloc exit.
 
#define sys_port_trace_k_heap_sys_k_free_enter(heap, heap_ref)
 Trace System Heap free entry.
 
#define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref)
 Trace System Heap free exit.
 
#define sys_port_trace_k_heap_sys_k_calloc_enter(heap)
 Trace System heap calloc enter.
 
#define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret)
 Trace System heap calloc exit.
 
#define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr)
 Trace System heap realloc enter.
 
#define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret)
 Trace System heap realloc exit.
 
#define sys_port_trace_k_mem_slab_init(slab, rc)
 Trace initialization of Memory Slab.
 
#define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout)
 Trace Memory Slab alloc attempt entry.
 
#define sys_port_trace_k_mem_slab_alloc_blocking(slab, timeout)
 Trace Memory Slab alloc attempt blocking.
 
#define sys_port_trace_k_mem_slab_alloc_exit(slab, timeout, ret)
 Trace Memory Slab alloc attempt outcome.
 
#define sys_port_trace_k_mem_slab_free_enter(slab)
 Trace Memory Slab free entry.
 
#define sys_port_trace_k_mem_slab_free_exit(slab)
 Trace Memory Slab free exit.
 
#define sys_port_trace_k_timer_init(timer)
 Trace initialization of Timer.
 
#define sys_port_trace_k_timer_start(timer, duration, period)
 Trace Timer start.
 
#define sys_port_trace_k_timer_stop(timer)
 Trace Timer stop.
 
#define sys_port_trace_k_timer_status_sync_enter(timer)
 Trace Timer status sync entry.
 
#define sys_port_trace_k_timer_status_sync_blocking(timer, timeout)
 Trace Timer Status sync blocking.
 
#define sys_port_trace_k_timer_status_sync_exit(timer, result)
 Trace Time Status sync outcome.
 
#define sys_port_trace_k_event_init(event)
 Trace initialisation of an Event.
 
#define sys_port_trace_k_event_post_enter(event, events, events_mask)
 Trace posting of an Event call entry.
 
#define sys_port_trace_k_event_post_exit(event, events, events_mask)
 Trace posting of an Event call exit.
 
#define sys_port_trace_k_event_wait_enter(event, events, options, timeout)
 Trace waiting of an Event call entry.
 
#define sys_port_trace_k_event_wait_blocking(event, events, options, timeout)
 Trace waiting of an Event call exit.
 
#define sys_port_trace_k_event_wait_exit(event, events, ret)
 Trace waiting of an Event call exit.
 
#define sys_port_trace_pm_system_suspend_enter(ticks)
 Trace system suspend call entry.
 
#define sys_port_trace_pm_system_suspend_exit(ticks, state)
 Trace system suspend call exit.
 
#define sys_port_trace_pm_device_runtime_get_enter(dev)
 Trace getting a device call entry.
 
#define sys_port_trace_pm_device_runtime_get_exit(dev, ret)
 Trace getting a device call exit.
 
#define sys_port_trace_pm_device_runtime_put_enter(dev)
 Trace putting a device call entry.
 
#define sys_port_trace_pm_device_runtime_put_exit(dev, ret)
 Trace putting a device call exit.
 
#define sys_port_trace_pm_device_runtime_put_async_enter(dev, delay)
 Trace putting a device (asynchronously) call entry.
 
#define sys_port_trace_pm_device_runtime_put_async_exit(dev, delay, ret)
 Trace putting a device (asynchronously) call exit.
 
#define sys_port_trace_pm_device_runtime_enable_enter(dev)
 Trace enabling device runtime PM call entry.
 
#define sys_port_trace_pm_device_runtime_enable_exit(dev, ret)
 Trace enabling device runtime PM call exit.
 
#define sys_port_trace_pm_device_runtime_disable_enter(dev)
 Trace disabling device runtime PM call entry.
 
#define sys_port_trace_pm_device_runtime_disable_exit(dev, ret)
 Trace disabling device runtime PM call exit.
 
#define sys_port_trace_net_recv_data_enter(iface, pkt)
 Trace network data receive.
 
#define sys_port_trace_net_recv_data_exit(iface, pkt, ret)
 Trace network data receive attempt.
 
#define sys_port_trace_net_send_data_enter(pkt)
 Trace network data send.
 
#define sys_port_trace_net_send_data_exit(pkt, ret)
 Trace network data send attempt.
 
#define sys_port_trace_net_rx_time(pkt, end_time)
 Trace network data receive time.
 
#define sys_port_trace_net_tx_time(pkt, end_time)
 Trace network data sent time.
 
#define sys_port_trace_socket_init(socket, family, type, proto)
 Trace init of network sockets.
 
#define sys_port_trace_socket_close_enter(socket)
 Trace close of network sockets.
 
#define sys_port_trace_socket_close_exit(socket, ret)
 Trace network socket close attempt.
 
#define sys_port_trace_socket_shutdown_enter(socket, how)
 Trace shutdown of network sockets.
 
#define sys_port_trace_socket_shutdown_exit(socket, ret)
 Trace network socket shutdown attempt.
 
#define sys_port_trace_socket_bind_enter(socket, addr, addrlen)
 Trace bind of network sockets.
 
#define sys_port_trace_socket_bind_exit(socket, ret)
 Trace network socket bind attempt.
 
#define sys_port_trace_socket_connect_enter(socket, addr, addrlen)
 Trace connect of network sockets.
 
#define sys_port_trace_socket_connect_exit(socket, ret)
 Trace network socket connect attempt.
 
#define sys_port_trace_socket_listen_enter(socket, backlog)
 Trace listen of network sockets.
 
#define sys_port_trace_socket_listen_exit(socket, ret)
 Trace network socket listen attempt.
 
#define sys_port_trace_socket_accept_enter(socket)
 Trace accept of network sockets.
 
#define sys_port_trace_socket_accept_exit(socket, addr, addrlen, ret)
 Trace network socket accept attempt.
 
#define sys_port_trace_socket_sendto_enter(socket, len, flags, dest_addr, addrlen)
 Trace sendto of network sockets.
 
#define sys_port_trace_socket_sendto_exit(socket, ret)
 Trace network socket sendto attempt.
 
#define sys_port_trace_socket_sendmsg_enter(socket, msg, flags)
 Trace sendmsg of network sockets.
 
#define sys_port_trace_socket_sendmsg_exit(socket, ret)
 Trace network socket sendmsg attempt.
 
#define sys_port_trace_socket_recvfrom_enter(socket, max_len, flags, addr, addrlen)
 Trace recvfrom of network sockets.
 
#define sys_port_trace_socket_recvfrom_exit(socket, src_addr, addrlen, ret)
 Trace network socket recvfrom attempt.
 
#define sys_port_trace_socket_recvmsg_enter(socket, msg, flags)
 Trace recvmsg of network sockets.
 
#define sys_port_trace_socket_recvmsg_exit(socket, msg, ret)
 Trace network socket recvmsg attempt.
 
#define sys_port_trace_socket_fcntl_enter(socket, cmd, flags)
 Trace fcntl of network sockets.
 
#define sys_port_trace_socket_fcntl_exit(socket, ret)
 Trace network socket fcntl attempt.
 
#define sys_port_trace_socket_ioctl_enter(socket, req)
 Trace ioctl of network sockets.
 
#define sys_port_trace_socket_ioctl_exit(socket, ret)
 Trace network socket ioctl attempt.
 
#define sys_port_trace_socket_poll_enter(fds, nfds, timeout)
 Trace polling of network sockets.
 
#define sys_port_trace_socket_poll_exit(fds, nfds, ret)
 Trace network socket poll attempt.
 
#define sys_port_trace_socket_getsockopt_enter(socket, level, optname)
 Trace getsockopt of network sockets.
 
#define sys_port_trace_socket_getsockopt_exit(socket, level, optname, optval, optlen, ret)
 Trace network socket getsockopt attempt.
 
#define sys_port_trace_socket_setsockopt_enter(socket, level, optname, optval, optlen)
 Trace setsockopt of network sockets.
 
#define sys_port_trace_socket_setsockopt_exit(socket, ret)
 Trace network socket setsockopt attempt.
 
#define sys_port_trace_socket_getpeername_enter(socket)
 Trace getpeername of network sockets.
 
#define sys_port_trace_socket_getpeername_exit(socket, addr, addrlen, ret)
 Trace network socket getpeername attempt.
 
#define sys_port_trace_socket_getsockname_enter(socket)
 Trace getsockname of network sockets.
 
#define sys_port_trace_socket_getsockname_exit(socket, addr, addrlen, ret)
 Trace network socket getsockname attempt.
 
#define sys_port_trace_socket_socketpair_enter(family, type, proto, sv)
 Trace socketpair enter call.
 
#define sys_port_trace_socket_socketpair_exit(socket_A, socket_B, ret)
 Trace network socketpair open attempt.
 
#define sys_trace_named_event(name, arg0, arg1)
 
#define sys_trace_sys_init_enter(entry, level)
 Called when entering an init function.
 
#define sys_trace_sys_init_exit(entry, level, result)
 Called when exiting an init function.
 

Functions

void sys_trace_isr_enter (void)
 Called when entering an ISR.
 
void sys_trace_isr_exit (void)
 Called when exiting an ISR.
 
void sys_trace_isr_exit_to_scheduler (void)
 Called when exiting an ISR and switching to scheduler.
 
void sys_trace_idle (void)
 Called when the cpu enters the idle state.