AllocationList::only_not_passing_through_function

fn only_not_passing_through_function(
    self: AllocationList,
    regex: String
) -> AllocationList

Returns a new AllocationList with only the allocations whose backtrace does not contain a function which matches a given regex.

The flavor of regexps used here is the same as Rust's regex crate.