Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2018 01:30:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230985] pmcstat triggers assertion "pmcval outside of expected range"
Message-ID:  <bug-230985-227-YFQIjvhZ7l@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230985-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230985-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230985

--- Comment #1 from commit-hook@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 agai=
nst
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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230985-227-YFQIjvhZ7l>