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)
Mon, Feb 3, 6:48 PM
Unknown Object (File)
Fri, Jan 31, 4:02 AM
Unknown Object (File)
Thu, Jan 30, 10:46 AM
Unknown Object (File)
Sat, Jan 18, 3:44 AM
Unknown Object (File)
Dec 28 2024, 4:49 PM
Unknown Object (File)
Nov 26 2024, 11:31 AM
Unknown Object (File)
Nov 21 2024, 9:44 PM
Unknown Object (File)
Nov 21 2024, 6:47 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35936
Build 32825: arc lint + arc unit

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.