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

feat(profiling): Extract more frame info #1702

Merged
merged 5 commits into from Nov 8, 2022

Conversation

Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Oct 21, 2022

This extracts a little more information around the frame that we'll use to improve the visualization/groupings including

  • in_app
  • module

@Zylphrex Zylphrex force-pushed the txiao/feat/extract-more-frame-info-for-profiles branch from 1270f1c to a310801 Compare October 21, 2022 20:37
@Zylphrex Zylphrex marked this pull request as ready for review November 7, 2022 22:32
@Zylphrex Zylphrex requested review from sl0thentr0py and a team November 7, 2022 22:33
Comment on lines +275 to +277
handle_in_app_impl(
profile["frames"], options["in_app_exclude"], options["in_app_include"]
)
Copy link
Member Author

Choose a reason for hiding this comment

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

If I understood the helper correctly, this does the following

  • if no in_app_exclude or in_app_include are specified, it'll add "in_app": True to every frame
  • if it is specified
    • frames that match in_app_include will have "in_app": True added to it
    • frames that match in_app_exclude will have "in_app": False added to it
    • other frames will not specify, but we should treat them as if they're not in_app frames

@Zylphrex Zylphrex merged commit d8a69fd into master Nov 8, 2022
@Zylphrex Zylphrex deleted the txiao/feat/extract-more-frame-info-for-profiles branch November 8, 2022 14:28
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

2 participants