anchao commented on code in PR #8619: URL: https://github.com/apache/nuttx/pull/8619#discussion_r1115168243
########## Kconfig: ########## @@ -2005,6 +2005,90 @@ config FRAME_POINTER endmenu # Debug Options +menuconfig TRACE + bool "Enable tracepoints" + default n + depends on SCHED_INSTRUMENTATION_DUMP && DRIVERS_NOTE + ---help--- + If this option is enabled, tracepoints at critical code in + the kernel will be enabled. + +if TRACE + +config TRACE_BINFMT + bool "Enable tracepoints in binfmt" + default n + +config TRACE_BOARDS + bool "Enable tracepoints in boards" + default n + +config TRACE_CRYPTO + bool "Enable tracepoints in crypto" + default n + +config TRACE_DRIVERS + bool "Enable tracepoints in drivers" + default n + +config TRACE_INPUT + bool "Enable tracepoints in input" Review Comment: In addition, it is best that this feature can be dynamically configured in the runtime. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org