Struct usdt::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
A simple struct used to build DTrace probes into Rust code in a build.rs script.
Implementations
Construct a new builder from a path to a D provider definition file.
Set the output filename of the generated Rust code. The default has the same stem as the
provider file, with the ".rs"
extension.
Set the format for the name of generated probe macros.
The provided format may include the tokens {provider}
and {probe}
, which will be
substituted with the names of the provider and probe. The default is "{probe}"
.
Set the name of the module containing the generated probe macros.