In general, of course, if both compilers generate debug symbols recognized by VTune. If you have a specific question, give more details. For example, I've seen better results with mixed gfortran and gcc on Windows when the entire build was done with a single gfortran command. But that's well outside usual usage.