1#RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck %s 2 3--- 4header: 5 version: 1 6 type: 0 7 constant-tsc: true 8 nonstop-tsc: true 9 cycle-frequency: 2601000000 10records: 11 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 } 12 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10002 } 13 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10002 } 14 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10100 } 15... 16 17#CHECK: digraph xray { 18#CHECK-DAG: F0 -> F1 [{{.*}}]; 19#CHECK-DAG: F1 -> F2 [{{.*}}]; 20#CHECK-DAG: } 21