From 933e89183d7b665648bb4602beda2133d62c4c93 Mon Sep 17 00:00:00 2001
From: Tom Zanussi <tom.zanussi@intel.com>
Date: Mon, 10 Sep 2012 12:02:27 -0500
Subject: [PATCH] meta: add kprobes feature

Add config options to turn KPROBES on, along with KPROBE_EVENT which
provides an trace events interface that can be used by other tools
such as perf.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 features/kprobes/kprobes.cfg | 2 ++
 features/kprobes/kprobes.scc | 4 ++++
 2 files changed, 6 insertions(+)
 create mode 100644 features/kprobes/kprobes.cfg
 create mode 100644 features/kprobes/kprobes.scc

diff --git a/features/kprobes/kprobes.cfg b/features/kprobes/kprobes.cfg
new file mode 100644
index 000000000..529ac2f27
--- /dev/null
+++ b/features/kprobes/kprobes.cfg
@@ -0,0 +1,2 @@
+CONFIG_KPROBES=y
+CONFIG_KPROBE_EVENT=y
diff --git a/features/kprobes/kprobes.scc b/features/kprobes/kprobes.scc
new file mode 100644
index 000000000..2641cc62f
--- /dev/null
+++ b/features/kprobes/kprobes.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable options required for kprobes support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware kprobes.cfg
-- 
GitLab