From nobody Sat May 06 17:49:44 2023 X-Original-To: dev-commits-src-main@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 4QDFS86Tw3z49sqw; Sat, 6 May 2023 17:49:44 +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 4QDFS85z00z3Fvl; Sat, 6 May 2023 17:49:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683395384; 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=4nWuze1QBr54MbGv4N7djvR8lC6DO/UInv3QEeGExsw=; b=cA283xv2VS7ldmna4Q/YvFn5ME1T53AIQdxj0VC2XkJgO8Nj5MMMJs+e5WDdWFykBmKckT pPPP5Ufe2hrEoJrKmYNZGwIucKnOmnfTXaW1qTror5zKTpfekOxlefPM9lFrl5cOx05dvF AE6JNZco/IVdsOTgQH13mN8sY+pf4JhAm+EAiRyNkgpD+3vMD2LMb1UvlatqBmgps6MM0c LRhI92FwpHuapBjWXympOuR1H37pm/8zVOEvvXTN+TYnUTPBT2kHQL1RFsM84R9ZA2OmZU NBefBvUliI8YvAbkZV+bUZVp29RnCdF0XEPFx3PazWD/Wm3H5rFv0eB+gvbM9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683395384; 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=4nWuze1QBr54MbGv4N7djvR8lC6DO/UInv3QEeGExsw=; b=RoTYzVfsAcHhv+DLEgkKm1LKn6tzANFF+kclns7w7Q68zmWOfG5a/Z9sqzC/T/VSxZKfGi ZLuLisleuG6Z5KcQqjUr7iiI56gIYocD5waVxbuVvV68ZPHE9Osel4I5Pswwi5hIZBGg21 5VZR60NgO7SoXT5SPF2SOD3Lj9E+O65eZ4SdOScPyO9fCapNB1hG8klfOQZadzU/g+l7As i1fNhrcgcDW1KGSAkN5VsbU7qlgoLrisrTarK4rBCUSX4iZMi5io8ycbS74qc4qqmQXZuZ riiy3+iZ0+HTPBZSjILKJtUt5obzfxJPFZuWsq+m3XS66HqVMDnkPfQ/NY6OKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683395384; a=rsa-sha256; cv=none; b=ddw6GheXF/3VOJNdaj7T+BDDHPXR7FbsvA9YnjwX8EYKekQnNK2mpIStBXje6/uFQKGU49 H2iQWYBc7dRJrjXb9b6Rhty4+A1dUwf3uvZqrOCNFgCl9AzSiodoA7CKS+z37GDZ0yiiZS w66ads3APenBOP+yCT647o+Koi1rNHrV8KUKxLbuUGW3/1PlTgZjuAOiVXv+NwNqcsoKu3 4+zJlOP2wlh+eyxOaxgzUEIV0xJNKqsn9El0GHGXWFDOq0zga6J8wuti1NjNrO6y8ri4Ph gNmISD4tphQLURcb68shlZgrN3rWHWMmB2Kpk5fJV7fVkaYA3SZWa3JSUYLD5A== 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 4QDFS84jjTzlgl; Sat, 6 May 2023 17:49:44 +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 346Hni79017935; Sat, 6 May 2023 17:49:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 346HniGp017934; Sat, 6 May 2023 17:49:44 GMT (envelope-from git) Date: Sat, 6 May 2023 17:49:44 GMT Message-Id: <202305061749.346HniGp017934@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: bf66159342e8 - main - pmcstat: augment an error message List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: bf66159342e86b1dba02f1c463b47dd96fb09969 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=bf66159342e86b1dba02f1c463b47dd96fb09969 commit bf66159342e86b1dba02f1c463b47dd96fb09969 Author: Mitchell Horne AuthorDate: 2023-05-05 21:58:23 +0000 Commit: Mitchell Horne CommitDate: 2023-05-06 17:49:19 +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 --- 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 81fa4c75d58e..ed3ee70e20ce 100644 --- a/usr.sbin/pmcstat/pmcstat.c +++ b/usr.sbin/pmcstat/pmcstat.c @@ -983,7 +983,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. */