aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ipc
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-01-16 14:50:43 +0100
committerAndrey Konovalov <andreyknvl@gmail.com>2019-01-16 19:19:53 +0100
commitc2faf9b2d5b583f53d01b8b483e26b61ed72cbbf (patch)
tree8223752709973ec927c4291fda3f3341a5ef0ea6 /pkg/ipc
parentb5df78dc5d994bc61f1ecee2c5c85313178f392e (diff)
all: detect extra coverage support
Based on whether the kernel supports KCOV_REMOTE_ENABLE ioctl.
Diffstat (limited to 'pkg/ipc')
-rw-r--r--pkg/ipc/ipc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ipc/ipc.go b/pkg/ipc/ipc.go
index b3799ebfb..f54cfa8d3 100644
--- a/pkg/ipc/ipc.go
+++ b/pkg/ipc/ipc.go
@@ -34,6 +34,7 @@ const (
FlagEnableTun // initialize and use tun in executor
FlagEnableNetDev // setup a bunch of various network devices for testing
FlagEnableFault // enable fault injection support
+ FlagExtraCover // collect extra coverage
// Executor does not know about these:
FlagUseShmem // use shared memory instead of pipes for communication
FlagUseForkServer // use extended protocol with handshake