Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Peter_S_8
Beginner
29 Views

third party libs

Good morning

I am using a third party lib from a hardware company. delivering a data aquisition card that reads data from

a CAN bus.

If i integrate the H file and the dll to my project, but don't use any of the methods from

this library, the inspector throws me an lot of kernel resource leaks pointing to that library.

Why does that happen, none of the code has been used?

kind regards

 Peter

0 Kudos
2 Replies
Peter_W_Intel
Employee
29 Views

If you have dll integrated into project, but you don't use methods from it. Try like as -

inspxe-cl -collect mi2 -module-filter-mode=exclude -module-filter=3rd-party-dll -- your-program  ; will not analyze dll 

inspxe-cl -collect mi2 -module-filter-mode=include -module-filter=your-program -- your-program ; only analyze your executable

Peter_S_8
Beginner
29 Views

Thank you - thumbs up for the intel service!

kind regards

Peter