Under "Modules of Interest", I selected the Photoshop plugin I am trying to profile.
Using this setup, I ran the sampling data collector, which works fine. But it lacks detailed information about the function calls in my application. So I ran the call graph tool instead. I can see that VTune is modifying my plugin binary, presumably to add instrumentation code. When my plugin is invoked, it crashes Photoshop with an error: "R6002 Floating point support not loaded".
I also tried getting VTune to launch Photoshop as an application, but this crashes Photoshop before the application window could start. So I didn't even get a chance to run my plugin.
Does anyone know what could be wrong?
thepossible reason of the failure you described is that VTune 8.0 doesn't support working on Vista. Vista compatibility is declared starting 9.0, so you'd better to try your luck with the lates version that is 9.0 Update 7.
The other actions you did look correct.
Here, on forum, you can get help on quite common (known) issues or ones that simple to investigate.
Sorry, but your problem looksspecific and needs to be investigated deeply in official way.
Could you submit your issue on https://premier.intel.com?
I'm not too surprised that Photoshop didn't like you trying to call graph a plugin, since call graph is very invasive. Did you try sampling with version 9.0 update 7? Were your results any better?
What is the point of instrumenting the plugin inside the Photoshop? I understand that it would be the most relevant and easiest way but I believe there is no need for that.
Why don't you just profile your processing code outside of the plugin? Make a test application and copy the main processing function into it and then simulate some real workload. Once you manage to tune the function to the desired speed just merge the changes into the plugin itself.
At least that is how I would do it if I had the same problem.