$ gopprof --interactive 6.out prof
Welcome to pprof! For help, type 'help'.
(pprof) top10
Total: 115 samples
74 64.3% 64.3% 74 64.3% runtime.mach_semaphore_wait
12 10.4% 74.8% 12 10.4% runtime.mach_semaphore_signal
8 7.0% 81.7% 8 7.0% runtime.cas
3 2.6% 84.3% 3 2.6% dequeue
3 2.6% 87.0% 25 21.7% runtime.chansend
3 2.6% 89.6% 11 9.6% runtime.xadd
2 1.7% 91.3% 2 1.7% memcopy
2 1.7% 93.0% 9 7.8% runtime.lock
1 0.9% 93.9% 1 0.9% enqueue
1 0.9% 94.8% 11 9.6% runtime.chanrecv
however, I do see the issue with binaries having something to do with
cgo and _crosscall (i'm not sure which). there 'nm' will print the
following, and cause gopprof to not revert to '6nm':
$ nm goinstall
U ___error
U ___stack_chk_fail
U ___stack_chk_guard
U ___stderrp
00000000000dc848 T __cgo_allocate
00000000000dc8f6 T __cgo_panic
U _abort
00000000000dc94d T _crosscall2
U _fprintf
U _fputc
U _free
U _freeaddrinfo
U _fwrite
U _gai_strerror
U _getaddrinfo
U _malloc
U _pthread_attr_getstacksize
U _pthread_attr_init
U _pthread_create
U _pthread_key_create
U _pthread_key_delete
U _pthread_setspecific
godoc and goinstall do this.
Russ