return -1;
}
- // checkProfilerInjection checks dotnet-launcher run mode
+ // checkInjection checks dotnet-launcher run mode
// At the moment, this mechanism is used only when the Memory Profiler is started.
- int res = checkProfilerInjection();
+ int res = checkInjection();
if (res != 0) {
_ERR("Failed to initnialize Memory Profiler");
return -1;