mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 20:37:06 +00:00
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
(cherry picked from commit bf66159342
)
This commit is contained in:
parent
9520dca1ce
commit
e6246bd85a
|
@ -923,7 +923,7 @@ main(int argc, char **argv)
|
|||
if ((args.pa_required & FLAG_HAS_PROCESS_PMCS) &&
|
||||
(args.pa_flags & FLAG_HAS_PROCESS_PMCS) == 0)
|
||||
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. */
|
||||
|
|
Loading…
Reference in a new issue