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

Add symbolize feature for online symbolization #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erikgrinaker
Copy link

This patch adds a symbolize feature which performs online symbolization of profiles using the backtrace crate.

This is often much more convenient than having to manually obtain binaries and symbolize the profiles, and matches the behavior of e.g. the pprof-rs CPU profiler. It will also allow emitting e.g. flamegraph SVGs directly, which I'll submit in a follow-up PR.

Online symbolization uses a fair amount of memory for symbol caches, but this is often a worthwhile tradeoff.

@CLAassistant
Copy link

CLAassistant commented Feb 1, 2025

CLA assistant check
All committers have signed the CLA.

@erikgrinaker erikgrinaker force-pushed the symbolize branch 3 times, most recently from 3e91fa8 to f825061 Compare February 1, 2025 14:29
This patch adds a `symbolize` feature which performs online
symbolization of profiles using the `backtrace` crate.

This is often much more convenient than having to manually obtain
binaries and symbolize the profiles, and matches the behavior of e.g.
the `pprof-rs` CPU profiler. It will also allow emitting e.g. flamegraph
SVGs directly, which I'll submit in a follow-up PR.

Online symbolization uses a fair amount of memory for symbol caches, but
this is often a worthwhile tradeoff.
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