llvm.org GIT mirror llvm / stable test / tools / llvm-xray / X86 / convert-fdr-log-version3-to-yaml.txt
stable

Tree @stable (Download .tar.gz)

convert-fdr-log-version3-to-yaml.txt @stableraw · history · blame

; RUN: llvm-xray convert %S/Inputs/fdr-log-version-3.xray -f=yaml -o - | FileCheck %s

; CHECK:      ---
; CHECK-NEXT: header:
; CHECK-NEXT:   version:         3
; CHECK-NEXT:   type:            1
; CHECK-NEXT:   constant-tsc:    true
; CHECK-NEXT:   nonstop-tsc:     true
; CHECK-NEXT:   cycle-frequency: 3900000000
; CHECK-NEXT: records:
; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069294857657498, data: '' }
; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069294857707502, data: '' }
; CHECK-NEXT:   - { type: 0, func-id: 2, function: '2', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069295590705912, data: '' }
; CHECK-NEXT:   - { type: 0, func-id: 2, function: '2', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069295590734308, data: '' }
; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-enter, tsc: 2069296377598128, data: '' }
; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 4, thread: 25190, process: 25190, kind: function-exit, tsc: 2069296377627032, data: '' }
; CHECK-NEXT: ...