I've been using the `Table.PCToLine` method to resolve program counters 
(extracted via bpf) into functions with their file names and line numbers.

It appears that this breaks when i'm testing it on a binary that has cgo 
enabled. It does not fix it by compiling the binary statically.

Another issue I have with this API is that creating the Table requires 
passing the `.gosymtab` which of course is empty. Cgo binaries don't even 
have it so I just pass an empty slice. 

Does anyone have alternatives to this package or possible explanations to 
why these issues exist?

Thanks so much,
Grant

-- 
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/0572e302-9497-40c3-9ea7-8cf04678b82dn%40googlegroups.com.

Reply via email to