Create a new Snapshot instance with a filtered traces sequence, filters is a list of Filter or DomainFilter instances. If filters is an empty list, return a new Snapshot instance with a copy of the traces.
tracemalloc/Snapshot.filter_traces
Snapshot.filter_traces