Profiling FAQ #2: Why am I seeing functions from DLLs I didn’t instrument in my Function view?


This is actually just a corollary of the “Why don’t instrumentation and sampling calltrees look the same” FAQ.


In instrumentation, you will see all of the functions inside of the instrumented DLL as you would expect.  However you will also see every function from an external function called DIRECTLY from those functions.  This is a beneficial side effect of the way we do instrumentation as detailed below.  This should give you a decent view of the context of your execution’s call stack without resorting to instrumenting every dll in the application.

Comments (3)

  1. Visual Studio Team System

    Richard Campbell has announced that he and Carl Franklin will tape an episode…

  2. I’ve pulled together all of the technical articles and walkthroughs from the various team member blogs…