HeaptrackProject
ActivePublic

Details

Description

A fast heap memory profiler for Linux.

Recent Activity

Sep 26 2021

alex added a comment to T14217: Clean up KCalendarCore::Calendar.

PRIORITY: should this be unsigned instead of int?

Sep 26 2021, 11:11 AM · KF6

Sep 25 2021

gjditchfield added a project to T14217: Clean up KCalendarCore::Calendar: Heaptrack.
Sep 25 2021, 9:17 PM · KF6

May 17 2018

mwolff closed T1841: heaptrack: support debuglink and UUID for split debug info as Resolved.

fixed by using an updated libbacktrace

May 17 2018, 8:47 PM · Performance Tooling, Heaptrack

Mar 8 2018

mwolff abandoned D10916: Allow to copy/paste callstacks from Heaptrack to other applications.
Mar 8 2018, 3:25 PM · Heaptrack
mwolff commandeered D10916: Allow to copy/paste callstacks from Heaptrack to other applications.

code review is taking place on github for this change request: https://github.com/KDE/heaptrack/pull/12

Mar 8 2018, 3:25 PM · Heaptrack

Feb 28 2018

jcoulon added a project to D10916: Allow to copy/paste callstacks from Heaptrack to other applications: Heaptrack.
Feb 28 2018, 1:24 PM · Heaptrack

Jan 21 2018

middleton added a comment to D9259: fix heaptrack_inject to find second kind of relocation.

I see from your recent commits that you've figured most things out here.

Jan 21 2018, 6:43 PM · Heaptrack

Jan 17 2018

mwolff added a comment to D9259: fix heaptrack_inject to find second kind of relocation.

I've adapted and pushed this now. Many thanks Ivan! Much appreciated.

Jan 17 2018, 3:40 PM · Heaptrack
mwolff closed D9259: fix heaptrack_inject to find second kind of relocation.
Jan 17 2018, 3:39 PM · Heaptrack
mwolff added a comment to D9259: fix heaptrack_inject to find second kind of relocation.

Aha, -DTAKE_ADDR fails when I use ld.bfd instead of ld.gold, I assume you do that too? I still don't see a difference with using -Wl,-z,now though...

Jan 17 2018, 2:18 PM · Heaptrack
mwolff added a comment to D9259: fix heaptrack_inject to find second kind of relocation.

I fail to reproduce the issue with the provided test case on ArchLinux. When I compile the three variants, I always properly detect the free calls.

Jan 17 2018, 1:46 PM · Heaptrack
mwolff added a comment to D9259: fix heaptrack_inject to find second kind of relocation.

Thanks, I'll take over then. What email address should I use to attribute (parts of) the patch to?

Jan 17 2018, 12:45 PM · Heaptrack

Jan 15 2018

middleton added a comment to D9259: fix heaptrack_inject to find second kind of relocation.

I was curious enough to figure out what compiler behavior causes the different type of relocation entries, so here's a test program with extensive comments. I was originally seeing the behavior with libcairo, but this should make testing easy.

Jan 15 2018, 2:11 AM · Heaptrack
middleton updated the diff for D9259: fix heaptrack_inject to find second kind of relocation.

I'm not much of a C++ guy, so take it from here, Milian, if this patch still needs work. :)

Jan 15 2018, 1:56 AM · Heaptrack

Dec 20 2017

mwolff requested changes to D9259: fix heaptrack_inject to find second kind of relocation.

hey, thanks for the contribution! do you have a code snippet that showed the behavior we could use for testing purposes?

Dec 20 2017, 10:05 PM · Heaptrack

Dec 8 2017

middleton created D9259: fix heaptrack_inject to find second kind of relocation.
Dec 8 2017, 4:30 PM · Heaptrack

Aug 31 2017

mwolff closed D7621: Use check_symbol_exists() to check if cfree() is available (v2) by committing R45:f0a682550118: Use check_symbol_exists() to check if cfree() is available.
Aug 31 2017, 7:57 AM · Heaptrack
mwolff abandoned D6405: Use check_symbol_exists() to check if cfree() is available.

abandoning since https://phabricator.kde.org/D7621 got landed

Aug 31 2017, 7:57 AM · Heaptrack
mwolff commandeered D6405: Use check_symbol_exists() to check if cfree() is available.

taking over to close

Aug 31 2017, 7:57 AM · Heaptrack
mwolff accepted D7621: Use check_symbol_exists() to check if cfree() is available (v2).

thanks, I'll fix this up and merge this

Aug 31 2017, 7:51 AM · Heaptrack
beischer updated the diff for D7621: Use check_symbol_exists() to check if cfree() is available (v2).

Added link to bug 383889.

Aug 31 2017, 6:18 AM · Heaptrack

Aug 30 2017

beischer added a comment to D6405: Use check_symbol_exists() to check if cfree() is available.

I opened https://phabricator.kde.org/D7621 which includes the requested changes.

Aug 30 2017, 8:08 PM · Heaptrack
beischer created D7621: Use check_symbol_exists() to check if cfree() is available (v2).
Aug 30 2017, 8:07 PM · Heaptrack

Aug 27 2017

mwolff added a comment to D6405: Use check_symbol_exists() to check if cfree() is available.

Please also add a link to https://bugs.kde.org/show_bug.cgi?id=383889

Aug 27 2017, 8:44 PM · Heaptrack
mwolff requested changes to D6405: Use check_symbol_exists() to check if cfree() is available.
Aug 27 2017, 8:35 PM · Heaptrack

Jun 27 2017

mwolff created T6405: investigate heaptrack run on primusrun.
Jun 27 2017, 1:22 PM · Heaptrack
dvratil created D6405: Use check_symbol_exists() to check if cfree() is available.
Jun 27 2017, 11:39 AM · Heaptrack

May 2 2017

kossebau removed a member for Heaptrack: kossebau.
May 2 2017, 8:12 PM
kossebau added a member for Heaptrack: kossebau.
May 2 2017, 7:14 PM

Apr 5 2017

mwolff added a comment to T1841: heaptrack: support debuglink and UUID for split debug info.

A WIP for this can be found in wip/buildid, it will include the buildid in the heaptrack file. But for interpreting, it isn't enough to just load the debug file only. It has to be used in addition apparently, which isn't possible without patching libbacktrace like is done in vogl.

Apr 5 2017, 11:09 AM · Performance Tooling, Heaptrack

Jan 22 2017

mwolff added a comment to T1711: heaptrack: merge tree model by function.

some ideas on how to do it:

Jan 22 2017, 12:12 AM · Performance Tooling, Heaptrack
mwolff added a comment to T1726: heaptrack: open editor at location.

need to add configuration for the editor preferences, similar to what gammaray does

Jan 22 2017, 12:06 AM · Performance Tooling, Heaptrack
mwolff moved T1726: heaptrack: open editor at location from Done to Work in progress on the Heaptrack board.
Jan 22 2017, 12:06 AM · Performance Tooling, Heaptrack
mwolff moved T1726: heaptrack: open editor at location from Backlog to Done on the Heaptrack board.
Jan 22 2017, 12:06 AM · Performance Tooling, Heaptrack
mwolff moved T1733: heaptrack: add diff view between data from Backlog to Done on the Heaptrack board.
Jan 22 2017, 12:06 AM · Performance Tooling, Heaptrack
mwolff moved T2144: heaptrack: restructure cmake to remove version warning when building gui from Backlog to Done on the Heaptrack board.
Jan 22 2017, 12:05 AM · Performance Tooling, Heaptrack

Jun 29 2016

mwolff added a comment to T1719: heaptrack: approximate malloc overhead.

additionally, we could try to use seccomp(-bpf) to get notified about mmap syscalls via SIGSYS, but I'm not sure whether we get access to the syscall args from the interrupt handler

Jun 29 2016, 10:17 AM · Performance Tooling, Heaptrack
mwolff closed T1724: heaptrack: make `libheaptrack.h` API public as Resolved.

there's now a public heaptrack_api.h for pool allocators.

Jun 29 2016, 10:16 AM · Performance Tooling, Heaptrack

Apr 6 2016

mwolff created T2144: heaptrack: restructure cmake to remove version warning when building gui.
Apr 6 2016, 10:03 AM · Performance Tooling, Heaptrack

Apr 5 2016

mwolff lowered the priority of T1716: heaptrack: only build graphics items for displayed items in flamegraph from High to Normal.
Apr 5 2016, 8:53 PM · Performance Tooling, Heaptrack

Mar 24 2016

mwolff closed T1707: heaptrack: add caller/callee table as Resolved.

implemented now

Mar 24 2016, 6:22 PM · Heaptrack, Performance Tooling

Mar 23 2016

mwolff closed T1717: heaptrack: add flamegraph view for other data types as Resolved.

implemented now

Mar 23 2016, 3:19 PM · Performance Tooling, Heaptrack

Mar 15 2016

mwolff created T1841: heaptrack: support debuglink and UUID for split debug info.
Mar 15 2016, 7:27 PM · Performance Tooling, Heaptrack
mwolff closed T1709: heaptrack: visualize percentage cost via custom delegate as Resolved.

implemented now with

Mar 15 2016, 7:20 PM · Heaptrack, Performance Tooling

Mar 11 2016

mwolff created T1803: heaptrack: filter by DSO.
Mar 11 2016, 12:08 PM · Performance Tooling, Heaptrack

Mar 9 2016

mwolff added a comment to T1719: heaptrack: approximate malloc overhead.

On a 32bit machine:

Mar 9 2016, 5:48 PM · Performance Tooling, Heaptrack

Mar 5 2016

mwolff added a comment to T1768: heaptrack: trackers for more APIs.

We should look at rr, and how they monkey-patch the vdso to trace all syscalls. That could be used then to track I/O and futex stuff. It would also be useful for heaptrack itself to trace mmap/munmap/sbrk to check heapspace vs. the "real" requested memory by the allocator.

Mar 5 2016, 9:17 PM · Performance Tooling, Heaptrack
mwolff created T1768: heaptrack: trackers for more APIs.
Mar 5 2016, 9:17 PM · Performance Tooling, Heaptrack

Mar 1 2016

mwolff added a comment to T1727: heaptrack: investigate binary data format.

Also an option: http://diamon.org/ctf/

Mar 1 2016, 10:08 PM · Performance Tooling, Heaptrack
mwolff created T1752: heaptrack: show allocation data by C++ type.
Mar 1 2016, 5:09 PM · Performance Tooling, Heaptrack