-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add the get_umf_debug_info.sh
script to print saved strings
#993
base: v0.10.x
Are you sure you want to change the base?
Add the get_umf_debug_info.sh
script to print saved strings
#993
Conversation
6a5b72a
to
19f847b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps we should wait with this for #992 and re-base it to v0.10.x ?
19f847b
to
ab1f260
Compare
Rebased |
ab1f260
to
bd6b240
Compare
9c5807f
to
2bf2c08
Compare
@bratpiorka @lukaszstolarczuk please review |
Do we need this script in repo? What is an usecase? This is literally debug feature, that anyone with basic skills should use without helper scripts. |
I think it could be useful on our other repos; it's just a script 😉 |
2bf2c08
to
dbacb0e
Compare
@bratpiorka please review |
It can be useful in retrieving a complete information on the build used by someone who filed a bug. It's easier to just ask to run this script than explaining what packages one needs and what to grep for each time, I think. |
dbacb0e
to
b5e23b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably if there's any doubt, we could discuss if this should go into an internal repo...?
b5e23b0
to
9717f3b
Compare
Add the `get_umf_debug_info.sh` script to print saved strings. It can be used with any user binary: $ scripts/get_umf_debug_info.sh ./build/test/umf_test-base ./build/test/umf_test-base does not contain magic strings of the UMF library. $ scripts/get_umf_debug_info.sh ./build/test/umf_test-ipc ./build/test/umf_test-ipc is statically linked with the UMF library. Strings in /mnt/wsl/files/repos/unified-memory-framework/build/test/umf_test-ipc: @(#) Intel(R) UMF version: 0.10.0-git4.gbf701ee8 @(#) Intel(R) UMF CMake variables: "CMAKE_BUILD_TYPE:Debug, ..." $ scripts/get_umf_debug_info.sh ./build/test/umf_test-c_api_disjoint_pool ./build/test/umf_test-c_api_disjoint_pool is dynamically linked with the UMF library \ (/mnt/wsl/files/repos/unified-memory-framework/build/lib/libumf.so.0.10.0). Strings in /mnt/wsl/files/repos/unified-memory-framework/build/lib/libumf.so.0.10.0: @(#) Intel(R) UMF version: 0.10.0-git4.gbf701ee8 @(#) Intel(R) UMF CMake variables: "CMAKE_BUILD_TYPE:Debug, ..." $ scripts/get_umf_debug_info.sh ./build/lib/libumf.so ./build/lib/libumf.so is the UMF library (/mnt/wsl/files/repos/unified-memory-framework/build/lib/libumf.so.0.10.0). Strings in /mnt/wsl/files/repos/unified-memory-framework/build/lib/libumf.so.0.10.0: @(#) Intel(R) UMF version: 0.10.0-git4.g806ce00c @(#) Intel(R) UMF CMake variables: "CMAKE_BUILD_TYPE:Debug, ..." Signed-off-by: Lukasz Dorau <[email protected]>
9717f3b
to
b3d87e1
Compare
Description
Add the
get_umf_debug_info.sh
script to print saved strings.It can be used with any user binary:
Checklist