mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +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
Managing Vendored Dependencies with gvt
These operations result in uncommitted changes to your branch; you will need to commit them as normal. Execute them in the root of your checkout.
For these changes to take effect, you'll have to make clean before running
make.
Installing gvt
$ go get -u github.com/FiloSottile/gvt
Adding a Dependency
~/service$ gvt fetch example.com/organisation/module
Updating a Dependency
~/service$ gvt update example.com/organisation/module
Removing a Dependency
~/service$ gvt delete example.com/organisation/module