Lines Matching +full:- +full:- +full:dllname
1 /*===-- jitprofiling.c - JIT (Just-In-Time) Profiling API----------*- C -*-===*
8 *===----------------------------------------------------------------------===*
10 * This file provides Intel(R) Performance Analyzer JIT (Just-In-Time)
15 * products. Please do not reformat / re-style this code to make
18 *===----------------------------------------------------------------------===*/
79 /* Virtual stack - the struct is used as a virtual stack for each thread.
104 * The function for reporting virtual-machine related events to VTune.
110 * it will be -1 if EventSpecificData == 0 otherwise it will be 0.
135 /* initialization part - the functions have not been loaded yet. This part in iJIT_NotifyEvent()
175 if ( ((piJIT_Method_NIDS) EventSpecificData)->method_id <= 999 ) in iJIT_NotifyEvent()
182 threadStack->TopStack = INIT_TOP_Stack; in iJIT_NotifyEvent()
183 threadStack->CurrentStack = INIT_TOP_Stack; in iJIT_NotifyEvent()
192 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
193 (threadStack->CurrentStack)--; in iJIT_NotifyEvent()
213 if ( ((piJIT_Method_NIDS) EventSpecificData)->method_id <= 999 ) in iJIT_NotifyEvent()
222 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
223 ++(threadStack->CurrentStack) + 1; in iJIT_NotifyEvent()
225 if (((piJIT_Method_NIDS) EventSpecificData)->stack_id in iJIT_NotifyEvent()
226 > threadStack->TopStack) in iJIT_NotifyEvent()
227 ((piJIT_Method_NIDS) EventSpecificData)->stack_id = in iJIT_NotifyEvent()
228 (unsigned int)-1; in iJIT_NotifyEvent()
234 if ( ((piJIT_Method_Load) EventSpecificData)->method_id <= 999 ) in iJIT_NotifyEvent()
281 char *dllName = (char*)rcsid; /* !! Just to avoid unused code elimination */ in loadiJIT_Funcs() local
312 dllName = (char*)malloc(sizeof(char) * (dNameLength + 1)); in loadiJIT_Funcs()
314 dllName, dNameLength); in loadiJIT_Funcs()
318 m_libHandle = LoadLibraryExA(dllName, in loadiJIT_Funcs()
321 free(dllName); in loadiJIT_Funcs()
328 dllName = (char*)malloc(sizeof(char) * (dNameLength + 1)); in loadiJIT_Funcs()
330 dllName, dNameLength); in loadiJIT_Funcs()
334 m_libHandle = LoadLibraryA(dllName); in loadiJIT_Funcs()
336 free(dllName); in loadiJIT_Funcs()
340 dllName = getenv(NEW_DLL_ENVIRONMENT_VAR); in loadiJIT_Funcs()
341 if (!dllName) in loadiJIT_Funcs()
342 dllName = getenv(DLL_ENVIRONMENT_VAR); in loadiJIT_Funcs()
344 if (!dllName) in loadiJIT_Funcs()
345 dllName = ANDROID_JIT_AGENT_PATH; in loadiJIT_Funcs()
347 if (dllName) in loadiJIT_Funcs()
350 m_libHandle = dlopen(dllName, RTLD_LAZY); in loadiJIT_Funcs()
363 /* if the dll wasn't loaded - exit. */ in loadiJIT_Funcs()