Merge pull request #3042 from kinvolk/iaguis/update-tcptracer-bpf

vendor: bump tcptracer-bpf

Fixes #2796
This commit is contained in:
Matthias Radestock
2018-01-29 18:27:42 +00:00
committed by GitHub
4 changed files with 6 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ type tcpTracerStatus C.struct_tcptracer_status_t
const (
// When reading kernel structs at different offsets, don't go over that
// limit. This is an arbitrary choice to avoid infinite loops.
threshold = 200
threshold = 400
// The source port is much further away in the inet sock.
thresholdInetSock = 2000

File diff suppressed because one or more lines are too long

View File

@@ -2,6 +2,7 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgnu-variable-sized-type-not-at-end"
#pragma clang diagnostic ignored "-Waddress-of-packed-member"
#include <linux/ptrace.h>
#pragma clang diagnostic pop
#include <linux/version.h>
@@ -12,6 +13,7 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wtautological-compare"
#pragma clang diagnostic ignored "-Wgnu-variable-sized-type-not-at-end"
#pragma clang diagnostic ignored "-Wenum-conversion"
#include <net/sock.h>
#pragma clang diagnostic pop
#include <net/inet_sock.h>

2
vendor/manifest vendored
View File

@@ -1029,7 +1029,7 @@
"importpath": "github.com/weaveworks/tcptracer-bpf",
"repository": "https://github.com/weaveworks/tcptracer-bpf",
"vcs": "git",
"revision": "e080bd747dc6b62d4ed3ed2b7f0be4801bef8faf",
"revision": "39eba460cc5d02d8f461b5d746ce2e06708b5430",
"branch": "master",
"notests": true
},