I've ported the main part of heaptrack some time ago: https://github.com/KDE/heaptrack/pull/24 They haven't done a tagged release since, but I guess it might be worth picking up git master for now..?
Moin moin I tried to build from master, however it fials to build for me. Do you have any local patches? mfg Tobias
No, everything I have is upstreamed, master builds for me. What is the error? (I have only tried on CURRENT)
[ 1%] Building C object 3rdparty/libbacktrace/CMakeFiles/backtrace.dir/backtrace.c.o /home/Tobias/devel/heaptrack/3rdparty/libbacktrace/backtrace.c:37:10: fatal error: 'unwind.h' file not found #include "unwind.h" ^~~~~~~~~~ 1 error generated. *** Error code 1
well, you do need to install devel/libunwind, as mentioned in the readme % ldd -a build/lib/heaptrack/libheaptrack_inject.so build/lib/heaptrack/libheaptrack_inject.so: libunwind.so.8 => /usr/local/lib/libunwind.so.8 (0x801e00000) …
(In reply to Greg V from comment #4) I have that one installed, it looks like the CMake code needs some more work to properly add the compiler and linker paths. Adding localbase is a workable fix for now.
A commit references this bug: Author: tcberner Date: Sun May 17 12:59:24 UTC 2020 New revision: 535545 URL: https://svnweb.freebsd.org/changeset/ports/535545 Log: devel/heaptrack: update to latest commit - Now contains actual heaptrack suport provded by GregV in [1] [1] https://github.com/KDE/heaptrack/pull/24 PR: 246131 Changes: head/devel/heaptrack/Makefile head/devel/heaptrack/distinfo head/devel/heaptrack/pkg-plist
Committed. Thanks.