Unable to code profile for the particular DLL which has been instrumented.

Hi Team,

I have instrumented my project DLL using the below commands in VS 2012

Step 1:

Open VS2012 x64 Cross Tools Command Prompt

Step 2:

Go to your working directory where symbol files are present.

Step 3:

Enable the /profile switch in the project.

https://msdn.microsoft.com/en-us/library/ays5x7b0.aspx

This is required to produce an output file that can be used with the Performance Tools profiler.

Step 4:

The instrumentation tool used by Visual Studio is called vsinstr.exe. To use vsinstr.exe, simply give it the /coverage switch and the path to the image to instrument:

vsinstr.exe /coverage MyProject.dll

Once the instrumentation is done ,the DLL is packaged along with exe. After the installation the DLL is copied into C:\Windows\System32

I need to do code profiling for the particular DLL which I have instrumented. I am unable to find a way to point to the instrumented DLL and the invocation EXE using the command vsperfcmd

vsperfcmd /start:coverage /output:VSReport.vsp

Kindly guide me on how to point to the instrumented while using vsperfcmd so that I can profile my code.

Regards,
Pradeep
Topic archived. No new replies allowed.