Page MenuHomeFreeBSD

D29887.diff
No OneTemporary

D29887.diff

diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -675,7 +675,7 @@
if (option == 'S' || option == 'P')
ev->ev_count = current_sampling_count ? current_sampling_count : pmc_pmu_sample_rate_get(ev->ev_spec);
else
- ev->ev_count = -1;
+ ev->ev_count = 0;
if (option == 'S' || option == 's')
ev->ev_cpu = CPU_FFS(&cpumask) - 1;

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 2, 1:38 AM (19 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34583268
Default Alt Text
D29887.diff (443 B)

Event Timeline