Bazel rules for working with dtrace.
dtrace files with probes
to generate header files to use those probes in C languages. The header files
generated will have the same name as the source files but with a
extension. Headers will be generated in a label scoped workspace relative file
structure. For example with a directory structure of
Workspace foo/ bar.d
and a target named
dtrace_gen the header path would be
Example usage (generated)
load("@rules_apple//apple:dtrace.bzl", "dtrace_compile") dtrace_compile( # A unique name for this target. name = "", )
A unique name for this target.
dtrace(.d) source files to be compiled.