Re: [go-nuts] sigprofNonGo() and sigprofNonGoPC() in go runtime

2019-06-26 Thread Ian Lance Taylor
On Wed, Jun 26, 2019 at 11:13 PM psu via golang-nuts wrote: > > I am wondering when and how sigprofNonGo() and sigprofNonGoPC() are invoked > during pprof CPU profiling (pprof.StartCPUProfile(...)). I had thought they > would be invoked when user C code (invoked via cgo) is being profiled? But i

[go-nuts] sigprofNonGo() and sigprofNonGoPC() in go runtime

2019-06-26 Thread psu via golang-nuts
Hi folks, I am wondering when and how sigprofNonGo() and sigprofNonGoPC() are invoked during pprof CPU profiling (pprof.StartCPUProfile(...)). I had thought they would be invoked when user C code (invoked via cgo) is being profiled? But in my experiments, it never happened. Best -- You recei