summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2022-04-19 01:32:07 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2022-04-19 01:32:07 +0000
commitcb93464babbbb92715d9da95ebc9dae317b4ca15 (patch)
treecc140fb70e5567d79389182f55b7fa9d3d1e3bd4 /sys
parent75762c89e07599218032e7b018a94c15f621901b (diff)
enable kstat(4) and kstat(1).
kstat allows the kernel to expose arbitrary data for userland to consume. currently this is used by some network card drivers to expose hardware counters they provide, and a bit by the network stack to show things like ifq counters. ok bluhm@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/GENERIC3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/GENERIC b/sys/conf/GENERIC
index 3a97d4095d1..06b21390811 100644
--- a/sys/conf/GENERIC
+++ b/sys/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.283 2022/04/05 18:38:07 naddy Exp $
+# $OpenBSD: GENERIC,v 1.284 2022/04/19 01:32:06 dlg Exp $
#
# Machine-independent option; used by all architectures for their
# GENERIC kernel
@@ -81,6 +81,7 @@ pseudo-device msts 1 # MSTS line discipline
pseudo-device endrun 1 # EndRun line discipline
pseudo-device vnd 4 # vnode disk devices
pseudo-device ksyms 1 # kernel symbols device
+pseudo-device kstat # kernel statistics device
# clonable devices
pseudo-device bpfilter # packet filter