prof_backtrace_impl function only catch one function on arm-linux
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.2k
- Forks
- 1.6k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 13
Description
Hi,
I am trying to use jemalloc to check memory leak, but only catch last function.
jeprof ./unwind-test --show_bytes ./jeprof.5417.0.f.heap
Using local file ./unwind-test.
Using local file ./jeprof.5417.0.f.heap.
Welcome to jeprof! For help, type 'help'.
(jeprof) top
Total: 219654385 B
219654385 100.0% 100.0% 219654385 100.0% prof_backtrace_impl
build jemalloc
./configure --with-static-libunwind=/usr/local/lib/libunwind.a --enable-prof --enable-prof-libunwind --disable-prof-gcc --disable-prof-libgcc
config log
config.log
is jemoalloc work well on arm-linux ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing prof_backtrace_impl and the ARM/Linux configuration shown in the issue, including the --enable-prof-libunwind and --with-static-libunwind options. Reproduce the jeprof command with the provided unwind-test and heap profile, then inspect config.log. Done means the profile captures more than the final function and jeprof reports the expected call stack.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100