summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/itt
Commit message (Collapse)AuthorAgeFilesLines
* itt: switch git repoNaveen Saini2020-03-043-69/+30
| | | | | | | | Use new git repo maintained by Intel https://github.com/intel/ittapi Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* itt: Add missing header and libraryYeoh Ee Peng2020-03-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While trying to compile itt sample from https://github.com/intel/IntelSEAPI, it was initially facing header file error. $gcc InstrumentationExample.cpp main.cpp -o itt-sample -littnotify64 -lstdc++ -lpthread -I /usr/include/ittnotify InstrumentationExample.cpp:53:10: fatal error: itt_notify.hpp: No such file or directory 53 | #include "itt_notify.hpp" | ^~~~~~~~~~~~~~~~ compilation terminated. main.cpp:18:10: fatal error: itt_notify.hpp: No such file or directory 18 | #include "itt_notify.hpp" | ^~~~~~~~~~~~~~~~ compilation terminated. While mannually added the missing itt_notify.hpp header to the image, it was facing the compilation errors while using the only available library (libittnotify64.a) provided by itt. $gcc InstrumentationExample.cpp main.cpp -o itt-sample -littnotify64 -lstdc++ -lpthread -I /usr/include/ittnotify In file included from /usr/include/ittnotify/itt_notify.hpp:8, from InstrumentationExample.cpp:53: /usr/include/ittnotify/ittnotify.h:253:6: warning: #warning "Deprecated API is used. Please undefine INTEL_ITTNOTIFY_ENABLE_LEGACY macro" [-Wcpp] 253 | # warning "Deprecated API is used. Please undefine INTEL_ITTNOTIFY_ENABLE_LEGACY macro" | ^~~~~~~ /usr/lib/gcc/x86_64-poky-linux/9.2.0/../../../../x86_64-poky-linux/bin/ld: /usr/lib/gcc/x86_64-poky-linux/9.2.0/../../../../lib/libittnotify64.a(ittnotify_static.c.o): in function `__itt_init_ittlib': /usr/src/debug/itt/17.01.28-r0/git/ittnotify/src/ittnotify/ittnotify_static.c:1189: undefined reference to `dlerror' collect2: error: ld returned 1 exit status Found that it was missing the required libIntelSEAPI64.so library. Compilation of itt sample succeeded after adding both missing header and library. Enhanced the itt recipe to provide both the itt_notify.hpp and libIntelSEAPI64.so. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* itt: install header files to package specific directoryNaveen Saini2019-08-091-2/+3
| | | | | | | Also installing other supported header files. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* itt: upgrade v17.0 -> v17.01.28Naveen Saini2019-08-031-5/+4
| | | | | | | | More info can be found here: https://github.com/intel/IntelSEAPI/releases/tag/17.01.28 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* itt: add recipeNaveen Saini2019-05-172-0/+63
Introduce IntelĀ® Single Event API (IntelĀ® SEAPI), which is the translator of itt_notify calls into several OS specific and third party tracing formats. It can be use as memory/performance/ whatever profile. Wiki: https://github.com/intel/IntelSEAPI/wiki Signed-off-by: Lim, Raynald <raynald.lim@intel.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>