locked
Different modules loaded between CLR Profiler and w3wp.exe RRS feed

  • Question

  • 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?

     
    Saturday, September 12, 2020 3:26 PM

All replies

  • Hi Duraikannu Jeyamani,

    >>I used Processexplorer to get see the modules of w3wp.exe

    Since w3wp.exe is the worker process for IIS, you can consider posting your question in IIS general forum.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, September 14, 2020 6:52 AM