Gustavo Iñiguez Goia
8bd8f59fb5
fixed "non-constant format string" error
2026-07-06 14:56:26 +02:00
Gustavo Iñiguez Goia
fbc72bb96a
mount tracefs path if it's not mounted
...
Some kernels or systems may not have tracefs mounted or available
by default.
We need the path /sys/kernel/tracing to be mounted, in order to add
syscalls ebpf probes.
So from now on we'll try to mount /sys/kernel/tracing if it's not
already mounted.
-check-requirements parameter updated to check if this option is
available.
Closes #1450 .
2025-11-23 23:40:37 +01:00
redanaheim
fa2f1068f6
Remove duplicate regex in system.go for -check-requirements
2024-05-26 23:22:53 +00:00
Gustavo Iñiguez Goia
81dd625a1c
added more kernel config paths for checking system requirements
...
On Fedora Silverblue the kernel config of the current kernel is under
/usr/lib/modules/<kernel>/config
Closes : #1117
2024-04-27 23:36:04 +02:00
Gustavo Iñiguez Goia
c22e358fce
added CONFIG_PROC_EVENTS to check-requirements
...
Check if the kernel has support for the Process Events Connector feature,
to see if we can use it.
https://lwn.net/Articles/157150/
2023-09-30 21:59:45 +02:00
Gustavo Iñiguez Goia
5a0bd3bc27
added more requirements checks, minor code refactor
...
- Check kernel configs NET_DIAG_*.
- config.SaveConfiguration() -> config.Save()
2023-06-28 11:24:24 +02:00
Gustavo Iñiguez Goia
a233006d78
added more checks to -checks-requirements
...
Closes #976
2023-06-25 02:36:12 +02:00
Gustavo Iñiguez Goia
f3a621e192
changed system requirements reading
2023-05-18 14:32:03 +02:00
Gustavo Iñiguez Goia
8513c0dd7f
Added system requirements check
...
Added flag to check system requirements.
Related: #774
2023-05-18 14:23:40 +02:00
Gustavo Iñiguez Goia
93e1135b4a
better ebpf errors printing
...
Provide more information when loading ebpf modules fails.
2022-12-11 17:25:05 +01:00
luz paz
d15d3465a9
Fix random typos
...
Found via `codespell v2.1.dev0`
`codespell -q 3 -L ans`
2020-12-23 13:24:59 -05:00
Gustavo Iñiguez Goia
df952d974e
fixed errors when IPv6 is not enabled in the system
...
If IPv6 was not enabled we failed to add IPv6 rules.
closes #96
2020-11-26 16:25:48 +01:00
Gustavo Iñiguez Goia
ca1cbe3084
added functions to retrieve system information
2020-05-10 17:52:08 +02:00