Skip to content

Add support of pprof dump for rust execution#793

Merged
richox merged 8 commits intoapache:masterfrom
zuston:pprof
Jan 26, 2025
Merged

Add support of pprof dump for rust execution#793
richox merged 8 commits intoapache:masterfrom
zuston:pprof

Conversation

@zuston
Copy link
Member

@zuston zuston commented Jan 23, 2025

Which issue does this PR close?

Closes #.

Rationale for this change

Currently, the native side execution flamegraph could not be collected by pprof, this PR support this.

What changes are included in this PR?

  1. Introduce the general http service for exposing the api to get the pprof data
  2. Change the jemalloc to the tikv-jemalloc for pprof. In the future, it also could dump the heap sample.

Are there any user-facing changes?

No. But the pprof usage could be introduced for users in the next PRs

@zuston
Copy link
Member Author

zuston commented Jan 24, 2025

I dont know why this CI failed, but my CI succeed in https://github.com/zuston/blaze/actions/runs/12941394589 . @richox

@richox
Copy link
Contributor

richox commented Jan 26, 2025

it would be great if you add some instructions for pprof in README

@richox richox merged commit 903279b into apache:master Jan 26, 2025
618 checks passed
@richox richox mentioned this pull request Apr 27, 2025
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