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

trace/dawr: Handle debuginfod check #2952

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sacsant
Copy link
Contributor

@sacsant sacsant commented Mar 12, 2025

On recent Linux distribution releases running gdb debug session
with dawr binary fails. While running the program with gdb,
following interactive debuginfod related question is introduced

Enable debuginfod for this session? (y or [n])

Handle this additional ask by extending the fedora only check to
SUSE release. While at it avoid duplication of this code by moving
the logic to run_cmd

Signed-off-by: Sachin Sant [email protected]

On recent Linux distribution releases running gdb debug session
with dawr binary fails. While running the program with gdb
following interactive debuginfod related question is introduced

Enable debuginfod for this session? (y or [n])

Handle this additional ask by extending the fedora only check
to SUSE release. While at it avoid duplication of this code
by moving the logic to run_cmd

Signed-off-by: Sachin Sant <[email protected]>
@sacsant
Copy link
Contributor Author

sacsant commented Mar 12, 2025

Without the fix:

(1/3) trace/dawr.py:Dawr.test_read_dawr_v1: STARTED
(1/3) trace/dawr.py:Dawr.test_read_dawr_v1: FAIL: Test case failed for 1 variable (60.59 s)

With fix:

(1/3) trace/dawr.py:Dawr.test_read_dawr_v1: STARTED
(1/3) trace/dawr.py:Dawr.test_read_dawr_v1: PASS (1.17 s)

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.

1 participant