mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
preload: setup cache size for libunwind
This commit is contained in:
@ -64,6 +64,7 @@ collector_init_ctor (void)
|
|||||||
{
|
{
|
||||||
#if ENABLE_LIBUNWIND
|
#if ENABLE_LIBUNWIND
|
||||||
unw_set_caching_policy (unw_local_addr_space, UNW_CACHE_PER_THREAD);
|
unw_set_caching_policy (unw_local_addr_space, UNW_CACHE_PER_THREAD);
|
||||||
|
unw_set_cache_size (unw_local_addr_space, 1024, 0);
|
||||||
#endif
|
#endif
|
||||||
sysprof_collector_init ();
|
sysprof_collector_init ();
|
||||||
collector_ready = TRUE;
|
collector_ready = TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user