From nobody Fri Jun 09 19:58:12 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QdBhh69Nsz4cK30; Fri, 9 Jun 2023 19:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QdBhh3vbKz4JdX; Fri, 9 Jun 2023 19:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686340692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cFs8Cea6ru2B0Y41ukAPpW5HDflemDh4sHNM9imTBkk=; b=pRyVQY2jsYXS4ZSstTVjt9IQhftEsmQQ6AUVxKiVQCA6dLCDBI100QF67+oF2o3zVT3ttl B6Vcl+ifEmMjwvHeGhYjwGHBkxCoQeUsgazZkz5e8zB8H1wSYYpJCt+dIJtix8h5TDcV3B r3C5HMsk+KhXLjHSPFECHNr1kGtmW/1AZrVqu4XvZX1uCV4rlpnXsI/mNIwLJbpLYbWKi/ 6qBiqXbiWojIFPpgDb1qGW+wK8VfUckeyZL0hpnTq8sjHT0a5cVhPH8INzJha+QgoRzrDD UyjQdRiTjEUG0BLGPy1b8lnxRTxzW8gEyArfSSeQPl6vsVuwsWEnSQ79ZiorBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686340692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cFs8Cea6ru2B0Y41ukAPpW5HDflemDh4sHNM9imTBkk=; b=jhw6QrElOFHni86Y9/6nwDNw5tRgDX5gs12ZVCWOyO+p2hXSC2vYXeD3QpmYcEOOX0r204 cGjqD2eOkpu2y+YJTMKzoX2lD9xaYRTKxRTBw4v3FccZ+sDmQd1Y05K69nFNswNb52+4nr dQQcRaqEO+XSXTkzw3c4aX/5eHJibUq5mbzDFiyUP2f747ai9xw2/C2E1ofa6KSSZxPBBu lEgOzDFZAlnAutXACHmuQMlthDBW9YGlyYB3pq8qh4GuTCdURNmbJM2rtRqWyK9dQm6W2S 1mwhLqrvK4VTBSEU5zuap511brosYyO5ixiu5lwgXjXV1LU2GtulF2K8u2Sk8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686340692; a=rsa-sha256; cv=none; b=wHSfiz5Xcc5yiRTx+QMe2Ca2HmSCfUaM7xCEkqcrbHYXFzs0vltc9NDCKyzdJfye7tYxdf rCJ6yp0kBSnwKkS6jGtIKbwvY1LwVKBmjnw8BE0ul0d/aeRDysCn4Ay3lU4LLkmWXDtjGI 8xjp31zksjZxQNIrFHUKB/F7smLgei5SfJafH6QkbLeLIRyxWop+9PbJuNolPgiNqE7D8V a+Ck21by8+gWwY7MuVvjKrGjnkKVDtPmAxSLXFmSDW9ze0MQYO1mm8o2a52xQKlXPJYrYW /kbGMWTGwer2/29eWlRyGxC6BOXyNu/NWLp/75C4p7lMkp9bGuIo4UcLqMxing== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QdBhh307Gzp01; Fri, 9 Jun 2023 19:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 359JwCNo072239; Fri, 9 Jun 2023 19:58:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 359JwCkF072238; Fri, 9 Jun 2023 19:58:12 GMT (envelope-from git) Date: Fri, 9 Jun 2023 19:58:12 GMT Message-Id: <202306091958.359JwCkF072238@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: e6246bd85ae0 - stable/13 - pmcstat: augment an error message List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e6246bd85ae030091ad3cbafc3d9196820a537c8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=e6246bd85ae030091ad3cbafc3d9196820a537c8 commit e6246bd85ae030091ad3cbafc3d9196820a537c8 Author: Mitchell Horne AuthorDate: 2023-05-05 21:58:23 +0000 Commit: Mitchell Horne CommitDate: 2023-06-09 18:14:59 +0000 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 bf66159342e86b1dba02f1c463b47dd96fb09969) --- usr.sbin/pmcstat/pmcstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c index 3e2d101ab113..9e8d3b6994a8 100644 --- a/usr.sbin/pmcstat/pmcstat.c +++ b/usr.sbin/pmcstat/pmcstat.c @@ -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. */