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

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-28.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-27.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-26.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-25.0.2 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-25.0.1 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-25.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-24.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-23.0.2 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-22.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-21.0.1 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-20.0.2 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-20.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-18.0.3 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-17.0.1 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-17.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-16.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-15.0.1 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-15.0.0 ./ext/cargo-vendor/ittapi-sys-0.4.0/c-library/src/ittnotify_refcol/README.md
wasmtime-14.0.4 ./ext/cargo-vendor/ittapi-sys-0.3.5/c-library/src/ittnotify_refcol/README.md