pub async fn show_trace(
caller: &str,
params: FetchTraceParams,
) -> Result<String>Expand description
Shows a Perfetto trace in a web browser.
This function generates an HTML page that embeds the Perfetto UI
and loads the trace data from the /fetch_trace endpoint.
ยงArguments
caller- The name of the caller, used for display in the HTML.params- Parameters for fetching the trace, including process ID and time range.