mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
pkg/proc: Parse Goroutine ID in eBPF tracer (#2654)
This patch enables the eBPF tracer backend to parse the ID of the Goroutine which hit the uprobe. This implementation is specific to AMD64 and will have to be generalized further in order to be used on other architectures.
This commit is contained in:
@ -46,7 +46,7 @@ type ProcessInternal interface {
|
||||
EraseBreakpoint(*Breakpoint) error
|
||||
|
||||
SupportsBPF() bool
|
||||
SetUProbe(string, []ebpf.UProbeArgMap) error
|
||||
SetUProbe(string, int64, []ebpf.UProbeArgMap) error
|
||||
|
||||
// DumpProcessNotes returns ELF core notes describing the process and its threads.
|
||||
// Implementing this method is optional.
|
||||
|
||||
Reference in New Issue
Block a user