Skip to main content

run_interpreted_samples_with_events

Function run_interpreted_samples_with_events 

Source
pub fn run_interpreted_samples_with_events<F, I>(
    table: &SampleTable,
    plan: &ResolvedPlan,
    events_for_file: F,
) -> Result<NormalizedProcessHistograms>
where F: FnMut(&Path) -> Result<I>, I: IntoIterator<Item = Result<Event>>,
Expand description

Run a validated analysis plan using a caller-supplied event source.

Tests can supply synthetic events while production callers use run_interpreted_samples to stream ROOT files.