xinyiZzz opened a new pull request, #22549:
URL: https://github.com/apache/doris/pull/22549
## Proposed changes
Jemalloc heap profile follows libgcc's way of backtracing by default.
rewrites dl_iterate_phdr will cause Jemalloc to fail to run after enable
profile.
TODO, two solutions:
1. Jemalloc specifies GNU libunwind as the prof backtracing way, but my test
failed,
`--enable-prof-libunwind` not work:
https://github.com/jemalloc/jemalloc/issues/2504
2. ClickHouse/libunwind solves Jemalloc profile backtracing, but the branch
of ClickHouse/libunwind
has been out of touch with GNU libunwind and LLVM libunwind, which will
leave the fate to others.
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]