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)
Mon, Apr 28, 4:27 AM
Unknown Object (File)
Tue, Apr 22, 10:10 AM
Unknown Object (File)
Sat, Apr 19, 1:45 PM
Unknown Object (File)
Sat, Apr 19, 12:17 PM
Unknown Object (File)
Sat, Apr 19, 11:51 AM
Unknown Object (File)
Sat, Apr 19, 10:33 AM
Unknown Object (File)
Mon, Apr 14, 8:15 AM
Unknown Object (File)
Mon, Apr 14, 4:22 AM
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