Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

third party libs

Peter_S_8
Beginner
213 Views

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
213 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
213 Views

Thank you - thumbs up for the intel service!

kind regards

Peter

Reply