mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 02:30:45 +00:00
We found out we were losing kretprobes sometimes because maxactive was set too low[1]. This problem was more apparent in our GCE test environment because the kernel was configured with `CONFIG_PREEMPT` not set and we're running single-core VMs (see https://github.com/weaveworks/tcptracer-bpf/issues/24 for more details). Unfortunately, we can't set the maxactive explicitly from userspace. Alban submitted a kernel patch to allow this[2]. This bumps tcptracer-bpf to include a workaround[3] for this issue in the guess-offsets phase. [1]: https://github.com/weaveworks/tcptracer-bpf/issues/24 [2]: https://lkml.org/lkml/2017/3/28/629 [3]: https://github.com/weaveworks/tcptracer-bpf/pull/33