I'm also trying to use VTune on Windows 7. I get a similar error graph trying to do call graphs:
Static instrumentation done
Fri Aug 06 18:34:38 2010 Warning for module "c:\windows\system32\ntdll.dll" - Maximal instrumentation is None.
Fri Aug 06 18:34:38 2010 Error - Program crashed.
Fri Aug 06 18:34:38 2010 Data collection halted...
I've tried using Parallel Amplifier in the MSVS2008 environment on my C++ application. I followed the Getting Started instructions. When I run the application the output window says Outside any known module and Unknown Frames. I can see code OK using the matrix sample application.
I now have source showing with VTunesampling and monitoring after building with the Intel C++ compiler under MSVS2008. The change to Intel C++ was remarkably simple. (I had a few problems moving the code from Linux to MSVC++.)
Sorry to resurect this thread. But we have newly upgraded to Windows 7 as well, and it looks like we have the same problem. So I was just wondering, if there is any news on this? Using Call Graph profiling, has been our favorite way of profiling as well.
- Much simpler to navigate up and down the call tree. Also helps to optimize the right function. Maybe the function showing most time spent is not the biggest problem, but the one calling it the most times should cach the return instead.
- When you see how many times a function is called, it's easier to find out what what kind of optimization is needed. Caching, change algorithm, or maybe even force inlining would help. It's not given if for example inlining would help at all when you just see the total time spent in a function.
Maybe I just don't know how to use sampling the right way, but I can't see how to find out these things when using sampling.
Thanks in advance,