diff options
author | 2020-08-01 08:40:20 +0000 | |
---|---|---|
committer | 2020-08-01 08:40:20 +0000 | |
commit | 8430bc4bce9f93dce843b53971377b7afd96cdb1 (patch) | |
tree | 082994ce8acc21a36ea74534f8ccfd35ba9bc855 /gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python | |
parent | update currency exchange rates; (diff) | |
download | wireguard-openbsd-8430bc4bce9f93dce843b53971377b7afd96cdb1.tar.xz wireguard-openbsd-8430bc4bce9f93dce843b53971377b7afd96cdb1.zip |
Add support for remote coverage to kcov. Remote coverage is collected
from threads other than the one currently having kcov enabled. A thread
with kcov enabled occasionally delegates work to another thread,
collecting coverage from such threads improves the ability of syzkaller
to correlate side effects in the kernel caused by issuing a syscall.
Remote coverage is divided into subsystems. The only supported subsystem
right now collects coverage from scheduled tasks and timeouts on behalf
of a kcov enabled thread. In order to make this work `struct task' and
`struct timeout' must be extended with a new field keeping track of the
process that scheduled the task/timeout. Both aforementioned structures
have therefore increased with the size of a pointer on all
architectures.
The kernel API is documented in a new kcov_remote_register(9) manual.
Remote coverage is also supported by kcov on NetBSD and Linux.
ok mpi@
Diffstat (limited to 'gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions