8 version = "unstable-2024-02-27";
10 src = fetchFromGitHub {
13 rev = "401108e1b7e7e113ef887df16b6227698eb5bb0f";
14 hash = "sha256-TD285HHXkePQA2J9W/dEciK5tOLmvbDPr54KNXeE1b4=";
17 vendorHash = "sha256-XOcOt+pe1lZj4XHafxROLslhyJk4mTC72yn7R1k2JCk=";
20 description = "A tool for visualization and analysis of profiling data";
21 mainProgram = "pprof";
22 homepage = "https://github.com/google/pprof";
23 license = licenses.asl20;
25 pprof reads a collection of profiling samples in profile.proto format and
26 generates reports to visualize and help analyze the data. It can generate
27 both text and graphical reports (through the use of the dot visualization
30 profile.proto is a protocol buffer that describes a set of callstacks and
31 symbolization information. A common usage is to represent a set of sampled
32 callstacks from statistical profiling. The format is described on the
33 proto/profile.proto file. For details on protocol buffers, see
34 https://developers.google.com/protocol-buffers
36 Profiles can be read from a local file, or over http. Multiple profiles of
37 the same type can be aggregated or compared.
39 If the profile samples contain machine addresses, pprof can symbolize them
40 through the use of the native binutils tools (addr2line and nm).
42 This is not an official Google product.