You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bazel run //tcmalloc:cpu_cache_activate_test
INFO: Analyzed target //tcmalloc:cpu_cache_activate_test (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //tcmalloc:cpu_cache_activate_test up-to-date:
bazel-bin/tcmalloc/cpu_cache_activate_test
INFO: Elapsed time: 0.097s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: external/bazel_tools/tools/test/test-setup.sh tcmalloc/cpu_cache_activate_test
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //tcmalloc:cpu_cache_activate_test
-----------------------------------------------------------------------------
Running main() from gmock_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CpuCacheActivateTest
[ RUN ] CpuCacheActivateTest.GlobalInstance
[ OK ] CpuCacheActivateTest.GlobalInstance (0 ms)
[----------] 1 test from CpuCacheActivateTest (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[ PASSED ] 1 test.
next step is to modify the tcmalloc/testing:hello_main to see if a pure bazel exec is behaving differently...
I might also start to pepper tcmalloc code with printf to track the issue but before going through all these loops and hoops, I am just checking with you if anyone has an idea why my percpu caches are not enabled...
The text was updated successfully, but these errors were encountered:
I have this simple program:
compiled with:
g++ -g -std=c++26 -I/home/lano1106/dev/tcmalloc tcmalloc_new_test.cpp -L/home/lano1106/dev/tcmalloc/bazel-bin/tcmalloc/ -ltcmalloc_new
the so file has been created by adding to tcmalloc/BUILD
I am trying to understand how to enable the PerCpuCaches...
My kernel is 6.10.3. I have validated that the rseq syscall is available:
next step is to modify the tcmalloc/testing:hello_main to see if a pure bazel exec is behaving differently...
I might also start to pepper tcmalloc code with printf to track the issue but before going through all these loops and hoops, I am just checking with you if anyone has an idea why my percpu caches are not enabled...
The text was updated successfully, but these errors were encountered: