Rework kcov kernel config. Instead of treating kcov as both an option and a
authoranton <anton@openbsd.org>
Tue, 21 Aug 2018 18:06:12 +0000 (18:06 +0000)
committeranton <anton@openbsd.org>
Tue, 21 Aug 2018 18:06:12 +0000 (18:06 +0000)
commit87cdf1399c3d4abc5b9cad44f1112974317a9491
tree6fd5373499830fdda7e02e34031fff8d08b4a508
parent777e98f2f294438651c0e377297c0dab70e230a5
Rework kcov kernel config. Instead of treating kcov as both an option and a
pseudo-device, get rid of the option. Enabling kcov now requires the following
line to be added to the kernel config:

  pseudo-device kcov 1

This is how pseudo devices are enabled in general. A side-effect of this change
is that dev/kcov.c will no longer be compiled by default.

Prodded by deraadt@; ok mpi@ visa@
sys/arch/amd64/conf/GENERIC
sys/arch/amd64/conf/Makefile.amd64
sys/arch/amd64/conf/files.amd64
sys/arch/i386/conf/GENERIC
sys/arch/i386/conf/Makefile.i386
sys/arch/i386/conf/files.i386
sys/conf/files
sys/dev/kcov.c
sys/kern/kern_exit.c