#[unsafe(no_mangle)]pub unsafe extern "C" fn phytrace_agent_stop(
agent: *mut PhyTraceAgentHandle,
) -> i32Expand description
Stop the agent gracefully (flushes buffer, disconnects transport).
Returns PHYTRACE_OK on success, negative error code on failure.