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

docs(linux-perf): add tutorial of linux_perf #493

Merged
merged 3 commits into from
Aug 25, 2021

Conversation

- [http://www.brendangregg.com/blog/2014-09-17/node-flame-graphs-on-linux.html](http://www.brendangregg.com/blog/2014-09-17/node-flame-graphs-on-linux.html)
- https://github.com/mmarchini/node-linux-perf
- https://perf.wiki.kernel.org/index.php/Main_Page
- https://blog.rafaelgss.com.br/node-cpu-profiler
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure if can reference this blog post here, but it's pretty similar to the tutorial described here.


![Example nodejs flamegraph](https://user-images.githubusercontent.com/26234614/129488674-8fc80fd5-549e-4a80-8ce2-2ba6be20f8e8.png)

To generate a flamegraph from this result, follow [this tutorial](https://nodejs.org/en/docs/guides/diagnostics-flamegraph/#create-a-flame-graph-with-system-perf-tools) from step 6.
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm pointing to Node.js docs here to avoid duplication.

@RafaelGSS RafaelGSS marked this pull request as ready for review August 15, 2021 19:08
Copy link
Member

@Qard Qard left a comment

Choose a reason for hiding this comment

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

Looking great! Just a few little grammatical nits. 🙂

documentation/profiling/step2/using_linux_perf.md Outdated Show resolved Hide resolved
documentation/profiling/step2/using_linux_perf.md Outdated Show resolved Hide resolved
documentation/profiling/step2/using_linux_perf.md Outdated Show resolved Hide resolved
documentation/profiling/step2/using_linux_perf.md Outdated Show resolved Hide resolved
Co-authored-by: Stephen Belanger <admin@stephenbelanger.com>
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.

4 participants