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: support for DTrace stack profiles #56

Closed
wants to merge 5 commits into from

Conversation

gmarler
Copy link

@gmarler gmarler commented Sep 20, 2018

Wondering if this could be reviewed/refined and possibly folded in at some point.

Used named regex captures to allow perf, DTrace, and ultimately bcc profiles to be parsed.

Have provided an example DTrace profiling script, but can make it more generic as needed.

- README updated with example DTrace profiling script
- heatmap now works as expected
- stacks mostly works - need to handle frequency completely
@spiermar spiermar changed the title Add ability to use DTrace stack profiles feat: support for DTrace stack profiles Sep 28, 2018
@brendangregg
Copy link
Contributor

thanks, but I'm probably going to close this PR: there's over a dozen different profilers flamescope can support, and inserting code for each throughout flamescope will be a mess.

What flamescope should do is how I've architected flamegraph.pl: have it read a simple generic format, and then we write converters/modules for each. That isolates each profiler to its own file, and doesn't strew code throughout flamescope. At that point it should be even easier to add support for profilers like DTrace.

@spiermar
Copy link
Contributor

Closing in favor of #69.

@spiermar spiermar closed this Apr 28, 2019
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.

3 participants