aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/vmstat
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@FreeBSD.org>2012-03-22 09:47:14 +0000
committerSergey Kandaurov <pluknet@FreeBSD.org>2012-03-22 09:47:14 +0000
commit2d780dbb4b10834e1bb15d4eeb3e641c5211ef3c (patch)
tree924767029459526f04ecc8d56be109284b7b973c /usr.bin/vmstat
parent130b34304899bff285a8c9c0c6a9c5a7910ce571 (diff)
downloadsrc-2d780dbb4b10834e1bb15d4eeb3e641c5211ef3c.tar.gz
src-2d780dbb4b10834e1bb15d4eeb3e641c5211ef3c.zip
Garbage collect defunct nlist(3) symbols.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=233298
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r--usr.bin/vmstat/vmstat.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 9055ed22052e..fe3a29cee25e 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -81,26 +81,20 @@ static char da[] = "da";
static struct nlist namelist[] = {
#define X_SUM 0
{ "_cnt" },
-#define X_BOOTTIME 1
- { "_boottime" },
-#define X_HZ 2
+#define X_HZ 1
{ "_hz" },
-#define X_STATHZ 3
+#define X_STATHZ 2
{ "_stathz" },
-#define X_NCHSTATS 4
+#define X_NCHSTATS 3
{ "_nchstats" },
-#define X_INTRNAMES 5
+#define X_INTRNAMES 4
{ "_intrnames" },
-#define X_SINTRNAMES 6
+#define X_SINTRNAMES 5
{ "_sintrnames" },
-#define X_INTRCNT 7
+#define X_INTRCNT 6
{ "_intrcnt" },
-#define X_SINTRCNT 8
+#define X_SINTRCNT 7
{ "_sintrcnt" },
-#define X_KMEMSTATS 9
- { "_kmemstatistics" },
-#define X_KMEMZONES 10
- { "_kmemzones" },
#ifdef notyet
#define X_DEFICIT XXX
{ "_deficit" },
@@ -112,7 +106,7 @@ static struct nlist namelist[] = {
{ "_xstats" },
#define X_END XXX
#else
-#define X_END 11
+#define X_END 8
#endif
{ "" },
};