phytrace_builder_new

Function phytrace_builder_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn phytrace_builder_new( agent: *const PhyTraceAgentHandle, ) -> *mut PhyTraceBuilderHandle
Expand description

Create a new event builder from an agent’s configuration.

Returns a heap-allocated builder handle, or null on failure. The builder must be freed with phytrace_builder_destroy() or consumed by phytrace_builder_build().