Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4682 Discussions

Output from Inspector and application together?

erling_andersen
New Contributor I
144 Views

I am using Intel Inspector on Windows and it finds some uninitialized reads in command line application.

Now I would like Inspector to output that together with output of my program just like valgrind i.e.

My program: Bla bla.

My program: Bla2 Bla2.

Inspector: Unitialized read ....

My program: Bla 3 bla3

Is that possible?

 

 

0 Kudos
6 Replies
Peter_W_Intel
Employee
144 Views

Actually it is "ready" feature to support of displaying code snippet with problem report, add option "-verbose". For example:

 >inspxe-cl -R problem -verbose -r r008ti3

 

erling_andersen
New Contributor I
144 Views

What if you use the GUI? Can set this option in the GUI.

 

 

Peter_W_Intel
Employee
144 Views

There is no extra work (option) to do on GUI, just open result file, click on the problem, then display problematic source.

insp_src.png

erling_andersen
New Contributor I
144 Views

I do that. However, it just tells me where it happens in source and not when e.g. which data triggers the situation.

When I can see when the uniniatialized reads happens in the conjunction with output. Then I have a much better idea where and what to look for.  That valgrind does that and it helps me a lot.

 

erling_andersen
New Contributor I
144 Views

Btw when using the GUI I can see

  inspxe-cl -collect ti3 -knob terminate-on-deadlock=false -knob stack-depth=16 -knob scope=normal -knob remove-duplicates=true -knob use-maximum-resources=false  ...

I have search the HELP but I cannot find find which -knob there are available.

 

Peter_W_Intel
Employee
144 Views

>...it just tells me where it happens in source and not when e.g. which data triggers the situation.

It's true...if there are some variables (data) in one statement...but usually it happened in array for most invalid accesses, for uninitialized read, there are only limited data to be checked:-)

>I have search the HELP but I cannot find find which -knob there are available.

Just use, "inspxe-cl -knob-list ti3" to know all supported knob's options.

 

 

Reply