pub fn stop_tracing() -> Result<(), Box<dyn Error>>
Expand description
Stop all memory tracking and generate comprehensive reports
Finalizes memory tracking, processes all collected data, and generates HTML and JSON reports for analysis.
§Returns
Result indicating success or error during finalization and report generation
§Example
use memscope_rs::lockfree::api::{trace_all, stop_tracing};
trace_all("./memory_analysis")?;
// Your application code here
stop_tracing()?;