Skip to content

Commit

Permalink
chore: add information to SetStrictMode()
Browse files Browse the repository at this point in the history
SetStrictMode is no-op as of libbpf v1.0.
  • Loading branch information
geyslan committed Oct 26, 2023
1 parent 913d1ea commit 1b882cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libbpfgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func (b LibbpfStrictMode) String() (str string) {
return str
}

// SetStrictMode is no-op as of libbpf v1.0
func SetStrictMode(mode LibbpfStrictMode) {
C.libbpf_set_strict_mode(uint32(mode))
}
Expand Down

0 comments on commit 1b882cf

Please sign in to comment.