weaver icon indicating copy to clipboard operation
weaver copied to clipboard

Trace Go program execution with uprobes and eBPF

Results 20 weaver issues
Sort by recently updated
recently updated
newest added

dwarf.TagCompileUnit dwarf.TagSubprogram dwarf.TagVariable dwarf.TagTag(0) dwarf.TagFormalParameter dwarf.TagLexDwarfBlock dwarf.TagInlinedSubroutine dwarf.TagConstant dwarf.TagUnspecifiedType dwarf.TagPointerType dwarf.TagBaseType dwarf.TagStructType dwarf.TagMember dwarf.TagTypedef dwarf.TagSubroutineType dwarf.TagArrayType dwarf.TagSubrangeType

question

Will certainly still be retrievable but will need to be feature flagged. I believe the go version string is passed into the binary debug information too so could auto-detect. https://github.com/golang/go/issues/40724

bug

At first can just print the addr of it, but later can add logic for printing out the contents of the map

Currently there's no order for function calls, just whenever they come out of the kernel. It'd be useful to associate invocations in a map and order them.

In this blog post Brendan Gregg has some examples of using a utility for installing probes on userspace probes: http://www.brendangregg.com/blog/2015-06-28/linux-ftrace-uprobe.html Being able to put a one line probe in would...

The smoke-test breaks pretty easily. We should have go tests that actually execute weaver and do typed assertions for checking output. This'll make it really easy to port to new...

P0

Weaver is built for x86_64 linux platforms. It would be great in the future to support ARM, but for now it'd make sense to use [build constraints](https://golang.org/pkg/go/build/#hdr-Build_Constraints)