Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

third party libs

Peter_S_8
Beginner
383 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
383 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

0 Kudos
Peter_S_8
Beginner
383 Views

Thank you - thumbs up for the intel service!

kind regards

Peter

0 Kudos
Reply