aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_bsd.h
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@basename.se>2020-08-02 08:54:32 +0200
committerAnton Lindqvist <anton@basename.se>2020-08-02 08:56:44 +0200
commit63a7334112fa63edb0c0a3f317d3d92135a6ead9 (patch)
treeb9ca3f9233910f85be6f528b26e55365707d3afc /executor/executor_bsd.h
parent96dd36234d97bbf6b403f3a7f03cfc0296422879 (diff)
Revert "executor: enable extra coverage on OpenBSD"
Forgot that the build machine must be updated with a newer OpenBSD snapshot first in order to make the new kcov stuff available. This reverts commit 96dd36234d97bbf6b403f3a7f03cfc0296422879.
Diffstat (limited to 'executor/executor_bsd.h')
-rw-r--r--executor/executor_bsd.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/executor/executor_bsd.h b/executor/executor_bsd.h
index 1ca0e4ea4..d3ef16bce 100644
--- a/executor/executor_bsd.h
+++ b/executor/executor_bsd.h
@@ -66,13 +66,6 @@ static void cover_open(cover_t* cov, bool extra)
unsigned long cover_size = kCoverSize;
if (ioctl(cov->fd, KIOSETBUFSIZE, &cover_size))
fail("ioctl init trace write failed");
- if (extra) {
- struct kio_remote_attach args;
- args.subsystem = KCOV_REMOTE_COMMON;
- args.id = 0;
- if (ioctl(cov->fd, KIOREMOTEATTACH, &args))
- fail("ioctl remote attach failed");
- }
size_t mmap_alloc_size = kCoverSize * (is_kernel_64_bit ? 8 : 4);
#elif GOOS_netbsd
uint64_t cover_size;
@@ -142,8 +135,6 @@ static void cover_enable(cover_t* cov, bool collect_comps, bool extra)
exitf("cover enable write trace failed, mode=%d", kcov_mode);
#elif GOOS_openbsd
// OpenBSD uses an pointer to an int as the third argument.
- // Whether it is a regular coverage or an extra coverage, the enable
- // ioctl is the same.
if (ioctl(cov->fd, KIOENABLE, &kcov_mode))
exitf("cover enable write trace failed, mode=%d", kcov_mode);
#elif GOOS_netbsd