Yes, ldd is how I confirmed I didn't have cgo:

[jaten@biggie no.cgo]$ ldd
./vhaline-5min
    not a dynamic
executable
[jaten@biggie no.cgo]$

On Tue, Feb 7, 2017 at 5:48 PM, Ian Lance Taylor <[email protected]> wrote:

> On Tue, Feb 7, 2017 at 3:08 PM, Jason E. Aten <[email protected]> wrote:
> > On Tue, Feb 7, 2017 at 11:54 AM, Ian Lance Taylor <[email protected]>
> wrote
> >>
> >> >
> >> > Ok. Any idea was runtime._ExternalCode means?
> >>
> >> It means that a profiling signal was received while executing code
> >> that was not written in Go.  It should only happen in a program that
> >> uses cgo.
> >
> >
> > Suprisingly, that does not seem to be the case.. After figuring out how
> to
> > compile without cgo (c.f. https://github.com/golang/go/issues/18981),
> and
> > how to reliably create profiles, my profile still shows 50% of the
> programs
> > time being taken up by this mystery bucket of _ExternalCode:
>
> I have no explanation for that.
>
> What does `ldd PROGRAM` print for your program?
>
> Ian
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to