Skip to content

Commit

Permalink
Attempt to fix ARM CI
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Fedotov <anfedotoff@yandex-team.ru>
  • Loading branch information
anfedotoff committed Jul 12, 2024
1 parent 7025814 commit d435722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/bpf/detect.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ func HasLSMPrograms() bool {
if strings.Contains(string(b), "bpf") {
return true
}
return false

return features.HaveProgramType(ebpf.RawTracepoint) == nil
}

func detectLinkPin() (bool, error) {
Expand Down

0 comments on commit d435722

Please sign in to comment.