Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Holbach
f05d741c88 update vendored copy of tcptracer-bpf
See https://github.com/iovisor/gobpf/pull/139 and
  https://github.com/weaveworks/tcptracer-bpf/pull/61 for more info
  on the change.

  gvt update github.com/weaveworks/tcptracer-bpf
2018-08-28 16:56:30 +01:00
Iago López Galeiras
9f3e7d3ddc vendor: bump tcptracer-bpf
This includes:

* an eBPF object built with a newer kernel (4.14)
* an increased threshold for guessing offsets, which is necessary for
the eBPF tracer to work on Google's Container-Optimized OS (used by
GKE)
2018-01-26 14:04:58 +01:00
Alban Crequy
93ca8b83ed vendor: update tcptracer-bpf and gobpf
This includes:

- https://github.com/iovisor/gobpf/pull/70
  perf: close go channels idiomatically

- https://github.com/iovisor/gobpf/pull/70
  close channels on the sender side & fix closing race

- https://github.com/weaveworks/tcptracer-bpf/pull/50
  vendor: update gobpf
2017-08-17 17:55:09 +02:00
Matthias Radestock
b087e95711 bump tcptracer-bpf version 2017-07-12 07:27:35 +01:00
Matthias Radestock
8cf79b2e4a bump tcptracer-bpf version and use it to fix race
We defer starting the ebpf tracer until we've set the global var which
is referenced by the callback functions. Previously the var could be
unset when the callbacks are invoked, resulting in a segfault.

Fixes #2687.
2017-07-07 06:56:28 +01:00
Alfonso Acosta
c70e357998 Bump github.com/weaveworks/tcptracer-bpf/ and github.com/iovisor/gobpf/ 2017-05-26 04:44:06 +00:00
Alban Crequy
1fb4ce728b vendor: update tcptracer-bpf
This includes https://github.com/weaveworks/tcptracer-bpf/pull/39
2017-05-19 14:14:26 +02:00
Alban Crequy
fc0e4490dd vendoring: update gobpf and tcptracer-bpf 2017-05-10 18:37:32 +02:00
Alban Crequy
ac5e379da2 vendor: update gobpf and tcptracer-bpf
It will help to get missing kretprobe events during the ebpf tracker
initialization and missing connect & accept events, specially visible on
single-cores:
- https://github.com/weaveworks/tcptracer-bpf/pull/36
- https://github.com/iovisor/gobpf/pull/39

It makes use of a Linux patch that should be in Linux >= 4.12
(unreleased yet): https://github.com/iovisor/bcc/issues/1072#issuecomment-289777787
It falls back gracefully on current/older Linux kernels.

The new gobpf vendoring also includes other small fixes such as error
handling.
2017-04-06 11:16:25 +02:00
Iago López Galeiras
7541ad9c9c vendor: bump tcptracer-bpf
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
2017-03-29 15:57:25 +02:00
Michael Schubert
b49d2e6f9d vendor: update github.com/weaveworks/tcptracer-bpf 2017-03-22 10:07:55 +01:00
Iago López Galeiras
6ede5e5c91 vendor: add weaveworks/tcptracer-bpf 2017-03-08 22:11:12 +01:00