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

Extending thread description #1997

Merged
merged 2 commits into from Feb 23, 2016
Merged

Extending thread description #1997

merged 2 commits into from Feb 23, 2016

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Feb 21, 2016

This PR is meant to improve the diagnostic capabilities of debuggers and tracing tools (like APEX). Especially tools like APEX have a hard time associating pieces of code with events they are hooked into. By passing the addresses of scheduled (local) functions to the tool we allow to establish that missing connection (the address can be resolved to the corresponding symbol using debug information, if available).

- this will give threads which run local functions (not actions)
  identification in debugging and profiling contexts
@hkaiser
Copy link
Member Author

hkaiser commented Feb 21, 2016

@khuck, @nchaimov: this PR should provide the information to APEX you were asking for. Would you mind trying it out and reporting back whether it works as expected?

@hkaiser hkaiser force-pushed the thread_description branch 2 times, most recently from e7bc3d2 to 58ac249 Compare February 22, 2016 17:46
@hkaiser
Copy link
Member Author

hkaiser commented Feb 23, 2016

@khuck wrote in an email:

Nick and I were trying it with the NBody program from Zarha. It seemed to do what it was supposed to - Nick is adding Binutils support to the CMakeLists.hpx file to see what the addresses resolve to, and if the data makes sense.

I'll go ahead and merge this. Please report problems as new tickets.

hkaiser added a commit that referenced this pull request Feb 23, 2016
@hkaiser hkaiser merged commit 6c08935 into master Feb 23, 2016
@hkaiser hkaiser deleted the thread_description branch February 23, 2016 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant