tracing: Fix snapshot counter going between two tracers that use it