Author: viric
Date: Mon Apr  9 21:01:00 2012
New Revision: 33713
URL: https://nixos.org/websvn/nix/?rev=33713&sc=1

Log:
Adding a minimal FTRACE to the 3.2 and 3.3 linux kernels, that should not
affect the kernel performance, but allow more tracing.

Modified:
   nixpkgs/trunk/pkgs/os-specific/linux/kernel/linux-3.2.nix
   nixpkgs/trunk/pkgs/os-specific/linux/kernel/linux-3.3.nix

Modified: nixpkgs/trunk/pkgs/os-specific/linux/kernel/linux-3.2.nix
==============================================================================
--- nixpkgs/trunk/pkgs/os-specific/linux/kernel/linux-3.2.nix   Mon Apr  9 
20:52:10 2012        (r33712)
+++ nixpkgs/trunk/pkgs/os-specific/linux/kernel/linux-3.2.nix   Mon Apr  9 
21:01:00 2012        (r33713)
@@ -220,6 +220,12 @@
       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}
     '';

Modified: nixpkgs/trunk/pkgs/os-specific/linux/kernel/linux-3.3.nix
==============================================================================
--- nixpkgs/trunk/pkgs/os-specific/linux/kernel/linux-3.3.nix   Mon Apr  9 
20:52:10 2012        (r33712)
+++ nixpkgs/trunk/pkgs/os-specific/linux/kernel/linux-3.3.nix   Mon Apr  9 
21:01:00 2012        (r33713)
@@ -219,6 +219,12 @@
       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}
     '';
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to