Update tracebuf2ring.py