brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.0 KiB · ce8ffce Raw
84 lines · yaml
1#RUN: llvm-xray stack --per-thread-stacks %s | FileCheck %s --check-prefix PER-THREAD2#RUN: llvm-xray stack --aggregate-threads %s | FileCheck %s --check-prefix AGGREGATE3 4---5header:6  version: 17  type: 08  constant-tsc: true9  nonstop-tsc: true10  cycle-frequency: 260100000011records: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 }16  - { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10401 }17  - { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10501 }18  - { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10601 }19  - { type: 1, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10701 }20  - { type: 1, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10751 }21  - { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10775 }22  - { type: 0, func-id: 1, cpu: 1, thread: 123, kind: function-enter, tsc: 10401 }23  - { type: 0, func-id: 2, cpu: 1, thread: 123, kind: function-enter, tsc: 10501 }24  - { type: 0, func-id: 3, cpu: 1, thread: 123, kind: function-enter, tsc: 10701 }25  - { type: 1, func-id: 3, cpu: 1, thread: 123, kind: function-exit, tsc: 10801 }26  - { type: 1, func-id: 2, cpu: 1, thread: 123, kind: function-exit, tsc: 10951 }27  - { type: 1, func-id: 1, cpu: 1, thread: 123, kind: function-exit, tsc: 11075 }28  - { type: 0, func-id: 2, cpu: 1, thread: 200, kind: function-enter, tsc: 0 }29  - { type: 0, func-id: 3, cpu: 1, thread: 200, kind: function-enter, tsc: 10 }30  - { type: 1, func-id: 3, cpu: 1, thread: 200, kind: function-exit, tsc: 20 }31  - { type: 1, func-id: 2, cpu: 1, thread: 200, kind: function-exit, tsc: 30 }32...33# PER-THREAD: Thread 12334# PER-THREAD: Unique Stacks: 135# PER-THREAD: Top 10 Stacks by leaf sum:36# PER-THREAD: Sum: 10037# PER-THREAD: lvl   function{{[[:space:]]+}}count{{[[:space:]]+}}sum38# PER-THREAD: #0    #1{{[[:space:]]+}}1{{[[:space:]]+}}67439# PER-THREAD: #1    #2{{[[:space:]]+}}1{{[[:space:]]+}}45040# PER-THREAD: #2    #3{{[[:space:]]+}}1{{[[:space:]]+}}10041# PER-THREAD: Top 10 Stacks by leaf count:42# PER-THREAD: #0    #1{{[[:space:]]+}}1{{[[:space:]]+}}67443# PER-THREAD: #1    #2{{[[:space:]]+}}1{{[[:space:]]+}}45044# PER-THREAD: #2    #3{{[[:space:]]+}}1{{[[:space:]]+}}10045# PER-THREAD: lvl   function{{[[:space:]]+}}count{{[[:space:]]+}}sum46 47# AGGREGATE: Unique Stacks: 348# AGGREGATE: Top 10 Stacks by leaf sum:49# AGGREGATE: Sum: 20050 51# AGGREGATE: lvl   function{{[[:space:]]+}}count{{[[:space:]]+}}sum52# AGGREGATE: #0    #1{{[[:space:]]+}}3{{[[:space:]]+}}134853# AGGREGATE: #1    #2{{[[:space:]]+}}2{{[[:space:]]+}}70054# AGGREGATE: #2    #3{{[[:space:]]+}}2{{[[:space:]]+}}20055 56# AGGREGATE: Sum: 1057# AGGREGATE: lvl   function{{[[:space:]]+}}count{{[[:space:]]+}}sum58# AGGREGATE: #0    #2{{[[:space:]]+}}1{{[[:space:]]+}}3059# AGGREGATE: #1    #3{{[[:space:]]+}}1{{[[:space:]]+}}1060 61# AGGREGATE: Sum: 162# AGGREGATE: lvl   function{{[[:space:]]+}}count{{[[:space:]]+}}sum63# AGGREGATE: #0    #1{{[[:space:]]+}}2{{[[:space:]]+}}67464# AGGREGATE: #1    #1{{[[:space:]]+}}1{{[[:space:]]+}}165 66 67# AGGREGATE: Top 10 Stacks by leaf count:68 69# AGGREGATE: Count: 270# AGGREGATE: lvl   function{{[[:space:]]+}}count{{[[:space:]]+}}sum71# AGGREGATE: #0    #1{{[[:space:]]+}}3{{[[:space:]]+}}134872# AGGREGATE: #1    #2{{[[:space:]]+}}2{{[[:space:]]+}}70073# AGGREGATE: #2    #3{{[[:space:]]+}}2{{[[:space:]]+}}20074 75# AGGREGATE: Count: 176# AGGREGATE: lvl   function{{[[:space:]]+}}count{{[[:space:]]+}}sum77# AGGREGATE: #0    #2{{[[:space:]]+}}1{{[[:space:]]+}}3078# AGGREGATE: #1    #3{{[[:space:]]+}}1{{[[:space:]]+}}1079 80# AGGREGATE: Count: 181# AGGREGATE: lvl   function{{[[:space:]]+}}count{{[[:space:]]+}}sum82# AGGREGATE: #0    #1{{[[:space:]]+}}2{{[[:space:]]+}}67483# AGGREGATE: #1    #1{{[[:space:]]+}}1{{[[:space:]]+}}184