/external/llvm-project/llvm/test/tools/llvm-xray/X86/ |
D | convert-roundtrip.yaml | 1 #RUN: llvm-xray convert %s -f=raw -o %t && llvm-xray convert %t -f=yaml -o - | FileCheck %s 2 --- 6 constant-tsc: true 7 nonstop-tsc: true 8 cycle-frequency: 2601000000 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 } 14 #CHECK: --- 15 #CHECK-NEXT: header: 16 #CHECK-NEXT: version: 1 [all …]
|
D | graph-zero-latency-calls.yaml | 1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck %s 3 --- 7 constant-tsc: true 8 nonstop-tsc: true 9 cycle-frequency: 2601000000 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 } 18 #CHECK-DAG: F0 -> F1 [{{.*}}]; [all …]
|
D | stack-simple-case.yaml | 1 #RUN: llvm-xray stack %s | FileCheck %s 2 --- 6 constant-tsc: true 7 nonstop-tsc: true 8 cycle-frequency: 2601000000 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 }
|
D | convert-with-yaml-instrmap.txt | 1 ; RUN: llvm-xray convert -m %S/Inputs/simple-xray-instrmap.yaml %S/Inputs/naive-log-simple.xray -f=… 3 ; CHECK: --- 4 ; CHECK-NEXT: header: 5 ; CHECK-NEXT: version: 1 6 ; CHECK-NEXT: type: 0 7 ; CHECK-NEXT: constant-tsc: true 8 ; CHECK-NEXT: nonstop-tsc: true 9 ; CHECK-NEXT: cycle-frequency: 2601000000 10 ; CHECK-NEXT: records: 11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 37, thread: 84697, kind: function-ente… [all …]
|
D | convert-to-yaml.txt | 1 ; RUN: llvm-xray convert %S/Inputs/naive-log-simple.xray -f=yaml -o - | FileCheck %s 3 ; CHECK: --- 4 ; CHECK-NEXT: header: 5 ; CHECK-NEXT: version: 1 6 ; CHECK-NEXT: type: 0 7 ; CHECK-NEXT: constant-tsc: true 8 ; CHECK-NEXT: nonstop-tsc: true 9 ; CHECK-NEXT: cycle-frequency: 2601000000 10 ; CHECK-NEXT: records: 11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '3', cpu: 37, thread: 84697, kind: function-ente… [all …]
|
D | account-keep-going.yaml | 1 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -k | FileCheck %s 2 --- 6 constant-tsc: true 7 nonstop-tsc: true 8 cycle-frequency: 0 12 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 } 13 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 } 14 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10002 } 15 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10003 } 16 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10004 } [all …]
|
D | convert-basic-arg1-to-yaml.txt | 1 ; RUN: llvm-xray convert %S/Inputs/naive-with-arg1-entries.xray -f=yaml -o - | FileCheck %s 3 ; CHECK: --- 4 ; CHECK-NEXT: header: 5 ; CHECK-NEXT: version: 2 6 ; CHECK-NEXT: type: 0 7 ; CHECK-NEXT: constant-tsc: true 8 ; CHECK-NEXT: nonstop-tsc: true 9 ; CHECK-NEXT: cycle-frequency: 3500000000 10 ; CHECK-NEXT: records: 11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 17, thread: 8715, kind: function-enter… [all …]
|
D | convert-with-standalone-instrmap.txt | 1 ; RUN: llvm-xray convert -m %S/Inputs/elf64-objcopied-instrmap.bin -y %S/Inputs/naive-log-simple.xr… 3 ; CHECK: --- 4 ; CHECK-NEXT: header: 5 ; CHECK-NEXT: version: 1 6 ; CHECK-NEXT: type: 0 7 ; CHECK-NEXT: constant-tsc: true 8 ; CHECK-NEXT: nonstop-tsc: true 9 ; CHECK-NEXT: cycle-frequency: 2601000000 10 ; CHECK-NEXT: records: 11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: '@(41caa0)', cpu: 37, thread: 84697, kind: funct… [all …]
|
D | convert-fdr-log-arg1-version3-to-yaml.txt | 1 ; RUN: llvm-xray convert %S/Inputs/fdr-log-arg1-version-3.xray -f=yaml -o - | FileCheck %s 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: 3, function: '3', cpu: 6, thread: 2631, process: 2631, kind: … [all …]
|
D | convert-basic-log-arg1-version3-to-yaml.txt | 1 ; RUN: llvm-xray convert %S/Inputs/basic-log-arg1-version-3.xray -f=yaml -o - | FileCheck %s 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: 3, function: '3', cpu: 0, thread: 2590, process: 2590, kind: … [all …]
|
D | convert-fdr-log-version3-to-yaml.txt | 1 ; RUN: llvm-xray convert %S/Inputs/fdr-log-version-3.xray -f=yaml -o - | FileCheck %s 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… [all …]
|
D | stack-keep-going.yaml | 1 # RUN: not llvm-xray stack %s 2>&1 | FileCheck --check-prefix HALT %s 2 # RUN: llvm-xray stack -k %s 2>&1 | FileCheck --check-prefix KEEP-GOING-SUCCEEDS %s 3 # RUN: llvm-xray stack -k %s | FileCheck --check-prefix KEEP-GOING %s 4 --- 8 constant-tsc: true 9 nonstop-tsc: true 10 cycle-frequency: 2601000000 12 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 } 13 - { type: 1, func-id: 4, cpu: 1, thread: 111, kind: function-exit, tsc: 10301 } 14 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10401 } [all …]
|
D | convert-fdr-arg1-to-yaml.txt | 1 ; RUN: llvm-xray convert %S/Inputs/fdr-log-arg1.xray -f=yaml -o - | FileCheck %s 3 ; CHECK: --- 4 ; CHECK-NEXT: header: 5 ; CHECK-NEXT: version: 1 6 ; CHECK-NEXT: type: 1 7 ; CHECK-NEXT: constant-tsc: true 8 ; CHECK-NEXT: nonstop-tsc: true 9 ; CHECK-NEXT: cycle-frequency: 3500000000 10 ; CHECK-NEXT: records: 11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', args: [ 1 ], cpu: 49, thread: 14648, kind: … [all …]
|
D | convert-with-debug-syms.txt | 1 ; RUN: llvm-xray convert -m %S/Inputs/elf64-sample-o2.bin -y %S/Inputs/naive-log-simple.xray -f=yam… 3 ; CHECK: --- 4 ; CHECK-NEXT: header: 5 ; CHECK-NEXT: version: 1 6 ; CHECK-NEXT: type: 0 7 ; CHECK-NEXT: constant-tsc: true 8 ; CHECK-NEXT: nonstop-tsc: true 9 ; CHECK-NEXT: cycle-frequency: 2601000000 10 ; CHECK-NEXT: records: 11 ; CHECK-NEXT: - { type: 0, func-id: 3, function: main, cpu: 37, thread: 84697, kind: function-ent… [all …]
|
D | account-simple-case.yaml | 1 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck %s 2 --- 6 constant-tsc: true 7 nonstop-tsc: true 8 cycle-frequency: 2601000000 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 } 15 #CHECK-NEXT: funcid count [ min, med, 90p, 99p, max] sum function 16 #CHECK-NEXT: 1 1 [ {{.*}}, {{.*}}, {{.*}}, {{.*}}, {{.*}}] {{.*}} {{.*}}
|
D | convert-basic-log-version3-to-yaml.txt | 1 ; RUN: llvm-xray convert %S/Inputs/basic-log-version-3.xray -f=yaml -o - | FileCheck %s 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… [all …]
|
D | convert-fdr-to-yaml.txt | 1 ; RUN: llvm-xray convert %S/Inputs/fdr-log-version-1.xray -f=yaml -o - | FileCheck %s 3 ; CHECK: --- 4 ; CHECK-NEXT: header: 5 ; CHECK-NEXT: version: 1 6 ; CHECK-NEXT: type: 1 7 ; CHECK-NEXT: constant-tsc: true 8 ; CHECK-NEXT: nonstop-tsc: true 9 ; CHECK-NEXT: cycle-frequency: 5678 10 ; CHECK-NEXT: records: 11 ; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 5, thread: 5, kind: function-enter, ts… [all …]
|
D | account-recursive-calls-only.yaml | 1 # RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck --check-prefixes=ALL… 2 # RUN: llvm-xray account -recursive-calls-only %s -o - -m %S/Inputs/simple-instrmap.yaml | FileChec… 4 --- 8 constant-tsc: true 9 nonstop-tsc: true 10 cycle-frequency: 2601000000 12 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 0 } 13 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 100000000 } 14 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 200000000 } 15 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 300000000 } [all …]
|
D | account-recursive-calls-only-tail-call-deduction.yaml | 1 # RUN: llvm-xray account -d %s -o - -m %S/Inputs/simple-instrmap.yaml | FileCheck --check-prefixes=… 2 # RUN: llvm-xray account -d -recursive-calls-only %s -o - -m %S/Inputs/simple-instrmap.yaml | FileC… 4 --- 8 constant-tsc: true 9 nonstop-tsc: true 10 cycle-frequency: 0 20 # tail-called f3(). We make sure that if we see a trace like this that we can 28 # with a flag "-d" or "-deduce-sibling-calls". 30 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 } 31 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 } [all …]
|
D | account-deduce-tail-call.yaml | 1 #RUN: llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -d | FileCheck %s 2 --- 6 constant-tsc: true 7 nonstop-tsc: true 8 cycle-frequency: 0 17 # tail-called f3(). We make sure that if we see a trace like this that we can 23 # with a flag "-d" or "-deduce-sibling-calls". 25 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 } 26 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 } 27 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10002 } [all …]
|
D | stack-empty-case.yaml | 1 # RUN: not llvm-xray stack %s 2>&1 | FileCheck %s 2 --- 6 constant-tsc: true 7 nonstop-tsc: true 8 cycle-frequency: 2601000000 11 # CHECK: llvm-xray: No instrumented calls were accounted in the input file. 12 # CHECK-NOT: {{[0-9A-Z]+}}
|
D | account-empty-stack-error.yaml | 1 #RUN: not llvm-xray account %s -o - -m %S/Inputs/simple-instrmap.yaml -d 2>&1 | FileCheck %s 2 #RUN: llvm-xray account %s -k -o - -m %S/Inputs/simple-instrmap.yaml -d 2>&1 | FileCheck %s --check… 4 --- 8 constant-tsc: true 9 nonstop-tsc: true 10 cycle-frequency: 0 17 # the llvm-xray account tool has an option to keep going, gives the user a 19 - { type: 0, func-id: 1, cpu: 1, thread: 1, kind: function-exit, tsc: 10000} 23 #CHECK-NEXT: Thread ID: 1 24 #CHECK-NEXT: (empty stack) [all …]
|
D | graph-simple-case.yaml | 1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml \ 2 #RUN: | FileCheck %s -check-prefix=EMPTY 3 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e count \ 4 #RUN: | FileCheck %s -check-prefix=COUNT 6 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e min \ 7 #RUN: | FileCheck %s -check-prefix=TIME 8 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e med \ 9 #RUN: | FileCheck %s -check-prefix=TIME 10 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e 90p \ 11 #RUN: | FileCheck %s -check-prefix=TIME [all …]
|
/external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/ |
D | graph-diff-B.yaml | 1 --- 5 constant-tsc: true 6 nonstop-tsc: true 7 cycle-frequency: 1 9 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 } 10 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10090 } 11 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 } 12 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10180 } 13 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10200 } 14 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10270 } [all …]
|
D | graph-diff-A.yaml | 1 --- 5 constant-tsc: true 6 nonstop-tsc: true 7 cycle-frequency: 1 9 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 } 10 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10010 } 11 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 } 12 - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10120 } 13 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10200 } 14 - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10230 } [all …]
|