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

Add thread name to output when using record subcommand #599

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

codypiersall
Copy link
Contributor

Whenever the -t option is given, py-spy will now attempt to output thread names as well as thread ID.

@codypiersall
Copy link
Contributor Author

This is a pretty small change that would help when debugging our multithreaded GUI at work. py-spy already had all the logic to make this a simple change, which I was very grateful for.

Copy link
Owner

@benfred benfred left a comment

Choose a reason for hiding this comment

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

lgtm - thanks!

@benfred benfred merged commit af29a0e into benfred:master Jul 31, 2023
@benfred benfred added the enhancement New feature or request label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants