Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153622515
D29887.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
443 B
Referenced Files
None
Subscribers
None
D29887.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 23, 10:15 AM (9 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32019271
Default Alt Text
D29887.diff (443 B)
Attached To
Mode
D29887: pmcstat: set initial counter value to zero
Attached
Detach File
Event Timeline
Log In to Comment