From 508b8f29922ab88923d83bdb21a21e8a78a526d1 Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Mon, 16 May 2016 17:21:32 +0200 Subject: linux/cfg: add config fragments to disable debug features New config fragments created to: - disable debugging on target. Trying to disable any type of debugging that can affect performances on target. - disable profiling. Profiling is mainly based on hooks which should not affect the performance on target. This options allow to test if profiling does affect the performance or not. - enable PreemptRT Low Latency Desktop - disable erratum for new PowerPC revisions targets Signed-off-by: Adrian Calianu Signed-off-by: Martin Borg --- recipes-kernel/linux/files/cfg/profiling_off.cfg | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-kernel/linux/files/cfg/profiling_off.cfg (limited to 'recipes-kernel/linux/files/cfg/profiling_off.cfg') diff --git a/recipes-kernel/linux/files/cfg/profiling_off.cfg b/recipes-kernel/linux/files/cfg/profiling_off.cfg new file mode 100644 index 0000000..174b9e4 --- /dev/null +++ b/recipes-kernel/linux/files/cfg/profiling_off.cfg @@ -0,0 +1,36 @@ +CONFIG_KALLSYMS=n +CONFIG_HIGH_RES_TIMERS=n +CONFIG_TRACEPOINTS=n +CONFIG_FTRACE=n +CONFIG_PERF_EVENTS=n +CONFIG_EVENT_TRACING=n +CONFIG_KPROBES=n +CONFIG_KRETPROBES=n +CONFIG_FUNCTION_TRACER=n +CONFIG_FUNCTION_GRAPH_TRACER=n +CONFIG_IRQSOFF_TRACER=n +CONFIG_PREEMPT_TRACER=n +CONFIG_SCHED_TRACER=n +CONFIG_NOP_TRACER=n +CONFIG_CONTEXT_SWITCH_TRACER=n +CONFIG_GENERIC_TRACER=n +CONFIG_TRACER_MAX_TRACE=n +CONFIG_TRACER_SNAPSHOT=n +CONFIG_STACK_TRACER=n +CONFIG_EXPERT=n +CONFIG_PROC_FS=n +CONFIG_DEBUG_FS=n +CONFIG_NO_HZ=n +CONFIG_HPET_TIMER=n +CONFIG_CPU_FREQ=n +CONFIG_CPU_FREQ_GOV_ONDEMAND=n +CONFIG_TIMER_STATS=n +CONFIG_TRACING=n +CONFIG_X86_MSR=n +CONFIG_DEBUG_INFO=n +CONFIG_RELAY=n +CONFIG_MODULE_UNLOAD=n +CONFIG_PROFILING=n +CONFIG_OPROFILE=n +CONFIG_PROFILE_ALL_BRANCHES=n +CONFIG_OPROFILE_NMI_TIMER=n -- cgit v1.2.3-54-g00ecf