fetch_trace

Function fetch_trace 

Source
pub async fn fetch_trace(
    server: Arc<PerfettoTraceServer>,
    _caller: &str,
    params: FetchTraceParams,
) -> Result<Bytes>
Expand description

Fetches a Perfetto trace.

This function retrieves the trace data from the FlightSQL server and returns it as a bytes::Bytes object.

ยงArguments

  • server - The PerfettoTraceServer instance.
  • _caller - The name of the caller (unused in this function).
  • params - Parameters for fetching the trace, including process ID and time range.