tracing/filter: Dynamically allocate preds