kern_mib.c (72a492cacff2c61c71bf4ea178e0ca8f810d3b47) | kern_mib.c (ca916247cdab4aa84a7f00de7c39b9e8c933e581) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Mike Karels at Berkeley Software Design, Inc. 7 * 8 * Quite extensively rewritten by Poul-Henning Kamp of the FreeBSD --- 307 unchanged lines hidden (view full) --- 316#include <sys/vnode.h> 317SYSCTL_INT(_debug_sizeof, OID_AUTO, vnode, CTLFLAG_RD, 318 0, sizeof(struct vnode), "sizeof(struct vnode)"); 319 320SYSCTL_INT(_debug_sizeof, OID_AUTO, proc, CTLFLAG_RD, 321 0, sizeof(struct proc), "sizeof(struct proc)"); 322 323#include <sys/conf.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Mike Karels at Berkeley Software Design, Inc. 7 * 8 * Quite extensively rewritten by Poul-Henning Kamp of the FreeBSD --- 307 unchanged lines hidden (view full) --- 316#include <sys/vnode.h> 317SYSCTL_INT(_debug_sizeof, OID_AUTO, vnode, CTLFLAG_RD, 318 0, sizeof(struct vnode), "sizeof(struct vnode)"); 319 320SYSCTL_INT(_debug_sizeof, OID_AUTO, proc, CTLFLAG_RD, 321 0, sizeof(struct proc), "sizeof(struct proc)"); 322 323#include <sys/conf.h> |
324SYSCTL_INT(_debug_sizeof, OID_AUTO, specinfo, CTLFLAG_RD, 325 0, sizeof(struct specinfo), "sizeof(struct specinfo)"); | 324SYSCTL_INT(_debug_sizeof, OID_AUTO, cdev, CTLFLAG_RD, 325 0, sizeof(struct cdev), "sizeof(struct cdev)"); |
326 327#include <sys/bio.h> 328#include <sys/buf.h> 329SYSCTL_INT(_debug_sizeof, OID_AUTO, bio, CTLFLAG_RD, 330 0, sizeof(struct bio), "sizeof(struct bio)"); 331SYSCTL_INT(_debug_sizeof, OID_AUTO, buf, CTLFLAG_RD, 332 0, sizeof(struct buf), "sizeof(struct buf)"); 333 334#include <sys/user.h> 335SYSCTL_INT(_debug_sizeof, OID_AUTO, kinfo_proc, CTLFLAG_RD, 336 0, sizeof(struct kinfo_proc), "sizeof(struct kinfo_proc)"); | 326 327#include <sys/bio.h> 328#include <sys/buf.h> 329SYSCTL_INT(_debug_sizeof, OID_AUTO, bio, CTLFLAG_RD, 330 0, sizeof(struct bio), "sizeof(struct bio)"); 331SYSCTL_INT(_debug_sizeof, OID_AUTO, buf, CTLFLAG_RD, 332 0, sizeof(struct buf), "sizeof(struct buf)"); 333 334#include <sys/user.h> 335SYSCTL_INT(_debug_sizeof, OID_AUTO, kinfo_proc, CTLFLAG_RD, 336 0, sizeof(struct kinfo_proc), "sizeof(struct kinfo_proc)"); |