Adjust tracing spi for batch calls