Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 12:18:39 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r234602 - stable/9/usr.bin/vmstat
Message-ID:  <201204231218.q3NCIdS8097244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Mon Apr 23 12:18:38 2012
New Revision: 234602
URL: http://svn.freebsd.org/changeset/base/234602

Log:
  MFC r233298:
   Garbage collect defunct nlist(3) symbols.

Modified:
  stable/9/usr.bin/vmstat/vmstat.c
Directory Properties:
  stable/9/usr.bin/vmstat/   (props changed)

Modified: stable/9/usr.bin/vmstat/vmstat.c
==============================================================================
--- stable/9/usr.bin/vmstat/vmstat.c	Mon Apr 23 09:39:39 2012	(r234601)
+++ stable/9/usr.bin/vmstat/vmstat.c	Mon Apr 23 12:18:38 2012	(r234602)
@@ -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
 	{ "" },
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204231218.q3NCIdS8097244>