11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
19 sha256 = "sha256-UTrAaH8C79km78Z/7NxvQ6dnl4u4Ki80nORf4bsoSNw=";
23 substituteInPlace src/igprof --replace libigprof.so $out/lib/libigprof.so
31 nativeBuildInputs = [ cmake ];
40 broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
41 description = "Ignominous Profiler";
44 IgProf is a fast and light weight profiler. It correctly handles
45 dynamically loaded shared libraries, threads and sub-processes started by
46 the application. We have used it routinely with large C++ applications
47 consisting of many hundreds of shared libraries and thousands of symbols
48 from millions of source lines of code. It requires no special privileges
49 to run. The performance reports provide full navigable call stacks and
50 can be customised by applying filters. Results from any number of
51 profiling runs can be included. This means you can both dig into the
52 details and see the big picture from combined workloads.
55 license = lib.licenses.gpl2;
57 homepage = "https://igprof.org/";
58 platforms = lib.platforms.linux;
59 maintainers = with lib.maintainers; [ ktf ];