Files
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

84 lines
4.0 KiB
YAML

#RUN: llvm-xray stack --per-thread-stacks %s | FileCheck %s --check-prefix PER-THREAD
#RUN: llvm-xray stack --aggregate-threads %s | FileCheck %s --check-prefix AGGREGATE
---
header:
version: 1
type: 0
constant-tsc: true
nonstop-tsc: true
cycle-frequency: 2601000000
records:
- { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10001 }
- { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 }
- { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10101 }
- { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10301 }
- { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10401 }
- { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10501 }
- { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10601 }
- { type: 1, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10701 }
- { type: 1, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10751 }
- { type: 1, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10775 }
- { type: 0, func-id: 1, cpu: 1, thread: 123, kind: function-enter, tsc: 10401 }
- { type: 0, func-id: 2, cpu: 1, thread: 123, kind: function-enter, tsc: 10501 }
- { type: 0, func-id: 3, cpu: 1, thread: 123, kind: function-enter, tsc: 10701 }
- { type: 1, func-id: 3, cpu: 1, thread: 123, kind: function-exit, tsc: 10801 }
- { type: 1, func-id: 2, cpu: 1, thread: 123, kind: function-exit, tsc: 10951 }
- { type: 1, func-id: 1, cpu: 1, thread: 123, kind: function-exit, tsc: 11075 }
- { type: 0, func-id: 2, cpu: 1, thread: 200, kind: function-enter, tsc: 0 }
- { type: 0, func-id: 3, cpu: 1, thread: 200, kind: function-enter, tsc: 10 }
- { type: 1, func-id: 3, cpu: 1, thread: 200, kind: function-exit, tsc: 20 }
- { type: 1, func-id: 2, cpu: 1, thread: 200, kind: function-exit, tsc: 30 }
...
# PER-THREAD: Thread 123
# PER-THREAD: Unique Stacks: 1
# PER-THREAD: Top 10 Stacks by leaf sum:
# PER-THREAD: Sum: 100
# PER-THREAD: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
# PER-THREAD: #0 #1{{[[:space:]]+}}1{{[[:space:]]+}}674
# PER-THREAD: #1 #2{{[[:space:]]+}}1{{[[:space:]]+}}450
# PER-THREAD: #2 #3{{[[:space:]]+}}1{{[[:space:]]+}}100
# PER-THREAD: Top 10 Stacks by leaf count:
# PER-THREAD: #0 #1{{[[:space:]]+}}1{{[[:space:]]+}}674
# PER-THREAD: #1 #2{{[[:space:]]+}}1{{[[:space:]]+}}450
# PER-THREAD: #2 #3{{[[:space:]]+}}1{{[[:space:]]+}}100
# PER-THREAD: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
# AGGREGATE: Unique Stacks: 3
# AGGREGATE: Top 10 Stacks by leaf sum:
# AGGREGATE: Sum: 200
# AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
# AGGREGATE: #0 #1{{[[:space:]]+}}3{{[[:space:]]+}}1348
# AGGREGATE: #1 #2{{[[:space:]]+}}2{{[[:space:]]+}}700
# AGGREGATE: #2 #3{{[[:space:]]+}}2{{[[:space:]]+}}200
# AGGREGATE: Sum: 10
# AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
# AGGREGATE: #0 #2{{[[:space:]]+}}1{{[[:space:]]+}}30
# AGGREGATE: #1 #3{{[[:space:]]+}}1{{[[:space:]]+}}10
# AGGREGATE: Sum: 1
# AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
# AGGREGATE: #0 #1{{[[:space:]]+}}2{{[[:space:]]+}}674
# AGGREGATE: #1 #1{{[[:space:]]+}}1{{[[:space:]]+}}1
# AGGREGATE: Top 10 Stacks by leaf count:
# AGGREGATE: Count: 2
# AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
# AGGREGATE: #0 #1{{[[:space:]]+}}3{{[[:space:]]+}}1348
# AGGREGATE: #1 #2{{[[:space:]]+}}2{{[[:space:]]+}}700
# AGGREGATE: #2 #3{{[[:space:]]+}}2{{[[:space:]]+}}200
# AGGREGATE: Count: 1
# AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
# AGGREGATE: #0 #2{{[[:space:]]+}}1{{[[:space:]]+}}30
# AGGREGATE: #1 #3{{[[:space:]]+}}1{{[[:space:]]+}}10
# AGGREGATE: Count: 1
# AGGREGATE: lvl function{{[[:space:]]+}}count{{[[:space:]]+}}sum
# AGGREGATE: #0 #1{{[[:space:]]+}}2{{[[:space:]]+}}674
# AGGREGATE: #1 #1{{[[:space:]]+}}1{{[[:space:]]+}}1