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
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
## Test stale block matching with pseudo probes including inline tree matching.
|
|
# RUN: split-file %s %t
|
|
# RUN: llvm-bolt \
|
|
# RUN: %S/../../../llvm/test/tools/llvm-profgen/Inputs/inline-cs-pseudoprobe.perfbin \
|
|
# RUN: -o %t.bolt -data %t/yaml -infer-stale-profile -v=2 \
|
|
# RUN: --stale-matching-with-pseudo-probes 2>&1 | FileCheck %s
|
|
|
|
# CHECK: BOLT-WARNING: 3 (100.0% of all profiled) functions have invalid (possibly stale) profile
|
|
# CHECK: BOLT-INFO: inference found an exact pseudo probe match for 100.00% of basic blocks (3 out of 3 stale)
|
|
|
|
#--- yaml
|
|
---
|
|
header:
|
|
profile-version: 1
|
|
binary-name: 'inline-cs-pseudoprobe.perfbin'
|
|
binary-build-id: '<unknown>'
|
|
profile-flags: [ lbr ]
|
|
profile-origin: perf data aggregator
|
|
profile-events: ''
|
|
dfs-order: false
|
|
hash-func: xxh3
|
|
functions:
|
|
- name: bar
|
|
fid: 9
|
|
hash: 0x1
|
|
exec: 1
|
|
nblocks: 1
|
|
blocks:
|
|
- bid: 0
|
|
insns: 11
|
|
hash: 0x1
|
|
exec: 1
|
|
probes: [ { blk: [ 1, 4 ] } ]
|
|
inline_tree: [ { } ]
|
|
- name: foo
|
|
fid: 10
|
|
hash: 0x2
|
|
exec: 1
|
|
nblocks: 6
|
|
blocks:
|
|
- bid: 0
|
|
insns: 3
|
|
hash: 0x2
|
|
exec: 1
|
|
succ: [ { bid: 3, cnt: 0 } ]
|
|
probes: [ { blk: [ 1, 2 ] } ]
|
|
inline_tree: [ { g: 1 }, { g: 0, cs: 8 } ]
|
|
- name: main
|
|
fid: 11
|
|
hash: 0x3
|
|
exec: 1
|
|
nblocks: 6
|
|
blocks:
|
|
- bid: 0
|
|
insns: 3
|
|
hash: 0x3
|
|
exec: 1
|
|
succ: [ { bid: 3, cnt: 0 } ]
|
|
probes: [ { blk: [ 1, 2 ], ids: [ 1 ] }, { blk: [ 1 ] } ]
|
|
inline_tree: [ { g: 2 }, { g: 1, cs: 2 }, { g: 0, p: 1, cs: 8 } ]
|
|
pseudo_probe_desc:
|
|
gs: [ 0xE413754A191DB537, 0x5CF8C24CDB18BDAC, 0xDB956436E78DD5FA ]
|
|
gh: [ 2, 0, 1 ]
|
|
hs: [ 0x200205A19C5B4, 0x10000FFFFFFFF, 0x10E852DA94 ]
|
|
...
|