MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / isVmRuntimeEntry

Function isVmRuntimeEntry

src/vmEntry.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48JVM_MemoryFunc VM::_freeMemory;
49
50static bool isVmRuntimeEntry(const char* blob_name) {
51 return streq(blob_name, "_ZNK12MemAllocator8allocateEv")
52 || startsWith(blob_name, "_Z22post_allocation_notify")
53 || startsWith(blob_name, "_ZN11OptoRuntime")
54 || startsWith(blob_name, "_ZN8Runtime1")
55 || startsWith(blob_name, "_ZN13SharedRuntime")
56 || startsWith(blob_name, "_ZN18InterpreterRuntime");
57}
58
59static bool isZingRuntimeEntry(const char* blob_name) {
60 return startsWith(blob_name, "_ZN14DolphinRuntime")

Callers

nothing calls this directly

Calls 2

streqFunction · 0.85
startsWithFunction · 0.85

Tested by

no test coverage detected