1#RUN: llvm-xray convert %s -f=raw -o %t && llvm-xray convert %t -f=yaml -o - | FileCheck %s 2--- 3header: 4 version: 1 5 type: 0 6 constant-tsc: true 7 nonstop-tsc: true 8 cycle-frequency: 2601000000 9records: 10 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 } 11 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10100 } 12... 13 14#CHECK: --- 15#CHECK-NEXT: header: 16#CHECK-NEXT: version: 1 17#CHECK-NEXT: type: 0 18#CHECK-NEXT: constant-tsc: true 19#CHECK-NEXT: nonstop-tsc: true 20#CHECK-NEXT: cycle-frequency: 2601000000 21#CHECK-NEXT: records: 22#CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 1, thread: 111, kind: function-enter, tsc: 10001, data: '' } 23#CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 1, thread: 111, kind: function-exit, tsc: 10100, data: '' } 24#CHECK-NEXT: ... 25