1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

Export the head structure for the device statistics STAILQ in

sys/devicestat.h, so that the queue can be walked in crashdumps using
libkvm.
This commit is contained in:
Thomas Moestl 2001-08-04 18:02:47 +00:00
parent e43cc4ae36
commit 938a4e5c0c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81129
2 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,7 @@ static long devstat_generation;
static int devstat_version = DEVSTAT_VERSION;
static int devstat_current_devnumber;
static STAILQ_HEAD(devstatlist, devstat) device_statq;
static struct devstatlist device_statq;
/*
* Take a malloced and zeroed devstat structure given to us, fill it in

View File

@ -205,6 +205,8 @@ struct devstat {
devstat_priority priority; /* Controls list pos. */
};
STAILQ_HEAD(devstatlist, devstat);
#ifdef _KERNEL
struct bio;