FreeBSD Bugzilla – Attachment 156483 Details for
Bug 198149
[hwpmc] pmcstat -P -t (top mode, process sampling) stops after a while
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
second_hack.patch
file_198149.txt (text/plain), 571 bytes, created by
John Baldwin
on 2015-05-08 00:20:36 UTC
(
hide
)
Description:
second_hack.patch
Filename:
MIME Type:
Creator:
John Baldwin
Created:
2015-05-08 00:20:36 UTC
Size:
571 bytes
patch
obsolete
>diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c >index 58aed3e..d6bf900 100644 >--- a/sys/dev/hwpmc/hwpmc_mod.c >+++ b/sys/dev/hwpmc/hwpmc_mod.c >@@ -1435,7 +1435,7 @@ pmc_process_csw_out(struct thread *td) > tmp += pm->pm_sc.pm_reloadcount; > mtx_pool_lock_spin(pmc_mtxpool, pm); > pp->pp_pmcs[ri].pp_pmcval -= tmp; >- if ((int64_t) pp->pp_pmcs[ri].pp_pmcval < 0) >+ if ((int64_t) pp->pp_pmcs[ri].pp_pmcval <= 0) > pp->pp_pmcs[ri].pp_pmcval += > pm->pm_sc.pm_reloadcount; > mtx_pool_unlock_spin(pmc_mtxpool, pm);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198149
:
156213
|
156477
| 156483