forked from mirrors/nixpkgs
pprof: 2018-08-15 -> 2021-09-30 (#138721)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
2df6fbbd96
commit
a9f158eebe
|
@ -1,33 +1,42 @@
|
|||
# This file was originally generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
{ lib, buildGoPackage, fetchgit }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "pprof-unstable";
|
||||
version = "2018-08-15";
|
||||
rev = "781f11b1fcf71fae9d185e7189b5e686f575075a";
|
||||
buildGoModule rec {
|
||||
pname = "pprof";
|
||||
version = "unstable-2021-09-30";
|
||||
|
||||
goPackagePath = "github.com/google/pprof";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "git://github.com/google/pprof";
|
||||
sha256 = "1nvzwcj6h4q0lsjlri3bym4axgv848w3xz57iz5p0wz9lcd5jsmf";
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "pprof";
|
||||
rev = "7fe48b4c820be13151ae35ce5a5e3f54f1b53eef";
|
||||
sha256 = "05nr3igdigs1586qplwfm17hfw0v81jy745g6vayq7cbplljfjb1";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
vendorSha256 = "0yl8y3m2ia3cwxhmg1km8358a0225khimv6hcvras8r2glm69h3f";
|
||||
|
||||
meta = with 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).
|
||||
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
|
||||
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.
|
||||
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).
|
||||
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.
|
||||
'';
|
||||
|
|
21
pkgs/development/tools/profiling/pprof/deps.nix
generated
21
pkgs/development/tools/profiling/pprof/deps.nix
generated
|
@ -1,21 +0,0 @@
|
|||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/chzyer/readline";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/chzyer/readline";
|
||||
rev = "2972be24d48e78746da79ba8e24e8b488c9880de";
|
||||
sha256 = "104q8dazj8yf6b089jjr82fy9h1g80zyyzvp3g8b44a7d8ngjj6r";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/ianlancetaylor/demangle";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ianlancetaylor/demangle";
|
||||
rev = "fcd258a6f0b45dc345a407ee5568cf9a4d24a0ae";
|
||||
sha256 = "10hdzq6n4mb13g8ddqvwjwx14djfyxhh0gjc888vdihzvhyqhvrp";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue