Tracing
|
Type
|
Level
|
UID
|
STATUS
|
TYPE
|
COMPONENT
|
REFS
|
Title
|
Statement
|
USER_STORY
|
|---|---|---|---|---|---|---|---|---|---|
|
TEXT
|
|
SPDX-License-Identifier: Apache-2.0 |
|||||||
|
REQUIREMENT
|
1 |
|
|
|
|
Parents:
|
|
Zephyr shall provide an interface to initialize a trace. |
|
|
REQUIREMENT
|
2 |
|
|
|
|
Parents:
|
|
Zephyr shall provide an interface to trigger a trace. |
|
|
REQUIREMENT
|
3 |
|
|
|
|
Parents:
|
|
Zephyr shall provide an interface to dump results from a trace. |
|
|
REQUIREMENT
|
4 |
|
|
|
|
Parents:
|
|
Zephyr shall provide an interface to remove trace data. |
|
|
REQUIREMENT
|
5 |
|
|
|
|
Parents:
|
|
Zephyr shall provide an interface to identify the objects being traced. |
As a Zephyr OS user, I want to be able to give each object which I create a name / label in order to be able to identify them in a trace log. |
|
REQUIREMENT
|
6 |
|
|
|
|
Parents:
|
|
Zephyr shall prevent the tracing functionality from interfering with normal operations. |
As a Zephyr OS user, I want that the trace functionality do not interfere or slow down the operation system functionality. |
|
REQUIREMENT
|
7 |
|
|
|
|
Parents:
|
|
The Zephyr RTOS shall support tracing of kernel events in each of the following categories: thread lifecycle and scheduling including context switches, interrupt entry and exit, system call entry and exit, operations on kernel synchronization and data passing objects, work queue operations, memory allocator operations, timers, and polling. |
|
|
REQUIREMENT
|
8 |
|
|
|
|
Parents:
|
|
The Zephyr RTOS shall allow tracing to be enabled or disabled through configuration, at build time. |
|
|
REQUIREMENT
|
9 |
|
|
|
|
Parents:
|
|
The Zephyr RTOS shall emit trace data through a tracing backend selected at build time from the available backends. |
|
|
REQUIREMENT
|
10 |
|
|
|
|
Parents:
|
|
The Zephyr RTOS shall support emitting trace data synchronously and through a buffered mode. |
|
|
REQUIREMENT
|
11 |
|
|
|
|
Parents:
|
|
The Zephyr RTOS shall allow tracing to be enabled or disabled for each kernel event category individually through configuration, at build time. |
|