Are you sure that Vtune is actually hanging and not just deadly slow? In some rare cases, I have experienced such behavior, especially for very complicated code like huge (automatically generated) functions.
What are you trying to do: sampling or call-graph?
Thanks for the reply. I don't think that's the case, I'm working on complicated code but to test I wrote a very simple program, just defining a matrix in main():
When I add this line, VTune cant profile the program. I've tried both sampling and call-graph. SuSE 10.3 and its default boost library are used, with gcc 4.2. Because of this problem I'm using google profiler for it and it just works fine. It wouold be nice if I could find out the problem.