Hi,
I have my own .net CLR profiler that's using Corprofiler API.
Initially when the application starts,i have set the event mask like below,
hr = m_pProfilerInfo->SetEventMask(
COR_PRF_DISABLE_TRANSPARENCY_CHECKS_UNDER_FULL_TRUST |
COR_PRF_MONITOR_EXCEPTIONS |
COR_PRF_MONITOR_JIT_COMPILATION |
COR_PRF_MONITOR_MODULE_LOADS
);
In my ModuleLoadFinished(ModuleID moduleID, HRESULT hrStatus) callback am getting module name from the module id.
Ex.
System.Web.dll
System.dll
After profiler loaded successfully tried to explore w3wp.exe to verify loaded modules.I used Processexplorer to get see the modules of w3wp.exe it showing as follows,
System.Web.ni.dll -> These module functions not came to JITcompilation
System.ni.dll
How it changed ? How to solve this problem in my CLR Profiler?