NetBSD/tests/modules
kamil f43e07b7f7 Add support for trace type selection in kcov(4)
Allow to specify mode in KCOV_IOC_ENABLE synchronizing the functionality
with Linux, FreeBSD and OpenBSD. As a NetBSD (and OpenBSD) specific of
the ioctl(2) interface, the mode argument has to be specified as &value
rather than value.

There are 3 modes available:
 1. KCOV_MODE_NONE       -- no trace specified, useful for testing purposes
 2. KCOV_MODE_TRACE_PC   -- trace the kernel program counter
 3. KCOV_MODE_TRACE_CMP  -- trace comparison instructions and switch statements

Adapt the ATF tests and documentation for new API.

The KCOV_MODE_TRACE_CMP mode is implemented but still awaits for the
GCC 8.x upgrade or selection of Clang/LLVM as the kernel compiler.

Obtained from OpenBSD and adapted for NetBSD by myself.
2019-03-10 17:51:00 +00:00
..
k_helper
k_helper2
k_helper3
k_uvm
threadpool_tester PR/53908: Alex Raschi: Test that require modules belong in modules; move the 2019-01-25 18:33:58 +00:00
Makefile Add KCOV - kernel code coverage tracing device 2019-02-23 03:10:05 +00:00
Makefile.inc
t_abi_uvm.sh
t_builtin.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
t_kcov.c Add support for trace type selection in kcov(4) 2019-03-10 17:51:00 +00:00
t_klua_pr_52864.sh Skip the test on non-modular kernels 2018-01-09 15:16:02 +00:00
t_modctl.c Merge the [pgoyette-compat] branch 2019-01-27 02:08:33 +00:00
t_modload.sh
t_threadpool.sh PR/53908: Alex Raschi: One more file needs to move. 2019-01-25 18:34:45 +00:00