BPF probes fail when cgroup v1
Open
bug
- Dominant language
- C
- Stars
- 22
- Forks
- 9
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
Sometimes cgroup v2 and cgroup v1 are both mounted.
Probes will fail if v1 is mounted at `/sys/fs/cgroup`.
Should parse `/proc/self/mountinfo` and get a file descriptor for the correct mount point.
https://github.com/elastic/quark/blob/main/bpf_queue.c#L744C3-L744C12
Only a problem when DNS probes are enabled, `QQ_DNS`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.