Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging full path of loaded library in traces #236

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

lslusarczyk
Copy link
Contributor

Added full path of loaded library to trace message. Removed redundant line in case of failure

BEFORE:

[2024-11-15 15:43:37.975] [ze_loader] [trace] Loading Driver libze_intel_gpu.so.1
[2024-11-15 15:43:37.975] [ze_loader] [trace] Loading Driver libze_intel_gpu_legacy1.so.1
[2024-11-15 15:43:37.975] [ze_loader] [trace] Load Library of libze_intel_gpu_legacy1.so.1 failed with libze_intel_gpu_legacy1.so.1: cannot open shared object file: No such file or directory
[2024-11-15 15:43:37.975] [ze_loader] [trace] Loading Driver libze_intel_vpu.so.1
[2024-11-15 15:43:37.975] [ze_loader] [trace] Load Library of libze_intel_vpu.so.1 failed with libze_intel_vpu.so.1: cannot open shared object file: No such file or directory
[2024-11-15 15:43:37.975] [ze_loader] [trace] Loading Driver libze_intel_npu.so.1
[2024-11-15 15:43:37.975] [ze_loader] [trace] Load Library of libze_intel_npu.so.1 failed with libze_intel_npu.so.1: cannot open shared object file: No such file or directory

AFTER

[2024-11-15 15:46:37.065] [ze_loader] [trace] Loading Driver libze_intel_gpu.so.1 succeeded from: /home/lslusarczyk/src/neodev/build_Debug/bin/libze_intel_gpu.so.1
[2024-11-15 15:46:37.065] [ze_loader] [trace] Load Library of libze_intel_gpu_legacy1.so.1 failed with libze_intel_gpu_legacy1.so.1: cannot open shared object file: No such file or directory
[2024-11-15 15:46:37.065] [ze_loader] [trace] Load Library of libze_intel_vpu.so.1 failed with libze_intel_vpu.so.1: cannot open shared object file: No such file or directory
[2024-11-15 15:46:37.065] [ze_loader] [trace] Load Library of libze_intel_npu.so.1 failed with libze_intel_npu.so.1: cannot open shared object file: No such file or directory

Signed-off-by: Łukasz Ślusarczyk <lukasz.slusarczyk@intel.com>
@nrspruit nrspruit merged commit 93641de into oneapi-src:master Nov 18, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants