• Michael Pratt's avatar
    cmd/pprof: instruction-level granularity in callgrind output · 0aadaf2a
    Michael Pratt authored
    When generating callgrind format output, produce cost lines at
    instruction granularity. This allows visualizers supporting the
    callgrind format to display instruction-level profiling information.
    
    We also need to provide the object file (ob=) in order for tools to find
    the object file to disassemble when displaying assembly.
    
    We opportunistically group cost lines corressponding to the same
    function together, reducing the number of superfluous description lines.
    Subposition compression (relative position numbering) is also used to
    reduce the output size.
    
    Change-Id: Id8e960b81dc7a47ec1dfbae877521f76972431c4
    Reviewed-on: https://go-review.googlesource.com/23781
    Run-TryBot: Michael Pratt <mpratt@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRaul Silvera <rsilvera@google.com>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    0aadaf2a
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...