Date: Fri, 2 Oct 2015 14:16:38 +0000 (UTC) From: Eric van Gyzen <vangyzen@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: r288496 - stable/9/usr.sbin/pmcstat Message-ID: <201510021416.t92EGc3V023840@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vangyzen Date: Fri Oct 2 14:16:37 2015 New Revision: 288496 URL: https://svnweb.freebsd.org/changeset/base/288496 Log: MFC r280793 pmcstat.8: The -m flag requires the -R flag. Approved by: kib (mentor until recently) Sponsored by: Dell Inc. Modified: stable/9/usr.sbin/pmcstat/pmcstat.8 stable/9/usr.sbin/pmcstat/pmcstat.c Directory Properties: stable/9/usr.sbin/pmcstat/ (props changed) Modified: stable/9/usr.sbin/pmcstat/pmcstat.8 ============================================================================== --- stable/9/usr.sbin/pmcstat/pmcstat.8 Fri Oct 2 14:11:44 2015 (r288495) +++ stable/9/usr.sbin/pmcstat/pmcstat.8 Fri Oct 2 14:16:37 2015 (r288496) @@ -279,6 +279,12 @@ is a this information is sent to the output file specified by the .Fl o option. +This option requires the +.Fl R +option to read in samples that were previously collected and +saved with the +.Fl O +option. .It Fl n Ar rate Set the default sampling rate for subsequent sampling mode PMCs specified on the command line. Modified: stable/9/usr.sbin/pmcstat/pmcstat.c ============================================================================== --- stable/9/usr.sbin/pmcstat/pmcstat.c Fri Oct 2 14:11:44 2015 (r288495) +++ stable/9/usr.sbin/pmcstat/pmcstat.c Fri Oct 2 14:16:37 2015 (r288496) @@ -935,7 +935,7 @@ main(int argc, char **argv) errx(EX_USAGE, "ERROR: options -T and -l are mutually " "exclusive."); - /* -m option is allowed with -R only. */ + /* -m requires -R */ if (args.pa_flags & FLAG_DO_ANNOTATE && args.pa_inputpath == NULL) errx(EX_USAGE, "ERROR: option -m requires an input file");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510021416.t92EGc3V023840>