Is there a way to automatically launch inspxe-cl when a process starts? In some cases, the tool cannot be run manually because the process is started through some other component. Windows services come to mind, as well as applications that launch child processes such as iexplore.exe.
I tried using the "Image File Execution Options" registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\intel_inspector_demo.exe]
"Debugger"="C:\\Program Files\\Intel\\Inspector XE 2013\\bin32\\inspxe-cl.exe -collect mi2 -result-dir C:\\Users\\admin\\Desktop\\demo\\result@@@ --"
This did not work as expected and caused the application to hang. When looking in Process Explorer, I noticed that there were three instances of inspxe-cl.exe in the process tree.