From bd378861722b24889ffbf95f8ec877fe5f239906 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Mon, 28 Jan 2019 16:46:38 +0100 Subject: executor: fix remote coverage area size It should be in number of words not in bytes. --- executor/executor_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit mrf-deployment