Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 04:43:40 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334131 - head/usr.sbin/pmcstat
Message-ID:  <201805240443.w4O4hekA010886@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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