svn commit: r279789 - head/cddl/contrib/dtracetoolkit/Proc

George V. Neville-Neil gnn at FreeBSD.org
Sun Mar 8 21:51:38 UTC 2015


Author: gnn
Date: Sun Mar  8 21:51:37 2015
New Revision: 279789
URL: https://svnweb.freebsd.org/changeset/base/279789

Log:
  Summary: Remove the need for `mpid which is Illumos/Solaris specific.

Modified:
  head/cddl/contrib/dtracetoolkit/Proc/pidpersec.d

Modified: head/cddl/contrib/dtracetoolkit/Proc/pidpersec.d
==============================================================================
--- head/cddl/contrib/dtracetoolkit/Proc/pidpersec.d	Sun Mar  8 21:17:56 2015	(r279788)
+++ head/cddl/contrib/dtracetoolkit/Proc/pidpersec.d	Sun Mar  8 21:51:37 2015	(r279789)
@@ -41,7 +41,7 @@
 
 dtrace:::BEGIN
 {
-	printf("%-22s %8s %6s\n", "TIME", "LASTPID", "PID/s");
+	printf("%-22s %6s\n", "TIME", "PID/s");
 	pids = 0;
 }
 
@@ -52,6 +52,6 @@ proc:::exec-success
 
 profile:::tick-1sec
 {
-	printf("%-22Y %8d %6d\n", walltimestamp, `mpid, pids);
+	printf("%-22Y %6d\n", walltimestamp, pids);
 	pids = 0;
 }


More information about the svn-src-head mailing list