Peter Wemm
c4a7cdb3b6
Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling
...
and is module aware. Yes, this means that kvm_nlist(3) will find symbols
in loaded modules. The emulation of the nlist struct is pretty crude but
seems to work well enough for all the users in the tree that I found.
1999-12-27 07:14:58 +00:00
Poul-Henning Kamp
c464420c89
Report swapdevices as cdevs rather than bdevs.
...
Remove unused dev2budev() function.
1999-11-29 21:37:18 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Peter Wemm
bf0e1ee370
Tidy up references to <sys/rlist.h> and support for the old swap management
...
that went away in January.
1999-05-11 14:32:18 +00:00
Dmitrij Tejblum
bd54ec1edf
From rev. 1.12 of usr.sbin/pstat/pstat.c by phk:
...
Reflect the fact that we do not swap on the first <dmmax> blocks of a
swapdev, to protect disklabels and other such magic stuff.
1999-02-14 21:42:05 +00:00
Matthew Dillon
f3401d0c26
Handle case where no swap is configured
1999-02-06 06:31:57 +00:00
Bruce Evans
45908a6a19
Removed evil typedef kvm_swap_t and all uses of it (not many).
...
Hoped for by: wollman
1999-01-27 11:29:15 +00:00
Matthew Dillon
876c5c1135
Fix swap radix tree dump formatting ( pstat -ss ), it was printing the
...
wrong radix for recursive subnodes.
1999-01-25 04:07:07 +00:00
Matthew Dillon
a14dedd13c
Add SWIF_DEV_PREFIX flag to add "/dev/..." to device name.
1999-01-22 10:57:03 +00:00
Matthew Dillon
e92324a21e
Implement kvm_getswapinfo() libkvm function. Will be used by
...
pstat, top, and systat.
1999-01-22 10:36:04 +00:00