Home
last modified time | relevance | path

Searched refs:g_hookClient (Results 1 – 1 of 1) sorted by relevance

/developtools/profiler/device/plugins/native_hook/src/
Dhook_client.cpp63 static std::shared_ptr<HookSocketClient> g_hookClient {nullptr}; variable
243 g_hookClient.reset(); in MallocHookStart()
244 if (g_hookClient != nullptr) { in MallocHookStart()
249 g_hookClient = std::make_shared<HookSocketClient>(g_hookPid, &g_ClientConfig, &g_sampler, in MallocHookStart()
290 g_hookClient = nullptr; in ohos_release_on_end()
302 if (g_hookClient != nullptr) { in ohos_malloc_hook_on_end()
303 if (g_hookClient->GetNmdType() == 1) { in ohos_malloc_hook_on_end()
304 g_hookClient->SendNmdInfo(); in ohos_malloc_hook_on_end()
306 g_hookClient->SendEndMsg(); in ohos_malloc_hook_on_end()
307 g_hookClient->Flush(); in ohos_malloc_hook_on_end()
[all …]