Page MenuHomeFreeBSD

Install dtrace.h and depedencies

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



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.
without requiring a copy of the source tree.
For python-dtrace I worked around this in
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

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; 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.