pmcstat: augment an error message
It also applies to the -t argument. Reviewed by: jkoshy MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39907
This commit is contained in:
parent
7253dc57a0
commit
bf66159342
@ -983,7 +983,7 @@ main(int argc, char **argv)
|
|||||||
if ((args.pa_required & FLAG_HAS_PROCESS_PMCS) &&
|
if ((args.pa_required & FLAG_HAS_PROCESS_PMCS) &&
|
||||||
(args.pa_flags & FLAG_HAS_PROCESS_PMCS) == 0)
|
(args.pa_flags & FLAG_HAS_PROCESS_PMCS) == 0)
|
||||||
errx(EX_USAGE,
|
errx(EX_USAGE,
|
||||||
"ERROR: options -d, -E, and -W require a process mode PMC to be specified."
|
"ERROR: options -d, -E, -t, and -W require a process mode PMC to be specified."
|
||||||
);
|
);
|
||||||
|
|
||||||
/* check for -c cpu with no system mode PMCs or logfile. */
|
/* check for -c cpu with no system mode PMCs or logfile. */
|
||||||
|
Loading…
Reference in New Issue
Block a user