From 5dfcf188015721255f9056308d4f641441cb2cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 9 Apr 2012 21:01:00 +0000 Subject: [PATCH] Adding a minimal FTRACE to the 3.2 and 3.3 linux kernels, that should not affect the kernel performance, but allow more tracing. svn path=/nixpkgs/trunk/; revision=33713 --- pkgs/os-specific/linux/kernel/linux-3.2.nix | 6 ++++++ pkgs/os-specific/linux/kernel/linux-3.3.nix | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/linux-3.2.nix b/pkgs/os-specific/linux/kernel/linux-3.2.nix index 59df5962744f..aff17db22f66 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.2.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.2.nix @@ -220,6 +220,12 @@ let CONNECTOR y PROC_EVENTS y + # Tracing + FTRACE y + FUNCTION_TRACER y + FTRACE_SYSCALLS y + SCHED_TRACER y + ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""} ${extraConfig} ''; diff --git a/pkgs/os-specific/linux/kernel/linux-3.3.nix b/pkgs/os-specific/linux/kernel/linux-3.3.nix index 83b29fba85e8..5e863cc9b889 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.3.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.3.nix @@ -219,6 +219,12 @@ let CONNECTOR y PROC_EVENTS y + # Tracing + FTRACE y + FUNCTION_TRACER y + FTRACE_SYSCALLS y + SCHED_TRACER y + ${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""} ${extraConfig} '';