Page MenuHomeFreeBSD

Install dtrace.h and depedencies
ClosedPublic

Authored by arichardson on Jan 1 2021, 7:16 PM.

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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 35844
Build 32733: 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.