sdk/tools/coreprofiler.git
23 months agoBump to 1.2.0-4 version accepted/tizen_7.0_unified accepted/tizen_8.0_unified tizen_7.0 tizen_8.0 accepted/tizen/7.0/unified/20230927.090516 accepted/tizen/8.0/unified/20231007.143444 accepted/tizen/unified/20231004.100219 accepted/tizen/unified/dev/20240620.011357 tizen_8.0_m2_release
Gleb Balykov [Mon, 26 Jun 2023 13:05:00 +0000 (16:05 +0300)]
Bump to 1.2.0-4 version

23 months agoClarify log message
Gleb Balykov [Mon, 26 Jun 2023 12:25:03 +0000 (15:25 +0300)]
Clarify log message

23 months agoFix typo in assert
Gleb Balykov [Mon, 26 Jun 2023 12:09:27 +0000 (15:09 +0300)]
Fix typo in assert

23 months agoBump to 1.2.0-1 version accepted/tizen/8.0/unified/20231005.100148 accepted/tizen/unified/20230627.025444
Gleb Balykov [Thu, 22 Jun 2023 11:19:01 +0000 (14:19 +0300)]
Bump to 1.2.0-1 version

23 months agoAdd alternative CPU sampling mode
Gleb Balykov [Wed, 31 May 2023 18:00:07 +0000 (21:00 +0300)]
Add alternative CPU sampling mode

Use SuspendRuntime/ResumeRuntime with async DoStackSnapshot ICorProfilerInfo API calls in sampling thread to get samples
for all managed threads instead of sending Linux signals to all managed threads with sample gathered in signal handler.

Alternative CPU sampling mode also disables Enter/Leave hooks and allows usage of ni.dll.

23 months agoAdd more ICorProfiler API versions
Gleb Balykov [Wed, 31 May 2023 16:46:58 +0000 (19:46 +0300)]
Add more ICorProfiler API versions

23 months agoAdd missing header for uint16_t (#53) accepted/tizen/7.0/unified/20230620.164240 accepted/tizen/unified/20230621.023226 accepted/tizen/unified/dev/20230726.115423
Alexander Soldatov/Platform Lab /SRR/Staff Engineer/Samsung Electronics [Mon, 19 Jun 2023 21:12:17 +0000 (00:12 +0300)]
Add missing header for uint16_t (#53)

2 years agoAdd sampling memory profiling. accepted/tizen/unified/20230616.172407
Mikhail Kurinnoi [Fri, 19 May 2023 15:45:35 +0000 (18:45 +0300)]
Add sampling memory profiling.

2 years agoAdd stack trace and object min/max size limits.
Mikhail Kurinnoi [Tue, 16 May 2023 15:50:33 +0000 (18:50 +0300)]
Add stack trace and object min/max size limits.

2 years agoImprove synchronization, minor code fixes.
Mikhail Kurinnoi [Wed, 3 May 2023 19:12:35 +0000 (22:12 +0300)]
Improve synchronization, minor code fixes.

2 years agoImprove dump output.
Mikhail Kurinnoi [Fri, 28 Apr 2023 09:44:08 +0000 (12:44 +0300)]
Improve dump output.

Prevent dump output for unused `loaded class`/`class name` related information.
Move `loaded class` metadata gathering related code execution to proper place
(will be right before dump output message forming at first usage of class).

2 years agoBump to 1.1.0-16 version accepted/tizen/7.0/unified/20230503.111424 accepted/tizen/unified/20230504.054919
Gleb Balykov [Wed, 26 Apr 2023 11:19:38 +0000 (14:19 +0300)]
Bump to 1.1.0-16 version

2 years agoMerge pull request #41 from dotnet/add_release_to_version_file
Gleb Balykov/Advanced System SW Lab /SRR/Staff Engineer/Samsung Electronics [Fri, 14 Apr 2023 14:28:03 +0000 (17:28 +0300)]
Merge pull request #41 from dotnet/add_release_to_version_file

Add release info to version file

2 years agoAdd release info to version file
Hyungju Lee [Mon, 20 Feb 2023 08:57:37 +0000 (17:57 +0900)]
Add release info to version file

Change-Id: I6f9cd828e79e0ea10af7a2cca468865ff8bae8ff

3 years agoBump to 1.1.0-13 version accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.055951 accepted/tizen/7.0/unified/hotfix/20221116.112216 accepted/tizen/unified/20220215.211419 submit/tizen/20220215.173645 tizen_7.0_m2_release
Alexander Soldatov [Tue, 15 Feb 2022 17:33:35 +0000 (20:33 +0300)]
Bump to 1.1.0-13 version

3 years agoFix Clang 10 build.
Mikhail Kurinnoi [Tue, 15 Feb 2022 10:11:23 +0000 (02:11 -0800)]
Fix Clang 10 build.

3 years agoBump to 1.1.0-11 version accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.225410 accepted/tizen/unified/20210914.221902 submit/tizen/20210910.175611 submit/tizen_6.5/20211028.164101 tizen_6.5.m2_release
Alexander Soldatov [Fri, 10 Sep 2021 17:46:51 +0000 (20:46 +0300)]
Bump to 1.1.0-11 version

3 years agoAdd corguids static library build.
Mikhail Kurinnoi [Fri, 10 Sep 2021 17:25:35 +0000 (10:25 -0700)]
Add corguids static library build.

3 years agoBump to 1.1.0-9 version submit/tizen/20210909.063632
Alexander Soldatov [Fri, 10 Sep 2021 16:39:45 +0000 (19:39 +0300)]
Bump to 1.1.0-9 version

3 years agoFix build with CorecLR 6.0.
Mikhail Kurinnoi [Thu, 9 Sep 2021 16:06:34 +0000 (09:06 -0700)]
Fix build with CorecLR 6.0.

4 years agoFix arm32 naked functions registers push/pop logic.
Mikhail Kurinnoi [Mon, 30 Nov 2020 09:12:59 +0000 (01:12 -0800)]
Fix arm32 naked functions registers push/pop logic.

4 years agoCreate version file
Alexander Soldatov [Thu, 15 Oct 2020 12:38:42 +0000 (15:38 +0300)]
Create version file

4 years agoBump to 1.1.0-5 version accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.102605 accepted/tizen/6.0/unified/hotfix/20201103.044953 accepted/tizen/unified/20200824.134442 submit/tizen/20200821.151403 submit/tizen_6.0/20201029.205506 submit/tizen_6.0_hotfix/20201102.192906 submit/tizen_6.0_hotfix/20201103.115106 tizen_6.0.m2_release
Alexander Soldatov [Fri, 21 Aug 2020 15:11:02 +0000 (18:11 +0300)]
Bump to 1.1.0-5 version

4 years agoFix SIGBUS in EnterNaked3() submit/tizen/20200821.032349
Mikhail Kurinnoi [Wed, 22 Jul 2020 14:35:40 +0000 (17:35 +0300)]
Fix SIGBUS in EnterNaked3()

SP must be 16-byte aligned all the time.

4 years agoAdd gbs arm64 build support. accepted/tizen/unified/20200720.125602 submit/tizen/20200719.220954
Mikhail Kurinnoi [Fri, 10 Jul 2020 16:02:16 +0000 (19:02 +0300)]
Add gbs arm64 build support.

4 years agoFix UpdateCallStackPop().
Mikhail Kurinnoi [Wed, 15 Jul 2020 16:07:29 +0000 (19:07 +0300)]
Fix UpdateCallStackPop().

Fix SIGABRT during stack unwind if CodeGen::genProfilingEnterCallback and CodeGen::genProfilingLeaveCallback no implemented in CoreCLR.

5 years agoBump to 1.1.0-1 version accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200528.135812 accepted/tizen/5.5/unified/wearable/hotfix/20201027.092059 accepted/tizen/unified/20200528.132855 submit/tizen/20200526.162059 submit/tizen_5.5/20200526.212757 submit/tizen_5.5_wearable_hotfix/20201026.1843010 submit/tizen_5.5_wearable_hotfix/20201027.114701
Alexander Soldatov [Tue, 26 May 2020 15:29:49 +0000 (18:29 +0300)]
Bump to 1.1.0-1 version

5 years agoFixed warning from static analyzer. accepted/tizen/5.5/unified/20200519.155021 accepted/tizen/unified/20200515.081437 submit/tizen/20200515.062155 submit/tizen_5.5/20200515.062629
Kirill Frolov [Tue, 17 Dec 2019 11:23:02 +0000 (14:23 +0300)]
Fixed warning from static analyzer.

Variable `hr' might be uninitialized in case, when Initialized()
function was called twice.

5 years agoUpdate .gitignore accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.004630 accepted/tizen/5.5/unified/mobile/hotfix/20201027.060957 accepted/tizen/unified/20191006.223642 submit/tizen/20191004.002717 submit/tizen_5.5/20191031.000009 submit/tizen_5.5_mobile_hotfix/20201026.1851010 submit/tizen_5.5_mobile_hotfix/20201027.114301 tizen_5.5.m2_release
이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 [Mon, 16 Sep 2019 22:37:04 +0000 (07:37 +0900)]
Update .gitignore

5 years agoFix start profiling session with "Trace Execution" feature accepted/tizen/unified/20190806.220545 submit/tizen/20190806.154913
Mikhail Kurinnoi [Fri, 26 Apr 2019 13:47:41 +0000 (16:47 +0300)]
Fix start profiling session with "Trace Execution" feature

on Tizen 5.5 x86 emulator with coreclr 3.

6 years agoMerge pull request #21 from m-kurinnoi/clr3fix accepted/tizen/unified/20190422.045936 submit/tizen/20190405.141848 submit/tizen/20190410.105333 submit/tizen/20190416.152950 submit/tizen/20190419.143735
Alexander Aksenov/AI Ecosystem Lab /SRR/Engineer/삼성전자 [Fri, 5 Apr 2019 13:38:41 +0000 (06:38 -0700)]
Merge pull request #21 from m-kurinnoi/clr3fix

Fix build with coreclr 3.

6 years agoFix build with coreclr 3.
Mikhail Kurinnoi [Mon, 1 Apr 2019 10:59:36 +0000 (13:59 +0300)]
Fix build with coreclr 3.

6 years agoAdd TCP socket prompt feature.
Mikhail Kurinnoi [Mon, 4 Feb 2019 11:19:47 +0000 (14:19 +0300)]
Add TCP socket prompt feature.

Provide custom socket prompt string in order to check
send/receive capability of established connection.
Required by VS plugin.

6 years agoAdd TCP socket support for trace log output. (#17)
Михаил Куринной/AI Ecosystem Lab /SRR/Engineer/삼성전자 [Fri, 1 Feb 2019 15:49:02 +0000 (18:49 +0300)]
Add TCP socket support for trace log output. (#17)

* Add trace log socket support.
* Add custom socket port support.
* Fix osocketstream class.

6 years agoFix tracklog stream exceptions setup.
Mikhail Kurinnoi [Wed, 30 Jan 2019 15:46:09 +0000 (18:46 +0300)]
Fix tracklog stream exceptions setup.

6 years agoMerge pull request #15 from i-kulaychuk/fix-build
Igor Kulaychuk/AI Ecosystem Lab /SRR/Engineer/삼성전자 [Fri, 14 Dec 2018 13:43:06 +0000 (16:43 +0300)]
Merge pull request #15 from i-kulaychuk/fix-build

Fix macro for checking strerror_r() variant

6 years agoFix macro for checking strerror_r() variant
Igor Kulaychuk [Fri, 14 Dec 2018 11:57:43 +0000 (14:57 +0300)]
Fix macro for checking strerror_r() variant

6 years agoFix strerror thread-safety issue - use strerror_r
Igor Kulaychuk [Thu, 13 Dec 2018 08:54:36 +0000 (11:54 +0300)]
Fix strerror thread-safety issue - use strerror_r

6 years agoChange installation path in spec-file accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.031936 accepted/tizen/unified/20180821.091219 submit/tizen/20180820.164546 submit/tizen/20180821.063313 submit/tizen_5.0/20181101.000009
Aleksei Vereshchagin [Wed, 8 Aug 2018 14:54:46 +0000 (17:54 +0300)]
Change installation path in spec-file

6 years agoAdd information about heap reserved memory and generations to tracelog
Alexey Vereschagin [Fri, 20 Jul 2018 11:29:09 +0000 (11:29 +0000)]
Add information about heap reserved memory and generations to tracelog

6 years agoUse a symlink to installed Microsoft.NETCore.App version
Aleksei Vereshchagin [Mon, 16 Jul 2018 18:08:14 +0000 (21:08 +0300)]
Use a symlink to installed Microsoft.NETCore.App version

6 years agoAdd time zone information to tracelog
Aleksei Vereshchagin [Tue, 5 Jun 2018 20:40:09 +0000 (23:40 +0300)]
Add time zone information to tracelog

6 years agoFix call conventions and build for clang 5
Petr Bred [Fri, 3 Aug 2018 08:56:07 +0000 (11:56 +0300)]
Fix call conventions and build for clang 5

Signed-off-by: Petr Bred <p.bred@samsung.com>
6 years agoFix build for clang 5.0 accepted/tizen/unified/20180803.172549 submit/tizen/20180731.144118 submit/tizen/20180801.082615
Dmitri Botcharnikov [Tue, 31 Jul 2018 13:40:47 +0000 (16:40 +0300)]
Fix build for clang 5.0

Change-Id: Id81058b737055bea678d9dc9bba84d0e1df2af5a

6 years agoUpdate dotnet version to 2.1.0 14/183014/1 accepted/tizen/unified/20180702.042658 submit/tizen/20180702.034319
Lukasz Wojciechowski [Fri, 29 Jun 2018 15:28:43 +0000 (17:28 +0200)]
Update dotnet version to 2.1.0

Change-Id: I30674d63177ba8f3d46ba9451cbfc156544a00fd
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
7 years agoMerge pull request #1 from dotnet/delivery accepted/tizen/unified/20180628.130552 submit/tizen/20180619.075036
Maria Guseva/AI Ecosystem Lab/Staff Engineer/삼성전자 [Mon, 4 Jun 2018 16:55:31 +0000 (19:55 +0300)]
Merge pull request #1 from dotnet/delivery

Updates of CoreProfiler

Changes:

- Build scripts was updated:
  - CoreProfiler can be built on Linux
  - building configuration was synchronized with actual state of CoreCLR
  - spec-file for GBS was actualized too
- Documentation was updated:
  - building description
  - configuration (including options description)
  - usage (with console applications and corerun)
- Update of confuguration system:
  - ConfigurationManager was introduced
  - Configuration file as new source of configuration
- New JIT and GC events added to trace logging:
  - new records for JIT compilation, search, GC invocations
  - `fun cmf`, `fun csf` was replaced by `fun inf`
- Minor fixes

Notes:

- Due to problems with CoreProfiler on Tizen ARM functionality was not properly tested on this platform
- Version of CoreProfiler in spec-file was not updated

7 years agoUpdate building instructions for GBS
Aleksei Vereshchagin [Thu, 10 May 2018 19:32:29 +0000 (22:32 +0300)]
Update building instructions for GBS

7 years agoUpdate building instructions for GBS
Aleksei Vereshchagin [Sat, 28 Apr 2018 13:30:06 +0000 (16:30 +0300)]
Update building instructions for GBS

7 years agoSwitch JIT/GC records from 'threadIid' to 'osThreadId' and prevent creation of thread...
Aleksei Vereshchagin [Tue, 24 Apr 2018 13:38:51 +0000 (16:38 +0300)]
Switch JIT/GC records from 'threadIid' to 'osThreadId' and prevent creation of thread objects for non-managed threads

7 years agoFix cast problem on x86
Aleksei Vereshchagin [Fri, 27 Apr 2018 15:10:33 +0000 (18:10 +0300)]
Fix cast problem on x86

7 years agoRefactoring of TraceLog class
Aleksei Vereshchagin [Mon, 9 Apr 2018 19:14:55 +0000 (22:14 +0300)]
Refactoring of TraceLog class

7 years agoFix DumpGarbageCollectionFinished() missing new line
Aleksei Vereshchagin [Wed, 18 Apr 2018 17:21:16 +0000 (20:21 +0300)]
Fix DumpGarbageCollectionFinished() missing new line

7 years agoAdd description of TraceLog text format
Aleksei Vereshchagin [Tue, 10 Apr 2018 21:25:53 +0000 (00:25 +0300)]
Add description of TraceLog text format

7 years agoUpdate default constructor of InternalID
Aleksei Vereshchagin [Mon, 9 Apr 2018 19:13:58 +0000 (22:13 +0300)]
Update default constructor of InternalID

7 years agoAdd GC start/stop info to tracelog
Aleksei Vereshchagin [Tue, 3 Apr 2018 20:30:42 +0000 (23:30 +0300)]
Add GC start/stop info to tracelog

7 years agoAdd JIT timestamp and thread info to tracelog
Aleksei Vereshchagin [Mon, 2 Apr 2018 19:57:29 +0000 (22:57 +0300)]
Add JIT timestamp and thread info to tracelog

7 years agoUpdate README.md
Aleksei Vereshchagin [Fri, 6 Apr 2018 11:38:54 +0000 (14:38 +0300)]
Update README.md

7 years agoFix ProfilerConfig::Verify(): stack tracking not requires only sampling
Aleksei Vereshchagin [Wed, 4 Apr 2018 20:38:07 +0000 (23:38 +0300)]
Fix ProfilerConfig::Verify(): stack tracking not requires only sampling

Instrumentation memory tracking with stack tracking is acceptable.
This produse only necessary stack info.

7 years agoAdd comment to ConfigurationManager::CheckUnused()
Aleksei Vereshchagin [Tue, 3 Apr 2018 23:55:26 +0000 (02:55 +0300)]
Add comment to ConfigurationManager::CheckUnused()

7 years agoFix exception messages
Aleksei Vereshchagin [Tue, 3 Apr 2018 23:30:21 +0000 (02:30 +0300)]
Fix exception messages

7 years agoAdd posibility to use files as source of configuration
Aleksei Vereshchagin [Fri, 30 Mar 2018 18:30:05 +0000 (21:30 +0300)]
Add posibility to use files as source of configuration

7 years agoUpdate build system scripts
Aleksei Vereshchagin [Wed, 28 Mar 2018 02:05:30 +0000 (05:05 +0300)]
Update build system scripts

7 years agoFix incorrect sizeof for winContext
Aleksei Vereshchagin [Mon, 11 Dec 2017 17:26:22 +0000 (20:26 +0300)]
Fix incorrect sizeof for winContext

7 years agoAdd comment to ExecutionTrace::IsPseudoFunction()
Aleksei Vereshchagin [Mon, 11 Dec 2017 17:25:19 +0000 (20:25 +0300)]
Add comment to ExecutionTrace::IsPseudoFunction()

7 years agoMove assignment to self (i.g. x = std::move(x)) is valid statement, so remove assert
Aleksei Vereshchagin [Mon, 11 Dec 2017 17:24:20 +0000 (20:24 +0300)]
Move assignment to self (i.g. x = std::move(x)) is valid statement, so remove assert

7 years agoRemove default branch in switch block for enum so compiler can check if all enum...
Aleksei Vereshchagin [Mon, 11 Dec 2017 17:22:35 +0000 (20:22 +0300)]
Remove default branch in switch block for enum so compiler can check if all enum values covered by switch

7 years agoOnly S_OK hresult from GetModuleMetaData() guarantees return of valid pointer
Aleksei Vereshchagin [Mon, 11 Dec 2017 17:19:28 +0000 (20:19 +0300)]
Only S_OK hresult from GetModuleMetaData() guarantees return of valid pointer

7 years agoProfiler::HandleException() prints to LOG().Warn() for not FAILED HRESULTs
Aleksei Vereshchagin [Mon, 11 Dec 2017 17:16:24 +0000 (20:16 +0300)]
Profiler::HandleException() prints to LOG().Warn() for not FAILED HRESULTs

7 years agoUsing of idiomatic ReleaseHolder instead of unique_ptr with custom deleter for COM...
Aleksei Vereshchagin [Mon, 11 Dec 2017 17:14:06 +0000 (20:14 +0300)]
Using of idiomatic ReleaseHolder instead of unique_ptr with custom deleter for COM-pointers

7 years agoEventChannel class uses assert() instead of _ASSERTE()
Aleksei Vereshchagin [Mon, 11 Dec 2017 17:09:22 +0000 (20:09 +0300)]
EventChannel class uses assert() instead of _ASSERTE()

7 years agoShould not use const_cast to avoid API contract
Aleksei Vereshchagin [Mon, 11 Dec 2017 16:53:04 +0000 (19:53 +0300)]
Should not use const_cast to avoid API contract

7 years agoMerge branch 'tizen' of ssh://review.tizen.org:29418/sdk/tools/coreprofiler into...
Dmitri Botcharnikov [Wed, 25 Oct 2017 12:47:38 +0000 (15:47 +0300)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/sdk/tools/coreprofiler into tizen

7 years agoAdd license, readme and credits
Dmitri Botcharnikov [Mon, 25 Sep 2017 16:07:19 +0000 (19:07 +0300)]
Add license, readme and credits

7 years agoAdd license header in source files.
Dmitri Botcharnikov [Mon, 25 Sep 2017 12:28:15 +0000 (15:28 +0300)]
Add license header in source files.

7 years agoInitial empty repository master
Tizen Infrastructure [Fri, 22 Sep 2017 02:51:02 +0000 (02:51 +0000)]
Initial empty repository

7 years agoFix build
Dmitri Botcharnikov [Wed, 30 Aug 2017 13:06:25 +0000 (16:06 +0300)]
Fix build

7 years agoFix build for arm
Dmitri Botcharnikov [Tue, 29 Aug 2017 15:05:44 +0000 (18:05 +0300)]
Fix build for arm

7 years agoFix Hot Lines and add GC tracing.
Dmitri Botcharnikov [Tue, 29 Aug 2017 14:48:17 +0000 (17:48 +0300)]
Fix Hot Lines and add GC tracing.

8 years agoInstall directly to CoreCLR location
Andrey Kvochko [Mon, 5 Jun 2017 11:36:10 +0000 (14:36 +0300)]
Install directly to CoreCLR location

8 years agoEnable ASM language
Andrey Kvochko [Mon, 5 Jun 2017 09:41:18 +0000 (12:41 +0300)]
Enable ASM language

8 years agoAdd .spec file for gbs build
Andrey Kvochko [Fri, 2 Jun 2017 12:46:35 +0000 (15:46 +0300)]
Add .spec file for gbs build

8 years agoinitial commit
Andrey Kvochko [Fri, 2 Jun 2017 12:22:34 +0000 (15:22 +0300)]
initial commit