sdk/tools/heaptrack.git
6 years agoMinor Qt project fix
Alexey Chernobaev [Thu, 15 Feb 2018 19:06:04 +0000 (22:06 +0300)]
Minor Qt project fix

6 years agoFix NO_K_LIB build mode
Alexey Chernobaev [Thu, 15 Feb 2018 18:57:58 +0000 (21:57 +0300)]
Fix NO_K_LIB build mode

6 years agoFix normal (when NO_K_LIB not set) build mode
Alexey Chernobaev [Thu, 15 Feb 2018 18:46:47 +0000 (21:46 +0300)]
Fix normal (when NO_K_LIB not set) build mode

6 years agochanges to compile using msvc
Alexey Chernobaev [Thu, 15 Feb 2018 18:25:57 +0000 (21:25 +0300)]
changes to compile using msvc

6 years agoNO_K_LIB build mode (without KDE libraries) implemented
Alexey Chernobaev [Thu, 15 Feb 2018 17:58:05 +0000 (20:58 +0300)]
NO_K_LIB build mode (without KDE libraries) implemented

6 years agouint -> unsigned int (for msvc)
Alexey Chernobaev [Thu, 15 Feb 2018 12:53:08 +0000 (15:53 +0300)]
uint -> unsigned int (for msvc)

6 years agoUse legacy JIT until Ruyjit gets ELT callbacks support
Andrey Kvochko [Thu, 15 Feb 2018 09:20:56 +0000 (12:20 +0300)]
Use legacy JIT until Ruyjit gets ELT callbacks support

6 years agoAdd different CoreCLR colors in flame graph (#28)
Gleb Balykov/SRR-Compiler Lab/./삼성전자 [Thu, 15 Feb 2018 09:20:43 +0000 (12:20 +0300)]
Add different CoreCLR colors in flame graph (#28)

6 years agoFix compile errors on Ubuntu 17.10 (#29)
Andrey Kvochko/SRR-Compiler Lab/./삼성전자 [Thu, 15 Feb 2018 09:19:20 +0000 (12:19 +0300)]
Fix compile errors on Ubuntu 17.10 (#29)

* Use check_symbol_exists() to check if cfree() is available

Thanks to Daniel Vratil for the initial work.

heaptrack now compiles on Fedora rawhide and Arch Linux x86_64
with glibc 2.26 or newer.

Differential Revision: https://phabricator.kde.org/D7621

* Move Docker build to Ubuntu 17.10

6 years agoAdd a TODO to report classes as they are first encountered
Andrey Kvochko [Fri, 27 Oct 2017 10:27:14 +0000 (13:27 +0300)]
Add a TODO to report classes as they are first encountered

6 years agoFix after review
Andrey Kvochko [Thu, 26 Oct 2017 10:49:42 +0000 (13:49 +0300)]
Fix after review

6 years agoPrint error messages if object's class is unknown
Andrey Kvochko [Thu, 12 Oct 2017 10:28:32 +0000 (13:28 +0300)]
Print error messages if object's class is unknown

6 years agoFix missing refences bug
Andrey Kvochko [Mon, 9 Oct 2017 17:33:20 +0000 (20:33 +0300)]
Fix missing refences bug

6 years agoClass pointer can be null for the root object node
Andrey Kvochko [Fri, 29 Sep 2017 21:59:02 +0000 (00:59 +0300)]
Class pointer can be null for the root object node

6 years agoFix compiler warnings; clear object graph when it's not needed
Andrey Kvochko [Thu, 28 Sep 2017 14:21:17 +0000 (17:21 +0300)]
Fix compiler warnings; clear object graph when it's not needed

6 years agoAddress more feedback
Andrey Kvochko [Tue, 26 Sep 2017 11:18:49 +0000 (14:18 +0300)]
Address more feedback

6 years agoWarn the user if data for a certain GC is incomplete
Andrey Kvochko [Mon, 25 Sep 2017 19:01:15 +0000 (22:01 +0300)]
Warn the user if data for a certain GC is incomplete

6 years agoAddress feedback
Andrey Kvochko [Mon, 25 Sep 2017 11:17:09 +0000 (14:17 +0300)]
Address feedback

6 years agoFormat size columns properly
Andrey Kvochko [Thu, 21 Sep 2017 13:08:28 +0000 (16:08 +0300)]
Format size columns properly

6 years agoImplement heap tab
Andrey Kvochko [Wed, 20 Sep 2017 18:50:20 +0000 (21:50 +0300)]
Implement heap tab

6 years agoFix typo and read_consent
Andrey Kvochko [Thu, 26 Oct 2017 10:41:35 +0000 (13:41 +0300)]
Fix typo and read_consent

6 years agoChanges after review
Andrey Kvochko [Tue, 24 Oct 2017 13:01:06 +0000 (16:01 +0300)]
Changes after review

6 years agoTest for <future> support
Andrey Kvochko [Thu, 19 Oct 2017 14:21:29 +0000 (17:21 +0300)]
Test for <future> support

6 years agoSupport manual CoreCLR builds
Andrey Kvochko [Thu, 19 Oct 2017 14:02:04 +0000 (17:02 +0300)]
Support manual CoreCLR builds

6 years agoUpdate README.md
Andrey Kvochko/SRR-Compiler Lab/./삼성전자 [Thu, 12 Oct 2017 16:15:30 +0000 (19:15 +0300)]
Update README.md

6 years agoInteractive coreclr-devel selection
Andrey Kvochko [Thu, 12 Oct 2017 15:33:19 +0000 (18:33 +0300)]
Interactive coreclr-devel selection

6 years agotest for errors
Andrey Kvochko [Wed, 11 Oct 2017 16:26:37 +0000 (19:26 +0300)]
test for errors

6 years agoWIP: docker build and run
Andrey Kvochko [Fri, 29 Sep 2017 22:06:21 +0000 (01:06 +0300)]
WIP: docker build and run

6 years agoMerge pull request #21 from a-kvochko/update-readme
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Mon, 25 Sep 2017 16:48:06 +0000 (19:48 +0300)]
Merge pull request #21 from a-kvochko/update-readme

Add Tizen .NET Memory Profiler guide and screenshots to new README.md.
The original README.md is moved to docs/HEAPTRACK_README.md.

6 years agoUpdate screenshots & title
Andrey Kvochko [Mon, 25 Sep 2017 15:06:59 +0000 (18:06 +0300)]
Update screenshots & title

6 years agoAddress latest feedback
Andrey Kvochko [Fri, 22 Sep 2017 14:46:45 +0000 (17:46 +0300)]
Address latest feedback

6 years agoAddress feedback
Andrey Kvochko/SRR-Compiler Lab/./삼성전자 [Thu, 21 Sep 2017 14:32:08 +0000 (17:32 +0300)]
Address feedback

6 years agoAdd the original README back
Andrey Kvochko [Thu, 21 Sep 2017 12:18:13 +0000 (15:18 +0300)]
Add the original README back

6 years agoFix links
Andrey Kvochko/SRR-Compiler Lab/./삼성전자 [Thu, 21 Sep 2017 12:11:43 +0000 (15:11 +0300)]
Fix links

6 years agoFix formatting
Andrey Kvochko/SRR-Compiler Lab/./삼성전자 [Thu, 21 Sep 2017 11:50:25 +0000 (14:50 +0300)]
Fix formatting

6 years agoUpdate README.md
Andrey Kvochko/SRR-Compiler Lab/./삼성전자 [Thu, 21 Sep 2017 11:16:55 +0000 (14:16 +0300)]
Update README.md

6 years agoMerge pull request #19 from dotnet/build-from-scrath
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Tue, 19 Sep 2017 11:55:45 +0000 (14:55 +0300)]
Merge pull request #19 from dotnet/build-from-scrath

Include missing header for PATH_MAX

6 years agoinclude missing header for PATH_MAX
Sung-Jae Lee [Tue, 19 Sep 2017 10:38:35 +0000 (19:38 +0900)]
include missing header for PATH_MAX

6 years agoMerge pull request #18 from dotnet/calculate-per-managed-type-consumption
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Fri, 15 Sep 2017 19:46:44 +0000 (22:46 +0300)]
Merge pull request #18 from dotnet/calculate-per-managed-type-consumption

Calculate and visualize statistics of memory consumption per managed type

6 years agoHandle nested classes
Andrey Kvochko [Fri, 15 Sep 2017 19:34:09 +0000 (22:34 +0300)]
Handle nested classes

6 years agoHandle multidimensional arrays
Andrey Kvochko [Fri, 15 Sep 2017 19:34:04 +0000 (22:34 +0300)]
Handle multidimensional arrays

6 years agoArray object support
Andrey Kvochko [Fri, 15 Sep 2017 19:33:59 +0000 (22:33 +0300)]
Array object support

6 years agoFormat types differently from methods
Andrey Kvochko [Fri, 15 Sep 2017 19:33:54 +0000 (22:33 +0300)]
Format types differently from methods

6 years agoTrace type name upon object allocation
Andrey Kvochko [Fri, 15 Sep 2017 19:33:49 +0000 (22:33 +0300)]
Trace type name upon object allocation

6 years agoMerge pull request #17 from dotnet/fix-bytes-amount-divisors
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Fri, 15 Sep 2017 19:25:30 +0000 (22:25 +0300)]
Merge pull request #17 from dotnet/fix-bytes-amount-divisors

Fix visualization of memory consumption values

6 years agoFix visualization of memory consumption values (use 2^10 instead of 10^3 as divisor...
Ruben Ayrapetyan [Fri, 15 Sep 2017 19:23:05 +0000 (22:23 +0300)]
Fix visualization of memory consumption values (use 2^10 instead of 10^3 as divisor for bytes -> kilobytes -> megabytes -> etc. calculation).

6 years agoMerge pull request #16 from dotnet/fix-relative-paths-in-profiler-build-script
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Fri, 15 Sep 2017 19:22:54 +0000 (22:22 +0300)]
Merge pull request #16 from dotnet/fix-relative-paths-in-profiler-build-script

Fix handling of relative paths in build script of managed profiler module

6 years agoFix handling of relative paths in profiler's build.sh
Ruben Ayrapetyan [Fri, 15 Sep 2017 19:19:36 +0000 (22:19 +0300)]
Fix handling of relative paths in profiler's build.sh

6 years agoMerge pull request #15 from dotnet/show-coreclr-consumption
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Fri, 15 Sep 2017 19:13:22 +0000 (22:13 +0300)]
Merge pull request #15 from dotnet/show-coreclr-consumption

Calculate and show CoreCLR and non-CoreCLR memory consumption

6 years agoAdd logging of CoreCLR/non-CoreCLR memory consumption parts (turned on with --show...
Gleb Balykov [Fri, 15 Sep 2017 19:04:42 +0000 (22:04 +0300)]
Add logging of CoreCLR/non-CoreCLR memory consumption parts (turned on with --show-coreclr option)

6 years agoMerge pull request #14 from dotnet/scripts
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Fri, 15 Sep 2017 19:02:44 +0000 (22:02 +0300)]
Merge pull request #14 from dotnet/scripts

Add scripts for profiling Tizen .NET applications

6 years agoAdd scripts for tracing Tizen .NET applications.
Gleb Balykov [Fri, 15 Sep 2017 19:00:08 +0000 (22:00 +0300)]
Add scripts for tracing Tizen .NET applications.

6 years agoMerge pull request #13 from dotnet/track-managed-memory
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Fri, 15 Sep 2017 18:56:19 +0000 (21:56 +0300)]
Merge pull request #13 from dotnet/track-managed-memory

Track managed memory consumption

6 years agoFix build of profiler.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:50:00 +0000 (21:50 +0300)]
Fix build of profiler.

6 years agoCalculate and visualize number of allocations that were not freed.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:49:55 +0000 (21:49 +0300)]
Calculate and visualize number of allocations that were not freed.

6 years agoRefine UI.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:49:50 +0000 (21:49 +0300)]
Refine UI.

6 years agoShow managed memory consumption in GUI.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:49:45 +0000 (21:49 +0300)]
Show managed memory consumption in GUI.

6 years agoTrace managed heap allocations and garbage collections.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:49:40 +0000 (21:49 +0300)]
Trace managed heap allocations and garbage collections.

6 years agoSpeed up parsing by skipping unused data for each display mode.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:49:35 +0000 (21:49 +0300)]
Speed up parsing by skipping unused data for each display mode.

6 years agoMerge pull request #12 from dotnet/managed-call-stacks
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Fri, 15 Sep 2017 18:19:48 +0000 (21:19 +0300)]
Merge pull request #12 from dotnet/managed-call-stacks

Support tracing and visualization of managed call stacks

6 years agoUse '.' instead of '::' for dividing managed class and function names.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:15:51 +0000 (21:15 +0300)]
Use '.' instead of '::' for dividing managed class and function names.

6 years agoSupport --hide-unmanaged-stacks option.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:14:06 +0000 (21:14 +0300)]
Support --hide-unmanaged-stacks option.

6 years agoFix performance of stack tracing.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:14:01 +0000 (21:14 +0300)]
Fix performance of stack tracing.

6 years agoFix profiler module.
Ruben Ayrapetyan [Fri, 15 Sep 2017 18:13:56 +0000 (21:13 +0300)]
Fix profiler module.

 - improve performance;
 - fix maximum name length.

6 years agoSupport managed call stacks tracking.
Andrey Kvochko [Fri, 15 Sep 2017 15:47:31 +0000 (18:47 +0300)]
Support managed call stacks tracking.

6 years agoMerge pull request #11 from dotnet/visualization-improvements
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Fri, 15 Sep 2017 15:24:35 +0000 (18:24 +0300)]
Merge pull request #11 from dotnet/visualization-improvements

GUI improvements

6 years agoDisplay locations, which can't be tracked by profiler, as "untracked ()"
Ruben Ayrapetyan [Fri, 15 Sep 2017 15:18:21 +0000 (18:18 +0300)]
Display locations, which can't be tracked by profiler, as "untracked ()"

6 years agoRecord and display offset of unmanaged function in corresponding module.
Ruben Ayrapetyan [Fri, 15 Sep 2017 15:18:16 +0000 (18:18 +0300)]
Record and display offset of unmanaged function in corresponding module.

6 years agoSkip zero-sized allocation entries in GUI.
Ruben Ayrapetyan [Fri, 15 Sep 2017 15:18:11 +0000 (18:18 +0300)]
Skip zero-sized allocation entries in GUI.

6 years agoOutput module name on charts, if known.
Ruben Ayrapetyan [Fri, 15 Sep 2017 15:18:06 +0000 (18:18 +0300)]
Output module name on charts, if known.

6 years agoAdd malloc/realloc/calloc/posix_memalign/mmap/dlopen function to raw call stack ...
Ruben Ayrapetyan [Fri, 15 Sep 2017 15:18:01 +0000 (18:18 +0300)]
Add malloc/realloc/calloc/posix_memalign/mmap/dlopen function to raw call stack (show them in call trees and flame graphs in GUI).

6 years agoMerge pull request #10 from dotnet/track-dlopen-and-sbrk
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Thu, 14 Sep 2017 14:42:27 +0000 (17:42 +0300)]
Merge pull request #10 from dotnet/track-dlopen-and-sbrk

Approximately track and visualize memory allocated from dlopen and sbrk

6 years agoAdd approximate tracking of [heap].
Ruben Ayrapetyan [Thu, 14 Sep 2017 14:35:34 +0000 (17:35 +0300)]
Add approximate tracking of [heap].

6 years agoAdd approximate trace of mmaps/munmaps from dlopen/dlclose.
Ruben Ayrapetyan [Thu, 14 Sep 2017 14:35:29 +0000 (17:35 +0300)]
Add approximate trace of mmaps/munmaps from dlopen/dlclose.

6 years agoMerge pull request #9 from dotnet/fix-several-issues-in-debug-information-tracing
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Thu, 14 Sep 2017 14:28:34 +0000 (17:28 +0300)]
Merge pull request #9 from dotnet/fix-several-issues-in-debug-information-tracing

Fix several issues in parsing and tracing debug information

6 years agoFix bug with non-copied string in libbacktrace
Gleb Balykov [Thu, 14 Sep 2017 14:25:54 +0000 (17:25 +0300)]
Fix bug with non-copied string in libbacktrace

6 years agoFix parsing ELF.
Ruben Ayrapetyan [Thu, 14 Sep 2017 14:25:18 +0000 (17:25 +0300)]
Fix parsing ELF.

6 years agoFix handling of missing build-id.
Ruben Ayrapetyan [Thu, 14 Sep 2017 14:25:13 +0000 (17:25 +0300)]
Fix handling of missing build-id.

6 years agoMerge pull request #8 from dotnet/fix-posix-memalign
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Thu, 14 Sep 2017 14:22:45 +0000 (17:22 +0300)]
Merge pull request #8 from dotnet/fix-posix-memalign

Fix accounting for posix_memalign-allocated memory

6 years agoFix accounting posix_memalign.
Ruben Ayrapetyan [Thu, 14 Sep 2017 14:19:26 +0000 (17:19 +0300)]
Fix accounting posix_memalign.

6 years agoMerge pull request #7 from dotnet/track-mmap-munmap
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Thu, 14 Sep 2017 13:44:56 +0000 (16:44 +0300)]
Merge pull request #7 from dotnet/track-mmap-munmap

Track and visualize physical memory consumption for mmap-allocated regions

6 years agoHide unnecessary parts of GUI in each display mode.
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:59 +0000 (16:29 +0300)]
Hide unnecessary parts of GUI in each display mode.

6 years agoAdd command line options for setting part of memory consumption to display.
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:53 +0000 (16:29 +0300)]
Add command line options for setting part of memory consumption to display.

6 years agoFix calculating peak RSS.
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:48 +0000 (16:29 +0300)]
Fix calculating peak RSS.

6 years agoHandle total cost updates upon mmap/munmap and physical memory consumption update...
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:43 +0000 (16:29 +0300)]
Handle total cost updates upon mmap/munmap and physical memory consumption update in analyzer.

6 years agoCalculate mmap/munmap memory consumption per call stack.
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:38 +0000 (16:29 +0300)]
Calculate mmap/munmap memory consumption per call stack.

6 years agoProcess mmap/munmap and smaps trace items in analyzer.
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:33 +0000 (16:29 +0300)]
Process mmap/munmap and smaps trace items in analyzer.

Maintain address ranges information in analyzer.

6 years agoTrace /proc/self/smaps by timer.
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:28 +0000 (16:29 +0300)]
Trace /proc/self/smaps by timer.

6 years agoAdd mmap/munmap to interpret's output.
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:23 +0000 (16:29 +0300)]
Add mmap/munmap to interpret's output.

6 years agoAdd empty trackers of mmap/munmap.
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:18 +0000 (16:29 +0300)]
Add empty trackers of mmap/munmap.

6 years agoIntroduce display modes (malloc, Private_Dirty, Private_Clean, Shared = Shared_Clean...
Ruben Ayrapetyan [Thu, 14 Sep 2017 13:29:13 +0000 (16:29 +0300)]
Introduce display modes (malloc, Private_Dirty, Private_Clean, Shared = Shared_Clean + Shared_Dirty).

6 years agoMerge pull request #6 from dotnet/fix-backtraces-on-armel
Ruben Ayrapetyan/SRR-Compiler Lab/./삼성전자 [Thu, 14 Sep 2017 08:43:39 +0000 (11:43 +0300)]
Merge pull request #6 from dotnet/fix-backtraces-on-armel

Fix calculating unmanaged code backtraces on armel

6 years agoApply patch https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01209.html to libbacktrace.
Ruben Ayrapetyan [Tue, 8 Aug 2017 16:17:00 +0000 (19:17 +0300)]
Apply patch https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01209.html to libbacktrace.

Author of the applied patch is Denis Khalikov <d.khalikov@partner.samsung.com>

6 years agoSupport .rel.plt in try_overwrite_symbols.
Ruben Ayrapetyan [Tue, 8 Aug 2017 16:16:40 +0000 (19:16 +0300)]
Support .rel.plt in try_overwrite_symbols.

6 years agoUse backtrace instead of unw_backtrace in Trace::fill.
Ruben Ayrapetyan [Tue, 8 Aug 2017 16:16:11 +0000 (19:16 +0300)]
Use backtrace instead of unw_backtrace in Trace::fill.

6 years agoWIP: Include the build-id in the heaptrack output and use it to find libs
Milian Wolff [Tue, 4 Apr 2017 17:41:23 +0000 (19:41 +0200)]
WIP: Include the build-id in the heaptrack output and use it to find libs

6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 4 Aug 2017 01:14:31 +0000 (03:14 +0200)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 25 Jul 2017 01:12:49 +0000 (03:12 +0200)]
GIT_SILENT made messages (after extraction)

7 years agoUse i18n instead of tr
Milian Wolff [Thu, 29 Jun 2017 11:36:06 +0000 (13:36 +0200)]
Use i18n instead of tr

7 years agoAdd reset view action to flame graph
Milian Wolff [Thu, 29 Jun 2017 11:35:26 +0000 (13:35 +0200)]
Add reset view action to flame graph