MCPcopy Create free account
hub / github.com/google/pprof / binrep

Struct binrep

internal/binutils/binutils.go:54–69  ·  view source on GitHub ↗

binrep is an immutable representation for Binutils. It is atomically replaced on every mutation to provide thread-safe access.

Source from the content-addressed store, hash-verified

52// binrep is an immutable representation for Binutils. It is atomically
53// replaced on every mutation to provide thread-safe access.
54type binrep struct {
55 // Commands to invoke.
56 llvmSymbolizer string
57 llvmSymbolizerFound bool
58 addr2line string
59 addr2lineFound bool
60 nm string
61 nmFound bool
62 objdump string
63 objdumpFound bool
64 isLLVMObjdump bool
65
66 // if fast, perform symbolization using nm (symbol names only),
67 // instead of file-line detail from the slower addr2line.
68 fast bool
69}
70
71// get returns the current representation for bu, initializing it if necessary.
72func (bu *Binutils) get() *binrep {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected