From nobody Mon Aug 21 10:32:07 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 4RTpgq6Qt8z4qZv8; Mon, 21 Aug 2023 10:32:07 +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 4RTpgq5xjZz4PQG; Mon, 21 Aug 2023 10:32:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692613927; 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=zDm1Mv2PG4fR0eVknCNjaX0IssPw1fBf49JiJou7ztM=; b=nfavmoGbdDe9awhzAxjJloD9EFjjkVGJM16TBFwJdBQDp9TLgeXS25UgXzaWk5sBMX+EPi RnLi8r7TFgbvrpaHKY5Py99MC/r6WqOjYp0OtVyzTJ/Ye1OaxxRwD0RyCNpkBhtf1v6ewv yXTNUm6gDmv44fnrbuE3gJkGv8XU4ToHDRhZM1RGrbQD8nsDDZKcEAicd76UF+15hsrNK1 3Lri68QAEzJEF76buicffi621x3rG67a6dq5VFNN+I6dQRc0DauVX7wKYYOXGH3GIhIVgr Nsw7//04KPtwccuDs7fzW+56G6oVLKCHPUKy3GoytfUnIhXc0PkE8+ry6K9vWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692613927; 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=zDm1Mv2PG4fR0eVknCNjaX0IssPw1fBf49JiJou7ztM=; b=xFk0bX26yfESueJXaN8sp+zRpwHnuVoirHPmShoHGJRNkYJZ/wZ4qvQLYcsiarGKyBGAyk bgVU1S2HABAfyNNne6XOwhPvvyyXEWxWklM9eu0+81XkVZN8fPf7koTRTx4mR2h0HOYexx 8MPdpFoTPaM3kz9Kz7zlva3Q2wvQW+R+zXJMf91XnQ5Tc4lQaW+wQRy4rMjx1xNsEBR52P fXheJ7M/S27RytwiNi7zCipRY2m+Rj9/w6u9QIr44wLGmxtRO8kxbW0H1MhJKm+iZ+c9df iH9KG2NcDjEv32F+/2HhYoP+nVrY2nlJORAZLAqoPQXYwdWIs9Fqz5RIFQL89w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692613927; a=rsa-sha256; cv=none; b=F33ACZYxDY/9/zmCy6u01pm8hfgpjwvu7eA21L19tWonD4ZM3ghPVhcgGU4/FSvd4GKduZ lkzLCQTHPigyhnvjXwyzZ9Reb02j/E44GaYNWtuTODba4jCk/4BYK14RGR62vhVOsBHpmI MD+IN/MVGBavMbdd/cyAV/dDU96JJBKs8yMCLryYJBcPjmqZGxzkYugxDObe9vRDEftuF4 UIJXhJwHEg5pdc6wBMW4kPJ5uCOf5VjA28q6AndbuqyqmiDlI/Nqm7NrAkAhdpGaztiVdR MEcNC/T3heMkwzyInTFOcnnLufJgtcMATpnJouXSnd4rHW08FL+X1+DxVRQ1+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RTpgq51CFz35V; Mon, 21 Aug 2023 10:32:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37LAW71X031689; Mon, 21 Aug 2023 10:32:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37LAW7KP031686; Mon, 21 Aug 2023 10:32:07 GMT (envelope-from git) Date: Mon, 21 Aug 2023 10:32:07 GMT Message-Id: <202308211032.37LAW7KP031686@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 42e70f4283e2 - main - PMC_OP_CONFIGURELOG: cleanup logging process if aborting due to pm_flags 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 42e70f4283e2f8f003e2cd9dd0774c35ab5c09b4 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=42e70f4283e2f8f003e2cd9dd0774c35ab5c09b4 commit 42e70f4283e2f8f003e2cd9dd0774c35ab5c09b4 Author: Konstantin Belousov AuthorDate: 2023-08-20 20:16:58 +0000 Commit: Konstantin Belousov CommitDate: 2023-08-21 10:31:06 +0000 PMC_OP_CONFIGURELOG: cleanup logging process if aborting due to pm_flags Reported by: pho Fixes: 8e63e787abbd69d29e55e2e0b2aa0aa624339f3b Sponsored by: The FreeBSD Foundation --- sys/dev/hwpmc/hwpmc_mod.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c index 1d85c76b3f9b..b429f713b09c 100644 --- a/sys/dev/hwpmc/hwpmc_mod.c +++ b/sys/dev/hwpmc/hwpmc_mod.c @@ -3821,6 +3821,7 @@ pmc_syscall_handler(struct thread *td, void *syscall_args) /* No flags currently implemented */ if (cl.pm_flags != 0) { + pmclog_proc_ignite(pmclog_proc_handle, NULL); error = EINVAL; break; }