On Thu, Nov 15, 2018 at 9:57 PM Tristan Colgate <tcolg...@gmail.com> wrote:
> Maybe you mean something like support for linux uprobes? > There is some discussion here: > https://github.com/golang/go/issues/22008 > Google for "golang uprobes" picks up a couple of other links: > > http://www.brendangregg.com/blog/2017-01-31/golang-bcc-bpf-function-tracing.html > > https://kinvolk.io/blog/2017/09/an-update-on-gobpf---elf-loading-uprobes-more-program-types/ > Ran a small benchmark using uprobes and there's no overhead for an io-bound function, for a cpu-bound function, it is twice slower. So it may be a very good solution for a first linux-only version, as I don't need return probes (uretprobes seem to be a problem with Go's dynamic stack management). -- Julio Guerra -- 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. For more options, visit https://groups.google.com/d/optout.