chore: add TracingInspector::config (#5982)

This commit is contained in:
Matthias Seitz
2024-01-09 15:40:10 +01:00
committed by GitHub
parent ac104d09eb
commit a3d2b224ea

View File

@ -81,6 +81,11 @@ impl TracingInspector {
}
}
/// Returns the config of the inspector.
pub fn config(&self) -> &TracingInspectorConfig {
&self.config
}
/// Gets a reference to the recorded call traces.
pub fn get_traces(&self) -> &CallTraceArena {
&self.traces