Page MenuHomeFreeBSD

dtrace: remove ifdef around dtrace_instr_size()
ClosedPublic

Authored by christos on May 3 2023, 3:22 PM.
Tags
Referenced Files
Unknown Object (File)
Thu, Apr 11, 3:41 PM
Unknown Object (File)
Mar 15 2024, 2:44 AM
Unknown Object (File)
Mar 15 2024, 2:44 AM
Unknown Object (File)
Mar 15 2024, 2:44 AM
Unknown Object (File)
Mar 11 2024, 10:38 AM
Unknown Object (File)
Jan 7 2024, 2:33 PM
Unknown Object (File)
Jan 7 2024, 2:33 PM
Unknown Object (File)
Jan 7 2024, 2:30 PM
Subscribers

Details

Summary

Since D38825 is going to be using dtrace_instr_size() unconditionally,
architectures that are not included in the #ifdef won't be able to compile
libdtrace. This was tested on an ARM64 build. If the #ifdef is removed,
libdtrace can be compiled with no problems, otherwise it fails at libdtrace.

The current diff depends on D39871.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable