tracing: fix conflict with RTT locking

Make custom RTT locking configurable and select it where it is needed.
When using RTT for tracing we want to use the default locking.

Update both segger and tracerecorder modules to support that.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-05-20 10:27:13 -04:00 committed by Kumar Gala
commit 108129cf7d
5 changed files with 10 additions and 2 deletions

View file

@ -45,6 +45,7 @@ config SEGGER_SYSTEMVIEW
select RTT_CONSOLE
select USE_SEGGER_RTT
select THREAD_MONITOR
select SEGGER_RTT_CUSTOM_LOCKING
config TRACING_CTF
bool "Tracing via Common Trace Format support"