Home
last modified time | relevance | path

Searched full:tracing (Results 1 – 25 of 136) sorted by relevance

123456

/Zephyr-latest/subsys/tracing/
DKconfig8 config TRACING config
9 bool "Tracing Support"
15 Enable system tracing. This requires a backend such as SEGGER
18 if TRACING
24 tracing infrastructure.
27 prompt "Tracing Format"
31 bool "No tracing format selected"
33 None of the available tracing formats is selected.
51 bool "Tracing via Common Trace Format support"
54 Enable tracing to a Common Trace Format stream.
[all …]
/Zephyr-latest/samples/subsys/tracing/
DREADME.rst1 .. zephyr:code-sample:: tracing
2 :name: Tracing
4 Send tracing formatted packet to the host with supported backends.
6 This application can be used to demonstrate the tracing feature. The tracing
7 formatted packet will be sent to the host with the currently supported tracing
8 backend under tracing generic infrastructure.
13 Depends of the boards which you are using, choose one of .conf files for use tracing subsys.
15 Usage for UART Tracing Backend
18 Build a UART-tracing image with:
21 :zephyr-app: samples/subsys/tracing
[all …]
Dsample.yaml3 - tracing
12 sample.tracing.user:
24 sample.tracing.format.sysview:
31 extra_args: SNIPPET="rtt-tracing"
32 sample.tracing.osawareness.openocd:
39 sample.tracing.transport.uart:
46 filter: dt_chosen_enabled("zephyr,tracing-uart")
47 sample.tracing.transport.usb:
51 sample.tracing.transport.uart.ctf:
58 filter: dt_chosen_enabled("zephyr,tracing-uart")
[all …]
/Zephyr-latest/subsys/tracing/include/
Dtracing_core.h22 * @brief Check tracing enabled or not.
24 * @return True if tracing enabled; False if tracing disabled.
29 * @brief Give tracing buffer to backend.
31 * @param data Tracing buffer address.
32 * @param length Tracing buffer length.
37 * @brief Handle tracing packet drop.
42 * @brief Handle tracing command.
44 * @param buf Tracing command buffer address.
45 * @param length Tracing command buffer length.
50 * @brief Trigger tracing thread to run after every first put.
[all …]
Dtracing_format_common.h12 #include <zephyr/tracing/tracing_format.h>
19 * @brief A structure to represent tracing format context.
27 * @brief Put string format tracing message to tracing buffer.
32 * @return true if put tracing message to tracing buffer successfully.
37 * @brief Put raw data format tracing message to tracing buffer.
42 * @return true if put tracing message to tracing buffer successfully.
47 * @brief Put tracing_data format message to tracing buffer.
52 * @return true if put tracing message to tracing buffer successfully.
Dtracing_buffer.h18 * @brief Initialize tracing buffer.
23 * @brief Tracing buffer is empty or not.
30 * @brief Get free space in the tracing buffer.
32 * @return Tracing buffer free space (in bytes).
37 * @brief Get tracing buffer capacity (max size).
39 * @return Tracing buffer capacity (in bytes).
44 * @brief Try to allocate buffer in the tracing buffer.
47 * within the tracing buffer.
61 * @retval -EINVAL Given @a size exceeds free space of tracing buffer.
66 * @brief Write data to tracing buffer.
[all …]
Dtracing_backend.h19 * @brief Tracing backend
20 * @defgroup Tracing_backend Tracing backend
28 * @brief Tracing backend API.
37 * @brief Tracing backend structure.
48 * @param _api Tracing backend API.
57 * @brief Initialize tracing backend.
70 * @brief Output tracing packet with tracing backend.
86 * @brief Get tracing backend based on the name of
87 * tracing backend in tracing backend section.
89 * @param name Name of wanted tracing backend.
/Zephyr-latest/doc/connectivity/networking/
Dnetwork_tracing.rst3 Network Tracing
10 User can enable network core stack and socket API calls tracing.
13 stack tracing. This option is enabled by default if tracing and networking
21 BSD socket call usage in the system. It is enabled if tracing and BSD socket
25 See the :ref:`tracing documentation <tracing>` for how to use the tracing
/Zephyr-latest/snippets/rtt-tracing/
DREADME.rst1 .. _snippet-rtt-tracing:
3 SystemView RTT Tracing Snippet (rtt-tracing)
8 west build -S rtt-tracing [...]
13 This snippet enables SEGGER SystemView RTT support with the tracing subsystem.
Dsnippet.yml4 name: rtt-tracing
6 EXTRA_CONF_FILE: rtt-tracing.conf
/Zephyr-latest/include/zephyr/tracing/
Dtracing_format.h17 * @brief Tracing format APIs
18 * @defgroup subsys_tracing_format_apis Tracing format APIs
23 /** @brief A structure to represent tracing data format. */
41 * @brief Macro to format data to tracing data format.
49 * @brief Macro to trace a message in tracing data format.
62 * @brief Tracing a message in string format.
70 * @brief Tracing a message in raw data format.
78 * @brief Tracing a message in tracing data format.
Dtracing_macros.h28 * @brief Tracing utility macros
29 * @defgroup subsys_tracing_macros Tracing utility macros
37 * Helper macros used by the extended tracing system
72 * objects should be traced or not depending on the tracing configuration.
202 * arbitrary custom APIs we know nothing about. Therefore we demand that tracing
205 * This contrasts with object tracing/tracking as all traceable objects are well
219 * @param type Tracing event type/object
220 * @param trace_call Tracing call
226 * @brief Tracing macro for function calls which are not directly
229 * @param type Type of tracing event or object type
[all …]
Dtracing.h23 * @brief Tracing
25 * The tracing subsystem provides hooks that permits you to collect data from
29 * @defgroup subsys_tracing Tracing
35 * @brief Tracing APIs
36 * @defgroup subsys_tracing_apis Tracing APIs
41 * @brief Thread Tracing APIs
42 * @defgroup subsys_tracing_apis_thread Thread Tracing APIs
310 * @brief Work Tracing APIs
311 * @defgroup subsys_tracing_apis_work Work Tracing APIs
407 * @brief Work Queue Tracing APIs
[all …]
/Zephyr-latest/doc/services/tracing/
Dindex.rst3 Tracing chapter
9 The tracing feature provides hooks that permits you to collect data from
24 overriding the macros declared in :zephyr_file:`include/zephyr/tracing/tracing.h`.
39 to enable additional tracing functions (or provide their own backend), zephyr
40 also provides one generic named tracing function for convenience purposes,
41 as well as to demonstrate how tracing frameworks could be extended.
45 arbitrary 4 byte arguments. Tracing backends may truncate the provided event
109 Tracing Tools
112 Zephyr includes support for several popular tracing tools, presented below in alphabetical order.
119 streaming over various interfaces and also snapshot tracing, where the events are kept in a RAM
[all …]
/Zephyr-latest/tests/subsys/tracing/tracing_api/src/
Dmain.c12 #include <zephyr/tracing/tracing_format.h>
14 #include "../../../../subsys/tracing/include/tracing_backend.h"
18 * @brief Tests for tracing
19 * @defgroup tracing_api_tests Tracing
106 * @brief Test tracing APIS
108 * @details For asynchronous mode, self-designed tracing uart backend
109 * firstly, and called tracing APIs one by one directly, check if the
193 * @brief Test tracing APIS
195 * @details For synchronize mode, self-designed tracing uart backend
212 * @brief Test tracing APIS
[all …]
/Zephyr-latest/soc/microchip/mec/mec172x/
DKconfig41 bool "Debug support via Serial wire debug with tracing enabled"
43 JTAG port is enabled in SWD mode. Refer to tracing options
52 Select tracing mode for debug interface
57 JTAG port in SWD mode and ETM as tracing method.
63 JTAG port in SWD mode and SWV as tracing method.
/Zephyr-latest/soc/microchip/mec/mec15xx/
DKconfig65 bool "Debug support via Serial wire debug with tracing enabled"
67 JTAG port is enabled in SWD mode. Refer to tracing options
77 Select tracing mode for debug interface
82 JTAG port in SWD mode and SWV as tracing method.
88 JTAG port in SWD mode and SWV as tracing method.
/Zephyr-latest/tests/subsys/tracing/tracing_api/
Dtestcase.yaml6 tracing.transport.uart.async.test:
8 tracing.transport.uart.sync.test:
/Zephyr-latest/scripts/native_simulator/common/src/include/
Dnsi_tracing.h17 * Native simulator tracing API:
18 * Print a message/warning/error to the tracing backend
32 * @brief Is the tracing backend connected to a ptty/terminal or not
/Zephyr-latest/soc/gaisler/leon3/
Didle.c8 #include <zephyr/tracing/tracing.h>
/Zephyr-latest/arch/riscv/core/
Dcpu_idle.c8 #include <zephyr/tracing/tracing.h>
/Zephyr-latest/arch/xtensa/core/
Dcpu_idle.c7 #include <zephyr/tracing/tracing.h>
/Zephyr-latest/scripts/tracing/
Dtrace_capture_uart.py7 Script to capture tracing data with UART backend.
24 required=False, help="tracing data output file")
40 #enable device tracing
/Zephyr-latest/arch/mips/core/
Dcpu_idle.c9 #include <zephyr/tracing/tracing.h>
/Zephyr-latest/soc/nordic/common/vpr/
Dsoc_idle.c8 #include <zephyr/tracing/tracing.h>

123456