hwpmc: don't log pid->name more than once
This commit is contained in:
parent
a2a3facbc2
commit
117afa3d3a
@ -1821,7 +1821,8 @@ pmc_log_kernel_mappings(struct pmc *pm)
|
|||||||
|
|
||||||
if (po->po_flags & PMC_PO_INITIAL_MAPPINGS_DONE)
|
if (po->po_flags & PMC_PO_INITIAL_MAPPINGS_DONE)
|
||||||
return;
|
return;
|
||||||
|
if (PMC_TO_MODE(pm) == PMC_MODE_SS)
|
||||||
|
pmc_process_allproc(pm);
|
||||||
/*
|
/*
|
||||||
* Log the current set of kernel modules.
|
* Log the current set of kernel modules.
|
||||||
*/
|
*/
|
||||||
@ -4041,8 +4042,7 @@ pmc_syscall_handler(struct thread *td, void *syscall_args)
|
|||||||
pmc = NULL;
|
pmc = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (mode == PMC_MODE_SS)
|
|
||||||
pmc_process_allproc(pmc);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return the allocated index.
|
* Return the allocated index.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user