Skip to content

Commit

Permalink
disabled for RH7 kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
CordeliaLopez committed Dec 18, 2023
1 parent 96451d9 commit 927ca8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/system-probe/common/common_nix.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func DisablePESUnsupportedKernel(isEnabled bool) bool {
log.Errorf("unable to detect the kernel version: %s", err)
return false
}
if !kernelVersion.IsRH7Kernel() && !kernelVersion.IsRH8Kernel() && kernelVersion.Code < ebpfkernel.Kernel4_15 {
if kernelVersion.IsRH7Kernel() || (!kernelVersion.IsRH8Kernel() && kernelVersion.Code < ebpfkernel.Kernel4_15) {

This comment has been minimized.

Copy link
@hmahmood

hmahmood Dec 18, 2023

Contributor

Do we want to update the test?

log.Warn("disabling process event monitoring as it is not supported for this kernel version")
return true
}
Expand Down

0 comments on commit 927ca8b

Please sign in to comment.