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

Flamegraph helper #110

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BlackIkeEagle
Copy link

Install the perl helpers and add a simple wrapper to make it easy to generate flamegraphs

install both perl helpers:
- stackcollapse-phpspy.pl
- vendor/flamegraph.pl

These make it more convenient to generate flamegraph's when phpspy is
installed systemwide

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
@BlackIkeEagle
Copy link
Author

Note that the choice of install paths for the perl helpers and the flamegraph wrapper make it work fine inside the repo, or when installed on a system

@BlackIkeEagle
Copy link
Author

@adsr do you think this is usefull to merge? If not I can keep the wrapper in a repo of my own.

@adsr
Copy link
Owner

adsr commented Oct 26, 2021

Hi @BlackIkeEagle apologies for the long delay. The script looks useful to me. I wonder if we can instead build the flamegraph format into the binary itself, removing the extra dep in the process. What do you think?

@BlackIkeEagle
Copy link
Author

You would like to avoid the perl dependency? I did not check if it would be easy to move this functionality into C

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