about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/linux-3.2.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-04-09 21:01:00 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-04-09 21:01:00 +0000
commit5dfcf188015721255f9056308d4f641441cb2cb7 (patch)
tree141a114585a6141974b553aa741889fcaa0e5740 /pkgs/os-specific/linux/kernel/linux-3.2.nix
parent4bf921f1938bb35992eacd7ad3a23fad6d386afc (diff)
downloadnixlib-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/linux/kernel/linux-3.2.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/linux-3.2.nix6
1 files changed, 6 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}
     '';