[KERNEL][PATCH] meta: add utrace feature for linux-yocto


tom.zanussi@...
 

From: Tom Zanussi <tom.zanussi@...>

Add a 'utrace feature' that turns on the kernel options required
for utrace, used mainly to enable userspace tracing for systemtap.

Signed-off-by: Tom Zanussi <tom.zanussi@...>
---
meta/cfg/kernel-cache/features/utrace/utrace.cfg | 1 +
meta/cfg/kernel-cache/features/utrace/utrace.scc | 2 ++
meta/cfg/kernel-cache/ktypes/standard/standard.scc | 3 +++
3 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 meta/cfg/kernel-cache/features/utrace/utrace.cfg
create mode 100644 meta/cfg/kernel-cache/features/utrace/utrace.scc

diff --git a/meta/cfg/kernel-cache/features/utrace/utrace.cfg b/meta/cfg/kernel-cache/features/utrace/utrace.cfg
new file mode 100644
index 0000000..bf85aa2
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/utrace/utrace.cfg
@@ -0,0 +1 @@
+CONFIG_UTRACE=y
diff --git a/meta/cfg/kernel-cache/features/utrace/utrace.scc b/meta/cfg/kernel-cache/features/utrace/utrace.scc
new file mode 100644
index 0000000..0cab7d9
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/utrace/utrace.scc
@@ -0,0 +1,2 @@
+kconf non-hardware utrace.cfg
+
diff --git a/meta/cfg/kernel-cache/ktypes/standard/standard.scc b/meta/cfg/kernel-cache/ktypes/standard/standard.scc
index 290c50a..ac80038 100644
--- a/meta/cfg/kernel-cache/ktypes/standard/standard.scc
+++ b/meta/cfg/kernel-cache/ktypes/standard/standard.scc
@@ -17,6 +17,9 @@ tag lttng
include features/systemtap/systemtap.scc
# tag systemtap

+include features/utrace/utrace.scc
+# tag utrace
+
include arch/arm/arm.scc
tag arm

--
1.7.0.4

Join yocto@lists.yoctoproject.org to automatically receive all group messages.