summaryrefslogtreecommitdiffstats
path: root/sys/sys/devicestat.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-08-04 18:02:47 +0000
committertmm <tmm@FreeBSD.org>2001-08-04 18:02:47 +0000
commit77704f41cdea005959ec441c3728a500a02017d1 (patch)
treecd02bda4841fff2afb84ea98ec890c54e86bfdf5 /sys/sys/devicestat.h
parent215c0c107efbdc79c1fc7eb07321d5285fc338d2 (diff)
downloadFreeBSD-src-77704f41cdea005959ec441c3728a500a02017d1.zip
FreeBSD-src-77704f41cdea005959ec441c3728a500a02017d1.tar.gz
Export the head structure for the device statistics STAILQ in
sys/devicestat.h, so that the queue can be walked in crashdumps using libkvm.
Diffstat (limited to 'sys/sys/devicestat.h')
-rw-r--r--sys/sys/devicestat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h
index b3e7f7f..b7becea 100644
--- a/sys/sys/devicestat.h
+++ b/sys/sys/devicestat.h
@@ -205,6 +205,8 @@ struct devstat {
devstat_priority priority; /* Controls list pos. */
};
+STAILQ_HEAD(devstatlist, devstat);
+
#ifdef _KERNEL
struct bio;
OpenPOWER on IntegriCloud