Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5e45835011bc
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0c1140c4b931
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jun 2, 2019

  1. igprof: init at v5.9.16

    ktf committed Jun 2, 2019
    Copy the full SHA
    d5e89b5 View commit details
  2. Merge pull request #62215 from ktf/master

    igprof: init at v5.9.16
    Ma27 authored Jun 2, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0c1140c View commit details
Showing with 45 additions and 0 deletions.
  1. +43 −0 pkgs/development/tools/misc/igprof/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
43 changes: 43 additions & 0 deletions pkgs/development/tools/misc/igprof/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{stdenv, fetchFromGitHub, libunwind, cmake, pcre, gdb}:

stdenv.mkDerivation rec {
version = "5.9.16";
name = "igprof-${version}";

src = fetchFromGitHub {
owner = "igprof";
repo = "igprof";
rev = "v${version}";
sha256 = "0rx3mv8zdh9bmcpfbzkib3d52skzfr8600gh5gv21wcsh50jnifx";
};

postPatch = ''
substituteInPlace src/igprof --replace libigprof.so $out/lib/libigprof.so
'';

buildInputs = [libunwind gdb pcre];
nativeBuildInputs = [cmake];
CXXFLAGS = ["-fPIC" "-O2" "-w" "-fpermissive"];

meta = {
description = "The Ignominous Profiler";

longDescription = ''
IgProf is a fast and light weight profiler. It correctly handles
dynamically loaded shared libraries, threads and sub-processes started by
the application. We have used it routinely with large C++ applications
consisting of many hundreds of shared libraries and thousands of symbols
from millions of source lines of code. It requires no special privileges
to run. The performance reports provide full navigable call stacks and
can be customised by applying filters. Results from any number of
profiling runs can be included. This means you can both dig into the
details and see the big picture from combined workloads.
'';

license = stdenv.lib.licenses.gpl2;

homepage = https://igprof.org/;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ ktf ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -23224,6 +23224,8 @@ in

igraph = callPackage ../development/libraries/igraph { };

igprof = callPackage ../development/tools/misc/igprof { };

illum = callPackage ../tools/system/illum { };

image_optim = callPackage ../applications/graphics/image_optim { inherit (nodePackages) svgo; };