Skip to content

[Profiling] Switch <php> to <?php#1680

Merged
bwoebi merged 3 commits into
masterfrom
levi/profiling-php-tag
Aug 2, 2022
Merged

[Profiling] Switch <php> to <?php#1680
bwoebi merged 3 commits into
masterfrom
levi/profiling-php-tag

Conversation

@morrisonlevi

@morrisonlevi morrisonlevi commented Aug 1, 2022

Copy link
Copy Markdown
Collaborator

Description

When a call frame refers to top-level PHP code, the profiler will now
display this as <?php mirroring an open PHP tag instead of <php>.
This should be more intuitive to new users.

Readiness checklist

  • Changelog has been added to the release document.
  • Tests added for this feature/bug.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.

The exact fake frame name may change to align with other profilers,
but currently this information is missing and we can't easily tell if
a customer has hit a stalk walking bug, genuinely has weird stacks, or
if it's been truncated.
When a call frame refers to top-level PHP code, the profiler will now
display this as `<?php` mirroring an open PHP tag instead of `<php>`.
This should be more intuitive to new users.
@morrisonlevi morrisonlevi added 🏆 enhancement A new feature or improvement profiling Relates to the Continuous Profiler labels Aug 1, 2022
@morrisonlevi morrisonlevi added this to the 0.77.0 milestone Aug 1, 2022
@morrisonlevi
morrisonlevi marked this pull request as ready for review August 1, 2022 16:13
@morrisonlevi
morrisonlevi requested a review from a team as a code owner August 1, 2022 16:13
r1viollet
r1viollet previously approved these changes Aug 1, 2022

@r1viollet r1viollet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@morrisonlevi
morrisonlevi changed the base branch from levi/profiling-truncated-frames to master August 1, 2022 16:42
@morrisonlevi
morrisonlevi dismissed r1viollet’s stale review August 1, 2022 16:42

The base branch was changed.

@morrisonlevi
morrisonlevi changed the base branch from master to levi/profiling-truncated-frames August 1, 2022 16:42
Base automatically changed from levi/profiling-truncated-frames to master August 1, 2022 18:40
@morrisonlevi

Copy link
Copy Markdown
Collaborator Author

The randomized test failures are fixed in another PR: #1682.

@bwoebi bwoebi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Re-ack

@bwoebi
bwoebi merged commit 1e7aa49 into master Aug 2, 2022
@bwoebi
bwoebi deleted the levi/profiling-php-tag branch August 2, 2022 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏆 enhancement A new feature or improvement profiling Relates to the Continuous Profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants