Sha256: 1070b8515edb91b424908620899234623072c6ff7c9cb80be6bef1a40828cdde
Contents?: true
Size: 1.17 KB
Versions: 38
Compression:
Stored size: 1.17 KB
Contents
This is a reference implementation of the ITT API _dynamic part_ that performs tracing data from ITT API functions calls to log files. To use this solution it is required to build it like a shared library and add full library path to the `INTEL_LIBITTNOTIFY64/INTEL_LIBITTNOTIFY32` environment variable: **On Linux** ``` make export INTEL_LIBITTNOTIFY64=<build_dir>/libittnotify_refcol.so ``` **On FreeBSD** ``` make setenv INTEL_LIBITTNOTIFY64 <build_dir>/libittnotify_refcol.so ``` Temp directory is used by default to save log files. To change log directory use the `INTEL_LIBITTNOTIFY_LOG_DIR` environment variable: **On Linux** ``` export INTEL_LIBITTNOTIFY_LOG_DIR=<log_dir> ``` **On FreeBSD** ``` setenv INTEL_LIBITTNOTIFY_LOG_DIR <log_dir> ``` This implementation adds logging of some of the ITT API functions calls. Adding logging of the other ITT API functions calls are welcome. The solution provides 4 functions with different log levels that takes printf format for logging: ``` LOG_FUNC_CALL_INFO(const char *msg_format, ...); LOG_FUNC_CALL_WARN(const char *msg_format, ...); LOG_FUNC_CALL_ERROR(const char *msg_format, ...); LOG_FUNC_CALL_FATAL(const char *msg_format, ...); ```
Version data entries
38 entries across 38 versions & 1 rubygems