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

Expose the main thread ID in the reader #560

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Conversation

pablogsal
Copy link
Member

To be able to filter allocations that happened only on the thread that
started the tracking, expose the main thread ID in the reader class.

Issue number of the reported bug or feature request: #

Describe your changes
A clear and concise description of the changes you have made.

Testing performed
Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.

Additional context
Add any other context about your contribution here.

@pablogsal pablogsal force-pushed the tid branch 2 times, most recently from 138b349 to 60022d0 Compare March 6, 2024 14:24
src/memray/_metadata.py Outdated Show resolved Hide resolved
@pablogsal pablogsal force-pushed the tid branch 2 times, most recently from 02e2bbb to 7849956 Compare March 7, 2024 12:04
To be able to filter allocations that happened only on the thread that
started the tracking, expose the main thread ID in the reader class.

Signed-off-by: Pablo Galindo <[email protected]>
Copy link
Contributor

@godlygeek godlygeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pablogsal pablogsal enabled auto-merge (rebase) March 7, 2024 15:51
@pablogsal pablogsal merged commit bdc8737 into bloomberg:main Mar 7, 2024
18 checks passed
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