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

info: fix ULTs stacks dump works only once #394

Conversation

bfaccini
Copy link
Contributor

Pull Request Description

1/one returned value must be tested instead of 0 to detect that last "parked" XStream is done in
ABTI_info_check_print_all_thread_stacks() and thus that print_stack_flag can be reset to PRINT_STACK_FLAG_UNSET
to allow for a next dump to be started.

References: DAOS-14248 ticket, Argobots issue #393.

Checklist

  • Reference appropriate issues (with "Fixes" or "See" as appropriate)
  • Commits are self-contained and do not do two things at once
  • Commit message is of the form: module: short description and follows good practice
  • Passes whitespace checkers

1/one returned value must be tested instead of 0 to
detect that last "parked" XStream is done in
ABTI_info_check_print_all_thread_stacks() and thus
that print_stack_flag can be reset to PRINT_STACK_FLAG_UNSET
to allow for a next dump to be started.

DAOS-14248 ticket, Argobots issue pmodels#393.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
@yfguo
Copy link
Contributor

yfguo commented Sep 26, 2023

@bfaccini I see the PR is created as draft. Is this still a work-in-progress?

@bfaccini
Copy link
Contributor Author

@bfaccini I see the PR is created as draft. Is this still a work-in-progress?

Nope sorry, this is only because I always submit PRs as draft just waiting for testing to complete and have forgotten to make it a "ready for review" !!

@yfguo
Copy link
Contributor

yfguo commented Jun 17, 2024

See #397

@yfguo yfguo closed this Jun 17, 2024
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