svn commit: r334131 - head/usr.sbin/pmcstat

Matt Macy mmacy at FreeBSD.org
Thu May 24 04:43:41 UTC 2018


Author: mmacy
Date: Thu May 24 04:43:40 2018
New Revision: 334131
URL: https://svnweb.freebsd.org/changeset/base/334131

Log:
  pmcstat: don't compare signed and unsigned

Modified:
  head/usr.sbin/pmcstat/pmcstat.c

Modified: head/usr.sbin/pmcstat/pmcstat.c
==============================================================================
--- head/usr.sbin/pmcstat/pmcstat.c	Thu May 24 04:38:17 2018	(r334130)
+++ head/usr.sbin/pmcstat/pmcstat.c	Thu May 24 04:43:40 2018	(r334131)
@@ -425,7 +425,7 @@ main(int argc, char **argv)
 	double interval;
 	double duration;
 	int option, npmc;
-	int c, check_driver_stats, current_sampling_count;
+	int c, check_driver_stats; 
 	int do_callchain, do_descendants, do_logproccsw, do_logprocexit;
 	int do_print, do_read;
 	size_t len;
@@ -433,6 +433,7 @@ main(int argc, char **argv)
 	int pipefd[2], rfd;
 	int use_cumulative_counts;
 	short cf, cb;
+	uint64_t current_sampling_count;
 	char *end, *tmp;
 	const char *errmsg, *graphfilename;
 	enum pmcstat_state runstate;


More information about the svn-src-all mailing list