aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2019-01-28 16:46:38 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-28 16:49:31 +0100
commitbd378861722b24889ffbf95f8ec877fe5f239906 (patch)
tree049a809fc8640e8bedf2c569517f07e567547fbc
parent629c2a2773c8b903343ce9e81405461efaca0660 (diff)
executor: fix remote coverage area size
It should be in number of words not in bytes.
-rw-r--r--executor/executor_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/executor_linux.h b/executor/executor_linux.h
index a1ef8bd4c..489fb56a5 100644
--- a/executor/executor_linux.h
+++ b/executor/executor_linux.h
@@ -91,7 +91,7 @@ static void cover_enable(cover_t* cov, bool collect_comps, bool extra)
memset(&arg, 0, sizeof(arg));
arg.trace_mode = kcov_mode;
// Coverage buffer size of remote threads.
- arg.area_size = kExtraCoverSize * (is_kernel_64_bit ? 8 : 4);
+ arg.area_size = kExtraCoverSize;
arg.num_handles = 1;
arg.handles[0] = kcov_remote_handle_usb(procid + 1);
arg.common_handle = procid + 1;