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

third party libs

Peter_S_8
Principiante
1.159 Vistas

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 Respuestas
Peter_W_Intel
Empleados
1.159 Vistas

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
Principiante
1.159 Vistas

Thank you - thumbs up for the intel service!

kind regards

Peter

Responder