AllocationList::only_passing_through_source
fn only_passing_through_source(
self: AllocationList,
regex: String
) -> AllocationList
Returns a new AllocationList
with only the allocations whose backtrace contains a frame which passes through a source file which matches a given regex.
The flavor of regexps used here is the same as Rust's regex
crate.