git: 42e70f4283e2 - main - PMC_OP_CONFIGURELOG: cleanup logging process if aborting due to pm_flags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Aug 2023 10:32:07 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=42e70f4283e2f8f003e2cd9dd0774c35ab5c09b4 commit 42e70f4283e2f8f003e2cd9dd0774c35ab5c09b4 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-08-20 20:16:58 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> 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; }