Function usdt::register_probes[][src]

pub fn register_probes() -> Result<(), Error>

Register an application’s probes with DTrace.

This function collects the probes defined in an application, and forwards them to the DTrace kernel module. This must be done for the probes to be visible via the dtrace(1) tool. See probe_test_macro for a detailed example.