HomeFreeBSD

Check that the pmc index is less than the number of hardware PMCs,

Description

Check that the pmc index is less than the number of hardware PMCs,
instead of asserting the condition.

The row index is directly supplied by userspace, the kernel must
handle invalid values.

Submitted by: pho
MFC after: 3 days

Details

Provenance
kibAuthored on
Parents
rS325670: MFV: r325668
Branches
Unknown
Tags
Unknown