From 5ece12c1cb846d3c55a569a65173f7a94ea7e3d0 Mon Sep 17 00:00:00 2001 From: Filip Kokosinski Date: Thu, 22 May 2025 13:28:30 +0200 Subject: [PATCH] subsys/tracing: add names to Kconfig choice symbols This commit adds names to Kconfig choice sysmbols. This allows for their selection from Kconfig, e.g.: choice TRACING_FORMAT_CHOICE default TRACING_TEST if CONFIG_FOO default TRACING_CTF if CONFIG_BAR endchoice Signed-off-by: Filip Kokosinski --- subsys/tracing/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subsys/tracing/Kconfig b/subsys/tracing/Kconfig index 30be8d5955bb..cfb03e0bea6f 100644 --- a/subsys/tracing/Kconfig +++ b/subsys/tracing/Kconfig @@ -23,7 +23,7 @@ config TRACING_CORE Automatically selected by formats that require the core tracing infrastructure. -choice +choice TRACING_FORMAT_CHOICE prompt "Tracing Format" default TRACING_NONE @@ -76,7 +76,7 @@ config TRACING_CTF_TIMESTAMP Timestamp prefix will be added to the beginning of CTF event internally. -choice +choice TRACING_METHOD_CHOICE prompt "Tracing Method" default TRACING_ASYNC @@ -129,7 +129,7 @@ config TRACING_PACKET_MAX_SIZE help Max size of one tracing packet. -choice +choice TRACING_BACKEND_CHOICE prompt "Tracing Backend" default TRACING_BACKEND_UART