[compiler-rt] [llvm] [MemProf] Change histogram storage from uint64_t to uint16_t (PR #147854)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 14:48:54 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu-no-asserts` running on `doug-worker-6` while building `compiler-rt,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/202/builds/2585
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'MemProfiler-x86_64-linux-dynamic :: TestCases/memprof_histogram_uint8.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/buildbot/buildbot-root/gcc-no-asserts/build/./bin/clang --driver-mode=g++ -fmemory-profile -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -shared-libsan -O0 -mllvm -memprof-histogram -mllvm -memprof-use-callbacks=true /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/memprof/TestCases/memprof_histogram_uint8.cpp -o /home/buildbot/buildbot-root/gcc-no-asserts/build/runtimes/runtimes-bins/compiler-rt/test/memprof/X86_64LinuxDynamicConfig/TestCases/Output/memprof_histogram_uint8.cpp.tmp && env MEMPROF_OPTIONS=print_text=1:histogram=1:log_path=stdout /home/buildbot/buildbot-root/gcc-no-asserts/build/runtimes/runtimes-bins/compiler-rt/test/memprof/X86_64LinuxDynamicConfig/TestCases/Output/memprof_histogram_uint8.cpp.tmp 2>&1 | FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/memprof/TestCases/memprof_histogram_uint8.cpp # RUN: at line 5
+ /home/buildbot/buildbot-root/gcc-no-asserts/build/./bin/clang --driver-mode=g++ -fmemory-profile -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -shared-libsan -O0 -mllvm -memprof-histogram -mllvm -memprof-use-callbacks=true /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/memprof/TestCases/memprof_histogram_uint8.cpp -o /home/buildbot/buildbot-root/gcc-no-asserts/build/runtimes/runtimes-bins/compiler-rt/test/memprof/X86_64LinuxDynamicConfig/TestCases/Output/memprof_histogram_uint8.cpp.tmp
+ env MEMPROF_OPTIONS=print_text=1:histogram=1:log_path=stdout /home/buildbot/buildbot-root/gcc-no-asserts/build/runtimes/runtimes-bins/compiler-rt/test/memprof/X86_64LinuxDynamicConfig/TestCases/Output/memprof_histogram_uint8.cpp.tmp
+ FileCheck /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/memprof/TestCases/memprof_histogram_uint8.cpp
[1m/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/memprof/TestCases/memprof_histogram_uint8.cpp:36:11: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m// CHECK: AccessCountHistogram[128]: 1 201 255 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[0;1;32m ^
[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0mRecorded MIBs (incl. live on exit):
[0;1;32m^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/compiler-rt/test/memprof/TestCases/memprof_histogram_uint8.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46mRecorded MIBs (incl. live on exit): [0m
[0;1;31mcheck:36 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m[0;1;30m 2: [0m[1m[0;1;46mMemory allocation stack id = 1 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46m alloc_count 1, size (ave/min/max) 72704.00 / 72704 / 72704 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46m access_count (ave/min/max): 0.00 / 0 / 0 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 5: [0m[1m[0;1;46m lifetime (ave/min/max): 841.00 / 841 / 841 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 6: [0m[1m[0;1;46m num migrated: 0, num lifetime overlaps: 0, num same alloc cpu: 0, num same dealloc_cpu: 0 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 7: [0m[1m[0;1;46mAccessCountHistogram[0]: [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 8: [0m[1m[0;1;46mMemory allocation stack id = 2 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m alloc_count 1, size (ave/min/max) 1024.00 / 1024 / 1024 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 10: [0m[1m[0;1;46m access_count (ave/min/max): 144055823054733569.00 / 144055823054733569 / 144055823054733569 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 11: [0m[1m[0;1;46m lifetime (ave/min/max): 1.00 / 1 / 1 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 12: [0m[1m[0;1;46m num migrated: 0, num lifetime overlaps: 0, num same alloc cpu: 0, num same dealloc_cpu: 0 [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 13: [0m[1m[0;1;46mAccessCountHistogram[0]: [0m
[0;1;31mcheck:36 ~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 14: [0m[1m[0;1;46mMemory allocation stack id = 3 [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/147854
More information about the llvm-commits
mailing list