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 support of pprof dump for rust execution #793

Merged
merged 8 commits into from
Jan 26, 2025
Merged

Conversation

zuston
Copy link
Contributor

@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
Contributor 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
Collaborator

richox commented Jan 26, 2025

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

@richox richox merged commit 903279b into kwai:master Jan 26, 2025
618 checks passed
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