In kcov, how can I safely reset the *cover
buffer where is stored the coverage? I want to do something like this
while(1){ //kcov setup stuff... ioctl(fd, KCOV_ENABLE, KCOV_TRACE_PC) //syscall that triggers the coverage and fills cover[] n = __atomic_load_n(&cover[0], __ATOMIC_RELAXED); ioctl(fd, KCOV_DISABLE, 0)}