/external/swiftshader/third_party/llvm-7.0/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 | 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 | 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 | 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-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-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-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-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-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 | 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 | 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-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-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 | 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 | 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 | 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 | 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 | graph-color-simple-case.yaml | 1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -e sum -c sum \ 2 #RUN: | FileCheck %s -check-prefix=EDGE 3 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -v sum -b sum \ 4 #RUN: | FileCheck %s -check-prefix=VERTEX 5 --- 9 constant-tsc: true 10 nonstop-tsc: true 11 cycle-frequency: 1 13 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 } 14 - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10010 } [all …]
|
D | stack-multithread.yaml | 1 #RUN: llvm-xray stack -per-thread-stacks %s | FileCheck %s --check-prefix PER-THREAD 2 #RUN: llvm-xray stack -aggregate-threads %s | FileCheck %s --check-prefix AGGREGATE 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: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 } 14 - { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10101 } 15 - { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10301 } [all …]
|
D | graph-deduce-tail-call.yaml | 1 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d \ 2 #RUN: | FileCheck %s -check-prefix=EMPTY 3 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e count \ 4 #RUN: | FileCheck %s -check-prefix=COUNT 6 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e min \ 7 #RUN: | FileCheck %s -check-prefix=TIME 8 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e med \ 9 #RUN: | FileCheck %s -check-prefix=TIME 10 #RUN: llvm-xray graph %s -o - -m %S/Inputs/simple-instrmap.yaml -d -e 90p \ 11 #RUN: | FileCheck %s -check-prefix=TIME [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/swiftshader/third_party/llvm-7.0/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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/XRay/ |
D | XRayRecord.h | 1 //===- XRayRecord.h - XRay Trace Record -----------------------------------===// 8 //===----------------------------------------------------------------------===// 11 // follow the evolution of the log record versions supported in the compiler-rt 14 //===----------------------------------------------------------------------===// 24 /// XRay traces all have a header providing some top-matter information useful 35 /// Whether the CPU that produced the timestamp counters (TSC) move at a 36 /// constant rate. 39 /// Whether the CPU that produced the timestamp counters (TSC) do not stop. 43 /// counter (TSC) values. Useful for estimating the amount of time that 72 /// Get the full 8 bytes of the TSC when we get the log record. [all …]
|