Skip to content

Extending thread description#1997

Merged
hkaiser merged 2 commits into
masterfrom
thread_description
Feb 23, 2016
Merged

Extending thread description#1997
hkaiser merged 2 commits into
masterfrom
thread_description

Conversation

@hkaiser
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor 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
Copy Markdown
Contributor 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.

1 participant