xref: /llvm-project/llvm/test/tools/llvm-xray/X86/convert-fdr-log-version3-to-yaml.txt (revision 935a6d4024295201f1e3e59c995a9dfa986836d7)
1; RUN: llvm-xray convert %S/Inputs/fdr-log-version-3.xray -f yaml -o - | FileCheck %s
2
3; CHECK:      ---
4; CHECK-NEXT: header:
5; CHECK-NEXT:   version:         3
6; CHECK-NEXT:   type:            1
7; CHECK-NEXT:   constant-tsc:    true
8; CHECK-NEXT:   nonstop-tsc:     true
9; CHECK-NEXT:   cycle-frequency: 3900000000
10; CHECK-NEXT: records:
11; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069294857657498, data: '' }
12; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069294857707502, data: '' }
13; CHECK-NEXT:   - { type: 0, func-id: 2, function: '2', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069295590705912, data: '' }
14; CHECK-NEXT:   - { type: 0, func-id: 2, function: '2', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069295590734308, data: '' }
15; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069296377598128, data: '' }
16; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069296377627032, data: '' }
17; CHECK-NEXT: ...
18