mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-26 00:53:34 +03:00
Add option to fetch system thread name on each prof sample
This commit is contained in:
parent
ccdc70a5ce
commit
2256ef8961
8 changed files with 192 additions and 58 deletions
5
test/unit/prof_use_sys_thread_name.sh
Normal file
5
test/unit/prof_use_sys_thread_name.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "x${enable_prof}" = "x1" ] ; then
|
||||
export MALLOC_CONF="prof:true,lg_prof_sample:0,prof_experimental_use_sys_thread_name:true"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue