Skip to content

Commit

Permalink
referneced correct kernel lib
Browse files Browse the repository at this point in the history
  • Loading branch information
CordeliaLopez committed Dec 18, 2023
1 parent b295a62 commit a3f69a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/network/tracer/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ func (t *Tracer) DebugDumpProcessCache(ctx context.Context) (interface{}, error)
}

func canRunProcessEventStream(kernelVersion *ebpfkernel.Version) bool {
if !kernelVersion.IsRH7Kernel() && !kernelVersion.IsRH8Kernel() && kernelVersion.Code < kernel.Kernel4_15 {
if !kernelVersion.IsRH7Kernel() && !kernelVersion.IsRH8Kernel() && kernelVersion.Code < ebpfkernel.Kernel4_15 {
log.Warn("disabling process event monitoring as it is not supported for this kernel version")
return false
}
Expand Down

0 comments on commit a3f69a3

Please sign in to comment.