| 1 |
; RUN: llvm-xray convert %S/Inputs/basic-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: 0 |
| 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: 7, thread: 25518, process: 25518, kind: function-enter, tsc: 2070767347414784, data: '' } |
| 12 |
; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 7, thread: 25518, process: 25518, kind: function-exit, tsc: 2070767347496472, data: '' } |
| 13 |
; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 7, thread: 25518, process: 25518, kind: function-enter, tsc: 2070768324320264, data: '' } |
| 14 |
; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 7, thread: 25518, process: 25518, kind: function-exit, tsc: 2070768324344100, data: '' } |
| 15 |
; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 7, thread: 25518, process: 25518, kind: function-enter, tsc: 2070768921602152, data: '' } |
| 16 |
; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 7, thread: 25518, process: 25518, kind: function-exit, tsc: 2070768921625968, data: '' } |
| 17 |
; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 7, thread: 25518, process: 25518, kind: function-enter, tsc: 2070769627174140, data: '' } |
| 18 |
; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 7, thread: 25518, process: 25518, kind: function-exit, tsc: 2070769627197624, data: '' } |
| 19 |
; CHECK-NEXT: ... |