https://bugs.kde.org/show_bug.cgi?id=452800
Bug ID: 452800
Summary: Ability to set manual snapshots from signal
Product: Heaptrack
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The DATA segment of my application keeps growing when I do some tasks. Ideally
I'd like to be able to do something like this to help me debug it:
- Send a signal (such as `SIGUSR1`) to trigger a snapshot from heaptrack.
- Interact with my app to reproduce the problem.
- Send another signal to trigger a second snapshot.
- Be able somehow to see the memory which have been allocated (and not freed)
between these two snapshots.
Does this make sense?
I implemented something similar in GStreamer's leaks tracer (see
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gstreamer/plugins/tracers/gstleaks.c#L810
) and it's been quite useful.
--
You are receiving this mail because:
You are watching all bug changes.