tracing: Disable buffer switching when starting or stopping trace