[OpenWrt-Devel] [PATCH] kernel: add missing symbol
Daniel Golle
daniel at makrotopia.org
Wed Mar 16 09:03:44 EDT 2016
Add missing symbol needed when building kernel with profiling enabled
for ARM or ARM64 targets.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
config/Config-kernel.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 8ea11ed..4c191f0 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -42,9 +42,15 @@ config KERNEL_DEBUG_FS
write to these files. Many common debugging facilities, such as
ftrace, require the existence of debugfs.
+config KERNEL_ARM_PMU
+ bool
+ default n
+ depends on (arm || arm64)
+
config KERNEL_PERF_EVENTS
bool
default n
+ select KERNEL_ARM_PMU if (arm || arm64)
config KERNEL_PROFILING
bool "Compile the kernel with profiling enabled"
--
2.7.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list