HomeFreeBSD

Avoid truncating the return value of DTrace predicates.

Description

Avoid truncating the return value of DTrace predicates.

Predicates are DIF objects whose return value is compared with zero to
determine whether the corresponding probe body is to be executed. The return
value itself is the contents of a 64-bit DIF register, but it was being
truncated to an int before the comparison. This meant that a predicate such
as /0x100000000/ would evaluate to false.

Reported by: rwatson
MFC after: 3 days

Details

Provenance
markjAuthored on
Parents
rS302506: Remove HZ=<various> from all armv6 configs, put HZ=1000 in std.armv6.
Branches
Unknown
Tags
Unknown