Package: google-perftools Version: 2.1-2 Severity: minor Tags: patch Hi Daigo,
Please change pprof to google-pprof in the README. Patch attached. Thanks, Chris Hagar -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages google-perftools depends on: ii curl 7.35.0-1 ii libgoogle-perftools4 2.1-2 Versions of packages google-perftools recommends: pn graphviz <none> pn gv <none> google-perftools suggests no packages. -- no debconf information
--- google-perftools-2.1.orig/README 2013-07-30 05:12:11.000000000 -0400 +++ google-perftools-2.1/README 2014-02-19 19:01:30.213506643 -0500 @@ -39,7 +39,7 @@ 2) Run your executable with the HEAPPROFILE environment var set: $ HEAPPROFILE=/tmp/heapprof <path/to/binary> [binary args] -3) Run pprof to analyze the heap usage - $ pprof <path/to/binary> /tmp/heapprof.0045.heap # run 'ls' to see options - $ pprof --gv <path/to/binary> /tmp/heapprof.0045.heap +3) Run google-pprof to analyze the heap usage + $ google-pprof <path/to/binary> /tmp/heapprof.0045.heap # run 'ls' to see options + $ google-pprof --gv <path/to/binary> /tmp/heapprof.0045.heap You can also use LD_PRELOAD to heap-profile an executable that you @@ -92,7 +92,7 @@ 2) Run your executable with the CPUPROFILE environment var set: $ CPUPROFILE=/tmp/prof.out <path/to/binary> [binary args] -3) Run pprof to analyze the CPU usage - $ pprof <path/to/binary> /tmp/prof.out # -pg-like text output - $ pprof --gv <path/to/binary> /tmp/prof.out # really cool graphical output +3) Run google-pprof to analyze the CPU usage + $ google-pprof <path/to/binary> /tmp/prof.out # -pg-like text output + $ google-pprof --gv <path/to/binary> /tmp/prof.out # really cool graphical output There are other environment variables, besides CPUPROFILE, you can set