From 28da254d1c5ae012a6e064671aa14850c2a21a25 Mon Sep 17 00:00:00 2001 From: Dragos Motrea Date: Tue, 9 May 2017 14:18:32 +0200 Subject: Added debug tools to Enea Linux 7 Signed-off-by: Dragos Motrea Signed-off-by: Adrian Dudau --- features/debug/debug_kernel_y.cfg | 2 ++ features/debug/debug_kernel_y.scc | 4 ++++ features/kgdb/kgdb_y.cfg | 9 +++++++++ features/kgdb/kgdb_y.scc | 4 ++++ features/latencytop/latencytop_y.cfg | 4 ++++ features/latencytop/latencytop_y.scc | 4 ++++ features/lttng/lttng_y.cfg | 20 ++++++++++++++++++++ features/lttng/lttng_y.scc | 4 ++++ features/oprofile/oprofile_y.cfg | 4 ++++ features/oprofile/oprofile_y.scc | 4 ++++ features/perf/perf_y.cfg | 2 ++ features/perf/perf_y.scc | 4 ++++ features/systemtap/systemtap_y.cfg | 5 +++++ features/systemtap/systemtap_y.scc | 4 ++++ 14 files changed, 74 insertions(+) create mode 100644 features/debug/debug_kernel_y.cfg create mode 100644 features/debug/debug_kernel_y.scc create mode 100644 features/kgdb/kgdb_y.cfg create mode 100644 features/kgdb/kgdb_y.scc create mode 100644 features/latencytop/latencytop_y.cfg create mode 100644 features/latencytop/latencytop_y.scc create mode 100644 features/lttng/lttng_y.cfg create mode 100644 features/lttng/lttng_y.scc create mode 100644 features/oprofile/oprofile_y.cfg create mode 100644 features/oprofile/oprofile_y.scc create mode 100644 features/perf/perf_y.cfg create mode 100644 features/perf/perf_y.scc create mode 100644 features/systemtap/systemtap_y.cfg create mode 100644 features/systemtap/systemtap_y.scc 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 @@ +CONFIG_DEBUG_KERNEL=y +CONFIG_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 @@ +define KFEATURE_DESCRIPTION "Enable options required for kernel debug support" +define KFEATURE_COMPATIBILITY all + +kconf 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 @@ +# depends +CONFIG_EXPERIMENTAL=y + +# configs +CONFIG_CONSOLE_POLL=y +CONFIG_KGDB=y +CONFIG_KGDB_SERIAL_CONSOLE=y +CONFIG_KGDB_KDB=y +CONFIG_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 @@ +define KFEATURE_DESCRIPTION "Enable options required for kgdb support" +define KFEATURE_COMPATIBILITY all + +kconf 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 @@ +CONFIG_KALLSYMS_ALL=y +CONFIG_SCHED_DEBUG=y +CONFIG_SCHEDSTATS=y +CONFIG_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 @@ +define KFEATURE_DESCRIPTION "Enable options required for latencytop support" +define KFEATURE_COMPATIBILITY all + +kconf 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 @@ +CONFIG_MODULES=y +CONFIG_KALLSYMS=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_TRACEPOINTS=y +CONFIG_FTRACE=y +CONFIG_PERF_EVENTS=y +CONFIG_EVENT_TRACING=y +CONFIG_KPROBES=y +CONFIG_KRETPROBES=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FUNCTION_GRAPH_TRACER=y +CONFIG_IRQSOFF_TRACER=y +CONFIG_PREEMPT_TRACER=y +CONFIG_SCHED_TRACER=y +CONFIG_NOP_TRACER=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_GENERIC_TRACER=y +CONFIG_TRACER_MAX_TRACE=y +CONFIG_TRACER_SNAPSHOT=y +CONFIG_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 @@ +define KFEATURE_DESCRIPTION "Enable options required for lttng support" +define KFEATURE_COMPATIBILITY all + +kconf 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 @@ +CONFIG_PROFILING=y +CONFIG_OPROFILE=y +CONFIG_RING_BUFFER_ALLOW_SWAP=y +CONFIG_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 @@ +define KFEATURE_DESCRIPTION "Enable options required for oprofile support" +define KFEATURE_COMPATIBILITY all + +kconf 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 @@ +CONFIG_CGROUP_PERF=y +CONFIG_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 @@ +define KFEATURE_DESCRIPTION "Enable options required for perf support" +define KFEATURE_COMPATIBILITY all + +kconf 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 @@ +CONFIG_KPROBES=y +CONFIG_RELAY=y +CONFIG_DEBUG_FS=y +CONFIG_MODULES=y +CONFIG_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 @@ +define KFEATURE_DESCRIPTION "Enable options required for systemtap support" +define KFEATURE_COMPATIBILITY all + +kconf non-hardware systemtap_y.cfg -- cgit v1.2.3-54-g00ecf