[Bug 230985] pmcstat triggers assertion "pmcval outside of expected range"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 14 01:30:28 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230985
--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:
Author: mmacy
Date: Fri Sep 14 01:30:06 UTC 2018
New revision: 338677
URL: https://svnweb.freebsd.org/changeset/base/338677
Log:
hwpmc: set default rate if event description lacks one / filter rate against
misuse
Not all event descriptions have a sample rate (such as inst_retired.any)
this will restore the legacy behavior of using 65536 in that case. It also
prevents accidental API misuse that could lead to panic.
PR: 230985
Reported by: markj
Reviewed by: markj
Approved by: re (gjb)
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D16958
Changes:
head/lib/libpmc/libpmc_pmu_util.c
head/sys/dev/hwpmc/hwpmc_mod.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list