Skip to content

Commit

Permalink
link: allow pinning uprobe multi links
Browse files Browse the repository at this point in the history
I accidentally dropped the change to allow pinning uprobe multi from
Jiri's patch. This restores the functionality.

Signed-off-by: Lorenz Bauer <[email protected]>
  • Loading branch information
lmb committed Jul 2, 2024
1 parent 2b6dd95 commit ebc6410
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions link/uprobe_multi.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,6 @@ func (kml *uprobeMultiLink) Update(prog *ebpf.Program) error {
return fmt.Errorf("update uprobe_multi: %w", ErrNotSupported)
}

func (kml *uprobeMultiLink) Pin(string) error {
return fmt.Errorf("pin uprobe_multi: %w", ErrNotSupported)
}

func (kml *uprobeMultiLink) Unpin() error {
return fmt.Errorf("unpin uprobe_multi: %w", ErrNotSupported)
}

var haveBPFLinkUprobeMulti = internal.NewFeatureTest("bpf_link_uprobe_multi", "6.6", func() error {
prog, err := ebpf.NewProgram(&ebpf.ProgramSpec{
Name: "probe_upm_link",
Expand Down

0 comments on commit ebc6410

Please sign in to comment.