golang pprof for c library code

Home / Uncategorized / golang pprof for c library code

I have been trying to profile my golang application with pprof, but it seems that the details of my c code(linked as static library) is missed in the output result.

flame graph

From the frame graph you can see all the c code time consuming is reported within "runtime._ExternalCode", no details at all. And I am very sure my static library is compiled with debug enable.

So Is there any way to make the pprof get the details(like stack trace) of 3rd party c code? Or Is there any other golang profiling tool to do this?


Read more

Leave a Reply

Your email address will not be published. Required fields are marked *