Merge "Clear ringbuffer after dumping to file" into sc-dev