Branch: refs/heads/release-16.03
  Home:   https://github.com/NixOS/nixpkgs
  Commit: aa296f3913336ca82ec5e4d136d30ac9fef0faf8
      
https://github.com/NixOS/nixpkgs/commit/aa296f3913336ca82ec5e4d136d30ac9fef0faf8
  Author: Lluís Batlle i Rossell <vi...@viric.name>
  Date:   2016-05-07 (Sat, 07 May 2016)

  Changed paths:
    M pkgs/os-specific/linux/kernel/manual-config.nix

  Log Message:
  -----------
  Adding vmlinux to linux kernel 'dev' derivation.

It takes some extra 13MB (and in dev, not out), but allows perf to show kernel
symbols when profiling. I think it is worth it.

In my NixOS, I refer to it in the system derivation, for easy telling to perf
through /run/booted-system/vmlinux:

  system.extraSystemBuilderCmds = ''
    ln -s ${config.boot.kernelPackages.kernel.dev}/vmlinux $out/vmlinux
  '';

(cherry picked from commit 53a45825523566b8c9c5ff135e8ff75e05558d85)


_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to