Avoid using atomics as it_wait is guarded by td_lock.
Report threshold calculation is done only if at least one PMC hook
is installed
- there will be another patch with pmc.soft(3) update
Differential D32025
hwpmc: fix performance issues wma on Sep 20 2021, 11:13 AM. Authored by Tags None Referenced Files
Subscribers None
Details
Avoid using atomics as it_wait is guarded by td_lock. Report threshold calculation is done only if at least one PMC hook
Diff Detail
Event TimelineComment Actions You should always modify the conter, but only do branch on stuff depending on PMC_HOOK_INSTALLED_ANY
Comment Actions OK, so if I got your point, you meant
right? |