summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDragos Motrea <Dragos.Motrea@enea.com>2017-05-09 14:18:32 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-05-11 10:12:54 +0200
commit28da254d1c5ae012a6e064671aa14850c2a21a25 (patch)
tree3da854c00a9c815547bff724a2fae387643cd36c
parentd0ce2e1a6deb4ad9bb4107b61838297412644257 (diff)
downloadenea-kernel-cache-28da254d1c5ae012a6e064671aa14850c2a21a25.tar.gz
Added debug tools to Enea Linux 7
Signed-off-by: Dragos Motrea <Dragos.Motrea@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
-rw-r--r--features/debug/debug_kernel_y.cfg2
-rw-r--r--features/debug/debug_kernel_y.scc4
-rw-r--r--features/kgdb/kgdb_y.cfg9
-rw-r--r--features/kgdb/kgdb_y.scc4
-rw-r--r--features/latencytop/latencytop_y.cfg4
-rw-r--r--features/latencytop/latencytop_y.scc4
-rw-r--r--features/lttng/lttng_y.cfg20
-rw-r--r--features/lttng/lttng_y.scc4
-rw-r--r--features/oprofile/oprofile_y.cfg4
-rw-r--r--features/oprofile/oprofile_y.scc4
-rw-r--r--features/perf/perf_y.cfg2
-rw-r--r--features/perf/perf_y.scc4
-rw-r--r--features/systemtap/systemtap_y.cfg5
-rw-r--r--features/systemtap/systemtap_y.scc4
14 files changed, 74 insertions, 0 deletions
diff --git a/features/debug/debug_kernel_y.cfg b/features/debug/debug_kernel_y.cfg
new file mode 100644
index 0000000..96a7954
--- /dev/null
+++ b/features/debug/debug_kernel_y.cfg
@@ -0,0 +1,2 @@
1CONFIG_DEBUG_KERNEL=y
2CONFIG_DEBUG_INFO=y
diff --git a/features/debug/debug_kernel_y.scc b/features/debug/debug_kernel_y.scc
new file mode 100644
index 0000000..abee612
--- /dev/null
+++ b/features/debug/debug_kernel_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable options required for kernel debug support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware debug_kernel_y.cfg
diff --git a/features/kgdb/kgdb_y.cfg b/features/kgdb/kgdb_y.cfg
new file mode 100644
index 0000000..636ded5
--- /dev/null
+++ b/features/kgdb/kgdb_y.cfg
@@ -0,0 +1,9 @@
1# depends
2CONFIG_EXPERIMENTAL=y
3
4# configs
5CONFIG_CONSOLE_POLL=y
6CONFIG_KGDB=y
7CONFIG_KGDB_SERIAL_CONSOLE=y
8CONFIG_KGDB_KDB=y
9CONFIG_MAGIC_SYSRQ=y
diff --git a/features/kgdb/kgdb_y.scc b/features/kgdb/kgdb_y.scc
new file mode 100644
index 0000000..43f9330
--- /dev/null
+++ b/features/kgdb/kgdb_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable options required for kgdb support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware kgdb_y.cfg
diff --git a/features/latencytop/latencytop_y.cfg b/features/latencytop/latencytop_y.cfg
new file mode 100644
index 0000000..abf5d3b
--- /dev/null
+++ b/features/latencytop/latencytop_y.cfg
@@ -0,0 +1,4 @@
1CONFIG_KALLSYMS_ALL=y
2CONFIG_SCHED_DEBUG=y
3CONFIG_SCHEDSTATS=y
4CONFIG_LATENCYTOP=y
diff --git a/features/latencytop/latencytop_y.scc b/features/latencytop/latencytop_y.scc
new file mode 100644
index 0000000..23f8bab
--- /dev/null
+++ b/features/latencytop/latencytop_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable options required for latencytop support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware latencytop_y.cfg
diff --git a/features/lttng/lttng_y.cfg b/features/lttng/lttng_y.cfg
new file mode 100644
index 0000000..1334194
--- /dev/null
+++ b/features/lttng/lttng_y.cfg
@@ -0,0 +1,20 @@
1CONFIG_MODULES=y
2CONFIG_KALLSYMS=y
3CONFIG_HIGH_RES_TIMERS=y
4CONFIG_TRACEPOINTS=y
5CONFIG_FTRACE=y
6CONFIG_PERF_EVENTS=y
7CONFIG_EVENT_TRACING=y
8CONFIG_KPROBES=y
9CONFIG_KRETPROBES=y
10CONFIG_FUNCTION_TRACER=y
11CONFIG_FUNCTION_GRAPH_TRACER=y
12CONFIG_IRQSOFF_TRACER=y
13CONFIG_PREEMPT_TRACER=y
14CONFIG_SCHED_TRACER=y
15CONFIG_NOP_TRACER=y
16CONFIG_CONTEXT_SWITCH_TRACER=y
17CONFIG_GENERIC_TRACER=y
18CONFIG_TRACER_MAX_TRACE=y
19CONFIG_TRACER_SNAPSHOT=y
20CONFIG_STACK_TRACER=n
diff --git a/features/lttng/lttng_y.scc b/features/lttng/lttng_y.scc
new file mode 100644
index 0000000..2e41b90
--- /dev/null
+++ b/features/lttng/lttng_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable options required for lttng support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware lttng_y.cfg
diff --git a/features/oprofile/oprofile_y.cfg b/features/oprofile/oprofile_y.cfg
new file mode 100644
index 0000000..4dc6de9
--- /dev/null
+++ b/features/oprofile/oprofile_y.cfg
@@ -0,0 +1,4 @@
1CONFIG_PROFILING=y
2CONFIG_OPROFILE=y
3CONFIG_RING_BUFFER_ALLOW_SWAP=y
4CONFIG_PROFILE_ALL_BRANCHES=y
diff --git a/features/oprofile/oprofile_y.scc b/features/oprofile/oprofile_y.scc
new file mode 100644
index 0000000..8e1b9ed
--- /dev/null
+++ b/features/oprofile/oprofile_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable options required for oprofile support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware oprofile_y.cfg
diff --git a/features/perf/perf_y.cfg b/features/perf/perf_y.cfg
new file mode 100644
index 0000000..5fddec0
--- /dev/null
+++ b/features/perf/perf_y.cfg
@@ -0,0 +1,2 @@
1CONFIG_CGROUP_PERF=y
2CONFIG_PERF_EVENTS=y
diff --git a/features/perf/perf_y.scc b/features/perf/perf_y.scc
new file mode 100644
index 0000000..173baf5
--- /dev/null
+++ b/features/perf/perf_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable options required for perf support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware perf_y.cfg
diff --git a/features/systemtap/systemtap_y.cfg b/features/systemtap/systemtap_y.cfg
new file mode 100644
index 0000000..c858a5c
--- /dev/null
+++ b/features/systemtap/systemtap_y.cfg
@@ -0,0 +1,5 @@
1CONFIG_KPROBES=y
2CONFIG_RELAY=y
3CONFIG_DEBUG_FS=y
4CONFIG_MODULES=y
5CONFIG_MODULE_UNLOAD=y
diff --git a/features/systemtap/systemtap_y.scc b/features/systemtap/systemtap_y.scc
new file mode 100644
index 0000000..ab4e758
--- /dev/null
+++ b/features/systemtap/systemtap_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable options required for systemtap support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware systemtap_y.cfg