Skip to contentSkip to conversation

linux-xenomai: Add tracing support to arm64

PATCH Applied Florian Bezdeka 2 participants 2 messages Aug 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-xenomai: Add tracing support to arm64

The tracing support was disabled on arm64 but enabled on all other targets we support. Taking the trace configuration from armhf to be able to trace on arm64 as well.

---
 recipes-kernel/linux/files/arm64_defconfig | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-kernel/linux/files/arm64_defconfig +4 -1
index a010c30..9bacb82 100644
@@ -6000,7 +6000,10 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
 CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
 CONFIG_HAVE_C_RECORDMCOUNT=y
 CONFIG_TRACING_SUPPORT=y
-# CONFIG_FTRACE is not set
+CONFIG_EVENT_TRACING=y
+CONFIG_CONTEXT_SWITCH_TRACER=y
+CONFIG_TRACING=y
+CONFIG_FTRACE=y
 # CONFIG_DMA_API_DEBUG is not set
 
 #
Signature · 1 line
2.30.2
Applied
#1 lore raw
Quoted 16 lines · Florian Bezdeka

The tracing support was disabled on arm64 but enabled on all other targets we support. Taking the trace configuration from armhf to be able to trace on arm64 as well.

---
 recipes-kernel/linux/files/arm64_defconfig | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-kernel/linux/files/arm64_defconfig +0 -0
index a010c30..9bacb82 100644
@@ -6000,7 +6000,10 @@ CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
 CONFIG_HAVE_SYSCALL_TRACEPOINTS=y

recipes-kernel/linux/files/arm64_defconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y · line 6009

Quoted 10 lines
recipes-kernel/linux/files/arm64_defconfig +4 -1
 CONFIG_HAVE_C_RECORDMCOUNT=y
 CONFIG_TRACING_SUPPORT=y
-# CONFIG_FTRACE is not set
+CONFIG_EVENT_TRACING=y
+CONFIG_CONTEXT_SWITCH_TRACER=y
+CONFIG_TRACING=y
+CONFIG_FTRACE=y
 # CONFIG_DMA_API_DEBUG is not set
 
 #

Thanks, applied.

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux