Skip to content

Commit

Permalink
larger verifier log
Browse files Browse the repository at this point in the history
  • Loading branch information
RonFed committed Nov 29, 2023
1 parent 3dd9447 commit 18dd13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/instrumentation/utils/ebpf.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func LoadEBPFObjects(spec *ebpf.CollectionSpec, to interface{}, opts *ebpf.Colle
// Getting full verifier log is expensive, so we only do it if the user explicitly asks for it.
showVerifierLogs := shouldShowVerifierLogs()
if showVerifierLogs {
opts.Programs.LogSize = ebpf.DefaultVerifierLogSize * 100
opts.Programs.LogSize = ebpf.DefaultVerifierLogSize * 10000
opts.Programs.LogLevel = ebpf.LogLevelInstruction | ebpf.LogLevelBranch | ebpf.LogLevelStats
}

Expand Down

0 comments on commit 18dd13c

Please sign in to comment.