From 8f1a55d88ba555ba03b71bd8cb30e241343c4993 Mon Sep 17 00:00:00 2001 From: Janusz Dziedzic <janusz.dziedzic@iopsys.eu> Date: Fri, 18 Sep 2020 14:48:23 +0200 Subject: [PATCH] iopsys-ramips: enable kernel tracing Enable kernel tracing. Example of usage: root@iopsys:/tmp# trace-cmd record -e cfg80211 -e mac80211 Hit Ctrl^C to stop recording CCPU0 data recorded at offset=0xed000 36864 bytes in size CPU1 data recorded at offset=0xf6000 0 bytes in size CPU2 data recorded at offset=0xf6000 0 bytes in size CPU3 data recorded at offset=0xf6000 32768 bytes in size root@iopsys:/tmp# trace-cmd report Signed-off-by: Janusz Dziedzic <janusz.dziedzic@iopsys.eu> --- iopsys-ramips/config/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iopsys-ramips/config/config b/iopsys-ramips/config/config index ce831e7dc..a7b6cdb50 100644 --- a/iopsys-ramips/config/config +++ b/iopsys-ramips/config/config @@ -10,3 +10,9 @@ CONFIG_PACKAGE_uledd=y CONFIG_PACKAGE_kmod-ebtables=y CONFIG_PACKAGE_ebtables=y CONFIG_PACKAGE_ebtables-utils=y +CONFIG_PACKAGE_trace-cmd=y +CONFIG_KERNEL_FTRACE=y +CONFIG_KERNEL_FUNCTION_TRACER=y +CONFIG_KERNEL_FUNCTION_GRAPH_TRACER=y +CONFIG_KERNEL_DYNAMIC_FTRACE=y +CONFIG_KERNEL_FUNCTION_PROFILER=y -- GitLab