Page MenuHomeFreeBSD

set default rate if event description lacks one / filter sample rate for API misue
ClosedPublic

Authored by mmacy on Aug 30 2018, 8:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 8, 7:10 PM
Unknown Object (File)
Fri, May 8, 1:42 PM
Unknown Object (File)
Fri, May 8, 2:12 AM
Unknown Object (File)
Wed, Apr 22, 8:38 AM
Unknown Object (File)
Sun, Apr 19, 3:40 AM
Unknown Object (File)
Wed, Apr 15, 9:20 PM
Unknown Object (File)
Wed, Apr 15, 9:12 PM
Unknown Object (File)
Wed, Apr 15, 1:19 PM
Subscribers

Details

Summary

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.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230985

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable