Page MenuHomeFreeBSD

Install dtrace.h and depedencies
ClosedPublic

Authored by arichardson on Jan 1 2021, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 11:31 AM
Unknown Object (File)
Nov 21 2024, 9:44 PM
Unknown Object (File)
Nov 21 2024, 6:47 AM
Unknown Object (File)
Oct 23 2024, 5:25 AM
Unknown Object (File)
Sep 10 2024, 9:53 PM
Unknown Object (File)
Sep 6 2024, 3:07 AM
Unknown Object (File)
Sep 5 2024, 7:51 PM
Unknown Object (File)
Sep 5 2024, 12:00 AM
Subscribers

Details

Summary

This makes the minimum amount of changes to allow inclusion of dtrace.h
without all the solaris compatibility headers. Installing dtrace.h allows
compiling consumers of libdtrace (e.g. https://github.com/tmetsch/python-dtrace)
without requiring a copy of the source tree.
For python-dtrace I worked around this in https://github.com/tmetsch/python-dtrace/commit/58019c9a12022203a9ffda286dd8b41f1a5ace42
but being able to build the library without installed sources would be
extremely useful.

Test Plan

basic test program compiles, not tried tinderbox yet.

Diff Detail

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

Event Timeline

Needs some more changes to avoid -Werror,-Wtypedef-redefinition

Fix amd64 buildworld+buildkernel

This revision is now accepted and ready to land.Jan 5 2021, 4:05 PM
This revision was automatically updated to reflect the committed changes.