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, Nov 7, 12:01 PM
Unknown Object (File)
Mon, Oct 28, 6:13 PM
Unknown Object (File)
Mon, Oct 28, 6:13 PM
Unknown Object (File)
Mon, Oct 28, 6:13 PM
Unknown Object (File)
Oct 4 2024, 9:45 PM
Unknown Object (File)
Oct 4 2024, 5:08 PM
Unknown Object (File)
Oct 2 2024, 1:26 PM
Unknown Object (File)
Oct 2 2024, 2:09 AM
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