get function latency using ebpf-uprobe when using coroutine


Forrest Chen
 

Bcc has funclatency.py which support get function latency for the user program, using pid_tgid as the key.
But when it comes to a program was written by golang which supports coroutine(goroutine), it doesn't work anymore.

Is there another way to handle this situation?

Thanks!