pprof: init at 2017-08-28
This commit is contained in:
parent
163b3e853b
commit
e0010cd1c3
35
pkgs/development/tools/profiling/pprof/default.nix
Normal file
35
pkgs/development/tools/profiling/pprof/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
# This file was originally generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
{ stdenv, buildGoPackage, fetchgit }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "pprof-${version}";
|
||||
version = "2017-08-28";
|
||||
rev = "d19a98b9bcec464f178b20da0f936cef7e15462e";
|
||||
|
||||
goPackagePath = "github.com/google/pprof";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "git://github.com/google/pprof";
|
||||
sha256 = "0wh589fndvvidisy0jy19y0ykw4l05paqd53s8kli7h9zdcl11gq";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool for visualization and analysis of profiling data";
|
||||
homepage = https://github.com/google/pprof;
|
||||
license = licenses.asl20;
|
||||
longDescription = ''
|
||||
pprof reads a collection of profiling samples in profile.proto format and generates reports to visualize and help analyze the data. It can generate both text and graphical reports (through the use of the dot visualization package).
|
||||
|
||||
profile.proto is a protocol buffer that describes a set of callstacks and symbolization information. A common usage is to represent a set of sampled callstacks from statistical profiling. The format is described on the proto/profile.proto file. For details on protocol buffers, see https://developers.google.com/protocol-buffers
|
||||
|
||||
Profiles can be read from a local file, or over http. Multiple profiles of the same type can be aggregated or compared.
|
||||
|
||||
If the profile samples contain machine addresses, pprof can symbolize them through the use of the native binutils tools (addr2line and nm).
|
||||
|
||||
This is not an official Google product.
|
||||
'';
|
||||
};
|
||||
}
|
12
pkgs/development/tools/profiling/pprof/deps.nix
Normal file
12
pkgs/development/tools/profiling/pprof/deps.nix
Normal file
@ -0,0 +1,12 @@
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/ianlancetaylor/demangle";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ianlancetaylor/demangle";
|
||||
rev = "4883227f66371e02c4948937d3e2be1664d9be38";
|
||||
sha256 = "1yj7c9i1sg26fyx6cmz87x3qh71rldkl6h87x5gysqzipm9jg54l";
|
||||
};
|
||||
}
|
||||
]
|
@ -7223,6 +7223,8 @@ with pkgs;
|
||||
|
||||
postiats-utilities = callPackage ../development/tools/postiats-utilities {};
|
||||
|
||||
pprof = callPackage ../development/tools/profiling/pprof { };
|
||||
|
||||
prelink = callPackage ../development/tools/misc/prelink { };
|
||||
|
||||
premake3 = callPackage ../development/tools/misc/premake/3.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user