Skip to content

feat(profiling): Extract more frame info#1702

Merged
Zylphrex merged 5 commits intomasterfrom
txiao/feat/extract-more-frame-info-for-profiles
Nov 8, 2022
Merged

feat(profiling): Extract more frame info#1702
Zylphrex merged 5 commits intomasterfrom
txiao/feat/extract-more-frame-info-for-profiles

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 a team and sl0thentr0py 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.

2 participants