Raul Silvera
38f8ba1dff
Fix issues reported by govet
Mainly use imported structs by field and update a mismatch printf
string on a test error message.
8 gadus atpakaļ
Raul Silvera
fbfe4810f1
Upstream minir changes from golang version of pprof
- Remove dead code, unnecessary conversions
- Consistently use a single space after period
8 gadus atpakaļ
Raul Silvera
fe0c5611ea
Fix typo in comment (NFC)
9 gadus atpakaļ
Raul Silvera
d933d09123
Prefer nm based function names to addr2line based names.
The names produced by addr2line are often incomplete. Fix this by
falling back to nm to get function names and using the nm-provided
name if it is longer.
9 gadus atpakaļ
Raul Silvera
53d60aab7b
remove binutils wrappers used for testing
Provide native Go mocks for binutils to use during testing, instead of
relying on shell-script mocks of those tools.
9 gadus atpakaļ
Raul Silvera
164ad05478
Update tree structure to follow Go conventions
Also update the build instructions to use go get
9 gadus atpakaļ
Raul Silvera
d174bbe741
first commit of OSS pprof
9 gadus atpakaļ