Skip to content

Commit

Permalink
Remove use of deprecated field cilium/ebpf/ProgramOptions.LogSize
Browse files Browse the repository at this point in the history
The needed log size is now automatically determined by the cilium/ebpf
library.

Signed-off-by: Robin Gögge <[email protected]>
  • Loading branch information
rgo3 committed Dec 23, 2024
1 parent 0f67ad3 commit 92bf0ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ func main() {
var opts ebpf.CollectionOptions
opts.Programs.KernelTypes = btfSpec
opts.Programs.LogLevel = ebpf.LogLevelInstruction
opts.Programs.LogSize = ebpf.DefaultVerifierLogSize * 100

bpfSpec, err := LoadKProbePWRU()
if err != nil {
Expand Down

0 comments on commit 92bf0ca

Please sign in to comment.