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)
Tue, Nov 4, 7:45 PM
Unknown Object (File)
Mon, Nov 3, 10:51 PM
Unknown Object (File)
Sat, Nov 1, 5:11 AM
Unknown Object (File)
Fri, Oct 31, 6:04 AM
Unknown Object (File)
Sun, Oct 26, 11:37 PM
Unknown Object (File)
Sun, Oct 26, 11:37 PM
Unknown Object (File)
Sun, Oct 26, 11:37 PM
Unknown Object (File)
Sun, Oct 26, 6:12 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