PMC_OP_CONFIGURELOG: cleanup logging process if aborting due to pm_flags
Reported by: pho
Fixes: 8e63e787ab
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e2340276fc
commit
42e70f4283
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user