pt_buffer_reset_markers
ret = pt_buffer_reset_markers(buf, &pt->handle);
if (pt_buffer_reset_markers(buf, &pt->handle))