Moved sampling checks from TraceRecorder to Tracer