diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-04-09 21:01:00 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-04-09 21:01:00 +0000 |
commit | 5dfcf188015721255f9056308d4f641441cb2cb7 (patch) | |
tree | 141a114585a6141974b553aa741889fcaa0e5740 /pkgs/os-specific | |
parent | 4bf921f1938bb35992eacd7ad3a23fad6d386afc (diff) | |
download | nixlib-5dfcf188015721255f9056308d4f641441cb2cb7.tar nixlib-5dfcf188015721255f9056308d4f641441cb2cb7.tar.gz nixlib-5dfcf188015721255f9056308d4f641441cb2cb7.tar.bz2 nixlib-5dfcf188015721255f9056308d4f641441cb2cb7.tar.lz nixlib-5dfcf188015721255f9056308d4f641441cb2cb7.tar.xz nixlib-5dfcf188015721255f9056308d4f641441cb2cb7.tar.zst nixlib-5dfcf188015721255f9056308d4f641441cb2cb7.zip |
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
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/linux-3.2.nix | 6 | ||||
-rw-r--r-- | pkgs/os-specific/linux/kernel/linux-3.3.nix | 6 |
2 files changed, 12 insertions, 0 deletions
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} ''; |