Searched refs:g_sampler (Results 1 – 1 of 1) sorted by relevance
64 static Sampling g_sampler; variable248 g_sampler.Reset(); in MallocHookStart()249 g_hookClient = std::make_shared<HookSocketClient>(g_hookPid, &g_ClientConfig, &g_sampler, in MallocHookStart()398 …if (g_ClientConfig.sampleInterval > MIN_SAMPLER_INTERVAL && g_sampler.StartSampling(size) == 0) { … in hook_malloc()503 …if (g_ClientConfig.sampleInterval > MIN_SAMPLER_INTERVAL && g_sampler.StartSampling(len) == 0) { … in hook_aligned_alloc()619 …if (g_ClientConfig.sampleInterval > MIN_SAMPLER_INTERVAL && g_sampler.StartSampling(size * number)… in hook_calloc()728 … if (g_ClientConfig.sampleInterval > MIN_SAMPLER_INTERVAL && g_sampler.StartSampling(size) == 0) { in hook_realloc()990 && g_sampler.StartSampling(length) == 0) { in hook_mmap()