see 
https://www.gnu.org/software/libc/manual/html_node/Allocation-Debugging.html 
<https://www.gnu.org/software/libc/manual/html_node/Allocation-Debugging.html> 
for C memory debugging

> On Apr 20, 2020, at 1:19 PM, Pavan <sudarshan...@gmail.com> wrote:
> 
> Hi, I am debugging memory leak in a go application. It has lot of C functions 
> called with in. 
> I am trying to use pprof.WriteHeapProfilepprof to dump the memory allocations 
> .
> 
> after generating dump file with WriteHeapProfile, it doesnt indicate memory 
> allocations with-in C functions. 
> 
> ex: If i call C.greet function and do lot of mallocs inside C function, 
> greet, it doesnt indicate the greet function. 
> 
> Please let me know if there are other profilers when C functions are involved 
> with go programs. 
> 
> 
> Regards,
> Pavan
> 
> -- 
> 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 golang-nuts+unsubscr...@googlegroups.com 
> <mailto:golang-nuts+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/6af1d1ec-b8d2-4545-a737-21cf1471d7a3%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/golang-nuts/6af1d1ec-b8d2-4545-a737-21cf1471d7a3%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/121DDF1B-E60B-4A5B-B16B-5182B4BA836A%40ix.netcom.com.

Reply via email to