On Wed, Sep 27, 2023 at 08:33:08AM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> > > Add an API traceeval_iterator_remove() that is safe to call in the > traceeval_iterator_next() loop. Currently, traceeval_remove() can also be > called "safely", but that may change in the future. > > The main difference between traceeval_remove() and traceeval_iterator_remove() > is that that traceeval_iterator_remove() will NULL out the entry in the > sort array, and use this in the other iterator functions. If the entry is > NULL, it will not be returned. > > Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> Reviewed-by: Ross Zwisler <zwisler@xxxxxxxxxx>