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

Change the dump format in dump_on_limit to pprof #101

Open
melkamar opened this issue Apr 16, 2024 · 1 comment
Open

Change the dump format in dump_on_limit to pprof #101

melkamar opened this issue Apr 16, 2024 · 1 comment

Comments

@melkamar
Copy link
Contributor

Description

Hi, first off, thank you for the extension, it's awesome!

Based on reading the documentation and skimming the source code, am I right to conclude that the dump_on_limit operation mode can currently only output the callgrind-format file? If I want a pprof-format, I can only do that by inserting explicit memprof_dump_pprof () calls to the code?

It would be great if this could be customized and the default format for the dump_on_limit could be changed to be readable by pprof, if possible.

Thanks again

@arnaud-lb
Copy link
Owner

Hi!

Since #97, this can be customized with the memprof.output_format setting. There were no pecl release since then, however, so this will only work in manual installs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants