summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-06-26Bump to 1.4.0-3 versiontizen_8.0_m2_releaseaccepted/tizen/unified/20230627.025442accepted/tizen/8.0/unified/20231005.100150tizen_8.0tizen_7.0accepted/tizen_8.0_unifiedGleb Balykov1-1/+1
2023-06-26Enable compiler optimizations for libprofiler.so (profiler/profiler)Gleb Balykov1-3/+10
2023-06-26Bump to 1.4.0-1 versionGleb Balykov1-1/+1
2023-06-20Disable writing SMAPS.Oleg Lekarev1-2/+11
This functionality is not needed for profiling managed code, but may be enabled in the future for interop (managed/unmanaged) profiling.
2023-06-10Allow to set the min and max size of memory objects to track.accepted/tizen/unified/20230616.172409Oleg Lekarev4-2/+17
2023-06-08Configurator manager from file or environment addedOleg Lekarev14-41/+683
2023-05-30Disable frequent warning log from interpret when objects are not foundGleb Balykov1-2/+12
Some objects are not tracked with enabled sampling
2023-05-23Add retcode in order to perform join before exiting and show current statsGleb Balykov1-3/+11
2023-05-23Remove unneeded extra string copiesGleb Balykov2-2/+21
2023-05-23Add size limit for ThreadSafeQueue in heaptrack_interpretGleb Balykov1-14/+46
2023-05-23Add additional thread in heaptrack_interpret to not block profiler when pipe ↵Gleb Balykov4-1/+165
is used. Additional thread reads input as fast as possible and saves to input queue. Main thread reads from queue and processes data in its tempo. This is useful when input comes from pipe and pipe is full. Max size of pipe is 1 Mb on TV and data producer might get stuck on write until data consumer processes data.
2023-05-22Improve random number generator: create distribution once per threadGleb Balykov1-6/+22
2023-05-22Add sampling memory profiling mode based on Poisson Point Process with 512 ↵Gleb Balykov2-47/+199
byte sample interval by default. - replace OnFunctionEnter/OnFunctionLeave callbacks with DoStackSnapshot (it allows to use ni.dll and can be the base for sampling profiling) - add sampling memory profiling with/without randomization using Poisson Point Process Use next env variables to tune: - `HEAPTRACK_SAMPLING_ENABLE=0` to disable sampling (sampling is disabled by default) - `HEAPTRACK_SAMPLING_RANDOMIZATION=false` to disable randomization with Poisson Point Process (randomization is enabled by default) - `HEAPTRACK_SAMPLING_INTERVAL=<val>` to set sampling interval (512 is used by default, i.e. 512 byte)
2023-04-27Bump to 1.3.2-1 versionaccepted/tizen/unified/20230504.054921accepted/tizen/7.0/unified/20230503.111426accepted/tizen_7.0_unifiedGleb Balykov1-1/+1
2023-04-25Bugfix: Use static buffer for stdout to avoid any garbage outputOleg Lekarev1-3/+2
2023-04-25Optimizing heaptrack latencyKirill Frolov3-14/+52
1. heaptrack_interpret: added ifndef NDEBUG around debugging code 2. heaptrack_interpret: using file buffers to avoid frequent syscalls 3. libprofiler.co: enable libc bufferisation for output file 4. fixed diagnostic messages in heaptrack_interpret
2023-04-16Add x86_64 builda-shaurtaev2-1/+44
2023-04-14Add release info to version fileHyungju Lee1-1/+1
2023-02-20Bump to 1.3.1-1 versionaccepted/tizen/unified/20230227.042000Hyungju Lee1-2/+2
2023-02-16Bump to 1.3.0-3 versionaccepted/tizen/unified/20230220.174448accepted/tizen/7.0/unified/20230220.064520Gleb Balykov1-1/+1
2023-01-17Fully disable native memory tracking (#105)accepted/tizen/7.0/unified/20230118.172143Gleb Balykov/Platform Lab /SRR/Staff Engineer/Samsung Electronics2-2/+4
* Fully disable native memory tracking * Update instruction how to build GUI on ubuntu 20.04
2022-09-07Bump to 1.3.0-1 versiontizen_7.0_m2_releasesubmit/tizen/20220907.083312accepted/tizen/unified/20220928.020823accepted/tizen/7.0/unified/hotfix/20221116.112218accepted/tizen/7.0/unified/20221110.061450tizen_7.0_hotfixaccepted/tizen_7.0_unified_hotfixAlexander Soldatov1-2/+2
2022-09-06Bump to 1.2.0-20 versionsubmit/tizen/20220906.173329submit/tizen/20220906.165256Alexander Soldatov1-1/+1
2022-09-06Fix Aarch64 work (#100)Timur Mustafin/Platform Lab /SRR/Engineer/Samsung Electronics8-22/+70
* interpret: class name resolve warn only Unresolved nodes ejection corrupts tree structure, it leads to problems on reading the tree in buildObjectTree. * Fix Linux build Changes to make heaptrack build on linux Define USE_KCHART to build all GUI tabs Add Linux instruction * gui: Refactoing and comments * profiler: fix pointer storage in int type * Use OnFunctionLeave as OnTailCall callback Fixes flamegraph picture on architectures with TailCall optimization
2022-08-29Add SetEnterLeaveFunctionHooks3WithInfo support for x86.Mikhail Kurinnoi1-3/+0
Previously, I added into runtime this support for CoreCLR v5.0: https://github.com/dotnet/runtime/commit/8d4662d4cf98aaec2dbd430c7472afd0fff70e13 By this changes we enable profiler part of this feature.
2021-12-23[Tizen] Support armv7hl buildsubmit/tizen/20211223.055323submit/tizen/20211223.053808accepted/tizen/unified/20211223.060309Woongsuk Cho1-1/+1
Patch to remove build errors that occur in armv7hl, a newly supported arch from Tizen 7.0. Runtime test in armv7hl is not performed (to be verified after platform stabilization)
2021-11-12Transfer output file open error during injectTimur Mustafin3-11/+20
2021-09-24Bump to 1.2.0-15 versiontizen_6.5.m2_releasesubmit/tizen_6.5/20211028.164101submit/tizen/20210924.180122accepted/tizen/unified/20210926.235751accepted/tizen/6.5/unified/20211028.225434tizen_6.5accepted/tizen_6.5_unifiedAlexander Soldatov1-1/+1
2021-09-24Fix compiler warnings.Mikhail Kurinnoi6-39/+42
2021-09-10Bump to 1.2.0-13 versionsubmit/tizen/20210914.162032submit/tizen/20210909.063632accepted/tizen/unified/20210914.221907Alexander Soldatov1-1/+1
2021-09-10Add CoreCLR 6.0 compilation flags.Mikhail Kurinnoi2-2/+2
Related to: https://github.com/dotnet/runtime/commit/fcd862e06413a000f9cafa9d2f359226c60b9b42
2021-09-09Bump to 1.2.0-11 versionsubmit/tizen/20210909.175349accepted/tizen/unified/20210910.004756Alexander Soldatov1-1/+1
2021-09-09Fix build with CorecLR 6.0.Mikhail Kurinnoi3-6/+22
2021-01-29#91 fix bypass of pipe to child processPavel Orekhov2-0/+74
2020-11-11Create version fileAlexander Soldatov1-0/+1
2020-08-21Bump to 1.2.0-7 versiontizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.115106submit/tizen_6.0_hotfix/20201102.192906submit/tizen_6.0/20201029.205506submit/tizen/20200821.151359accepted/tizen/unified/20200824.134446accepted/tizen/6.0/unified/hotfix/20201103.045029accepted/tizen/6.0/unified/20201030.102559tizen_6.0_hotfixtizen_6.0accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedAlexander Soldatov1-1/+1
2020-08-11Show filename in GUI headersubmit/tizen/20200821.032433Timur1-2/+3
Signed-off-by: Timur <t.mustafin@partner.samsung.com>
2020-08-06Fix sdb version checkTimur1-1/+1
Signed-off-by: Timur <t.mustafin@partner.samsung.com>
2020-07-17[WIP] Add gbs arm64 build support.submit/tizen/20200719.212637accepted/tizen/unified/20200720.125605Mikhail Kurinnoi2-12/+49
2020-05-26Bump to 1.2.0-3 versionsubmit/tizen_5.5_wearable_hotfix/20201027.114701submit/tizen_5.5_wearable_hotfix/20201026.1843010submit/tizen_5.5/20200526.212843submit/tizen/20200526.161536accepted/tizen/unified/20200528.132946accepted/tizen/5.5/unified/wearable/hotfix/20201027.091826accepted/tizen/5.5/unified/20200528.043012tizen_5.5_wearable_hotfixtizen_5.5accepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unifiedAlexander Soldatov1-2/+2
2020-05-26Remove from clang flagsHyungju Lee1-0/+3
Change-Id: I9567931db2df664310158871c4249da2cab9c60d
2020-05-22Fix CXXFLAGS.asoldatov-testMikhail Kurinnoi1-0/+5
2020-04-10packaing: remove flags '-frecord-gcc-switches'submit/tizen_5.5/20200515.062629submit/tizen/20200515.062155accepted/tizen/unified/20200515.081439accepted/tizen/5.5/unified/20200519.155022Dongkyun Son1-0/+3
clang-5.0 doesn't allow this command-line option error: unknown argument: '-frecord-gcc-switches' Change-Id: Ie16dc901b7a9b9aeff5bf4f8b7d3b20834bb3aba Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
2020-02-03Fix typedef redefinition error, switch to PAL implemented _snprintf_s.submit/tizen/20200203.074655accepted/tizen/unified/20200203.125713Mikhail Kurinnoi1-3/+2
``` [ 359s] In file included from /home/abuild/rpmbuild/BUILD/heaptrack-1.1.0/profiler/profiler/src/profiler.cpp:2: [ 359s] In file included from /home/abuild/rpmbuild/BUILD/heaptrack-1.1.0/profiler/profiler/src/profiler.h:4: [ 359s] /usr/share/dotnet.tizen/netcoreapp/src/pal/inc/pal.h:4591:22: error: typedef redefinition with different types ('struct _FILE' vs 'struct _IO_FILE') [ 359s] typedef struct _FILE FILE; [ 359s] ^ ```
2020-02-03Filtered out '-mimplicit-it=thumb' for arm profiler buildAndrey Kazmin1-0/+5
Because of clang 5.0 doesn't support this option for arm: clang-5.0: error: unsupported argument '-mimplicit-it=thumb' to option 'Wa,' Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
2020-02-03Fixed build for gcc 9.2.0Andrey Kazmin3-7/+18
Turned off "--target=" option for gcc in spec (because we strictly using native version), for clang this option was duplicated in cmake files. Prefered one in cmake files. Fixed profiler cmake files to get gcc lib path from environment variable. Set it in spec by invoking gcc with "-print-file-name=" option. Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
2020-01-29Remove heaptrack_preload build by default.Mikhail Kurinnoi1-24/+26
We use heaptrack_inject only, no reason build heaptrack_preload.
2019-12-17Fixed warnings from static analyzer.Kirill Frolov1-1/+1
Fixed uninitialized class member.
2019-12-17Fixed warnings from static analyzer.Kirill Frolov1-2/+3
strncpy() replaced with snprintf().
2019-10-04Fix compilation warnings.tizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201027.114301submit/tizen_5.5_mobile_hotfix/20201026.1851010submit/tizen_5.5/20191031.000009submit/tizen/20191004.002717accepted/tizen/unified/20191006.223640accepted/tizen/5.5/unified/mobile/hotfix/20201027.061012accepted/tizen/5.5/unified/20191031.004502tizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfixMikhail Kurinnoi3-5/+5