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)
Mon, Jan 20, 1:16 PM
Unknown Object (File)
Thu, Jan 9, 4:02 AM
Unknown Object (File)
Nov 23 2024, 9:09 PM
Unknown Object (File)
Nov 18 2024, 7:23 PM
Unknown Object (File)
Nov 18 2024, 5:33 PM
Unknown Object (File)
Nov 7 2024, 12:01 PM
Unknown Object (File)
Oct 28 2024, 6:13 PM
Unknown Object (File)
Oct 28 2024, 6:13 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