You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
I was wondering if anyone has successfully used OSX Instruments for
profiling go?
I'm new to OSX and to Go, and I haven't had much success. I imagine
that it involves building the Go runtime library with some debugging
symbols and also the target Go code. Go has a built-in profiler, but
that's broken on OSX. Another option is valgrind --cachegrind but that
too seems a bit broken on OSX 10.7. Any tips would be greatly
appreciated.
Paulo Pinto
unread,
Sep 4, 2011, 4:57:50 PM9/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
As far as I am aware you can only use Instruments with the Apple
compilers (C, C++, Objective-C).
Matt Aimonetti
unread,
Sep 4, 2011, 8:13:46 PM9/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
You can actually use OS X Instruments with go via DTrace.
It will probably require you to dig into Go's DTrace support & DTrace
itself tho.