We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7590e2 commit 7876993Copy full SHA for 7876993
ebpf/uretprobe.go
@@ -45,7 +45,7 @@ func AttachUretprobe(attachSymbol string, prog *ebpf.Program, ex *link.Executabl
45
return nil, errors.New("executable cannot be nil")
46
}
47
48
- attachPath := reflect.ValueOf(ex).Elem().FieldByName("path").Elem().String()
+ attachPath := reflect.ValueOf(ex).Elem().FieldByName("path").String()
49
50
funcs, err := getFunctions(attachPath, map[string]struct{}{attachSymbol: {}})
51
if err != nil {
0 commit comments