최종헌/MDE Lab(SR)/삼성전자 [Wed, 28 May 2025 08:18:35 +0000 (17:18 +0900)]
Recreate TAC folder after deleting empty folder where assembly does not exist (#627)
Change-Id: I70c6235067c5eacc8672afd8c434b0d7e1be640f
j-h.choi [Wed, 28 May 2025 06:10:34 +0000 (15:10 +0900)]
Update 10.Dotnet.Launcher.preload
j-h.choi [Tue, 27 May 2025 02:57:51 +0000 (11:57 +0900)]
Modify to find high priority RID values according to folder name order
Change-Id: Ib9b7d61b6039d6668099b726f12c13578a61fd05
j-h.choi [Wed, 23 Apr 2025 03:24:16 +0000 (12:24 +0900)]
Refactoring TAC to support multi-package installation
Change-Id: I57b52ad0edeb8cb9c9944de30a43940d0c84aeca
최종헌/MDE Lab(SR)/삼성전자 [Fri, 16 May 2025 02:52:40 +0000 (11:52 +0900)]
Changed the repo of riscv (#626)
j-h.choi [Mon, 12 May 2025 04:16:17 +0000 (13:16 +0900)]
Consider the logic when AOT is performed before TAC
Change-Id: I72f9328b7919262f882dcf2a9011f8e0184063d2
j-h.choi [Mon, 12 May 2025 04:09:27 +0000 (13:09 +0900)]
Fix TAC_TC and PRELOAD_TC
Change-Id: I958913e9926d9cc276fe30abaa52e6e43a8f03f8
최종헌/MDE Lab(SR)/삼성전자 [Mon, 12 May 2025 00:49:50 +0000 (09:49 +0900)]
Modfiy measure script (#622)
최종헌/MDE Lab(SR)/삼성전자 [Fri, 9 May 2025 05:31:01 +0000 (14:31 +0900)]
Modify TC script (#621)
최종헌/MDE Lab(SR)/삼성전자 [Fri, 9 May 2025 04:10:01 +0000 (13:10 +0900)]
Modify dude script in action (#620)
Woongsuk [Tue, 22 Apr 2025 01:54:49 +0000 (10:54 +0900)]
use setenv in initNICommon() function
In case of VD integration, The function initNICommon() is called by dlsym().
The string pointed by the putenv() in initNICommon() can be invalid
after calling dlclose().
To avoid sigsegv, change putenv to setenv.
Woongsuk [Thu, 17 Apr 2025 00:22:16 +0000 (09:22 +0900)]
Move RPK check code
The createNIUnderPkgRootWithPath() function can be called out-side.
So, RPK checking code should be don in it.
최종헌/MDE Lab(SR)/삼성전자 [Thu, 17 Apr 2025 00:58:07 +0000 (09:58 +0900)]
Update action script (#617)
Change-Id: I0434df98d881126e432884c33c10077733d8f62f
최종헌/MDE Lab(SR)/삼성전자 [Wed, 16 Apr 2025 10:01:15 +0000 (19:01 +0900)]
Update action script (#615)
Change-Id: Id20f2977265a69ec26453ed07923efe918c4afe3
최종헌/MDE Lab(SR)/삼성전자 [Wed, 16 Apr 2025 09:52:01 +0000 (18:52 +0900)]
Modify action script (#614)
Change-Id: Id1618902cfa889d227a3ae8d954b8e429f80f93d
최종헌/MDE Lab(SR)/삼성전자 [Wed, 16 Apr 2025 09:34:19 +0000 (18:34 +0900)]
Update gbs.conf in action (#612)
j-h.choi [Fri, 11 Apr 2025 05:43:41 +0000 (14:43 +0900)]
Exchange .ni.dll and .dll extensions of RPK app
Woongsuk [Wed, 16 Apr 2025 08:16:00 +0000 (17:16 +0900)]
Add r2r_checker.h to devel pkg
최종헌/MDE Lab(SR)/삼성전자 [Tue, 15 Apr 2025 03:19:41 +0000 (12:19 +0900)]
Apply smack to folders created in relation to the res_mount folder (#611)
Woongsuk [Thu, 27 Mar 2025 04:04:38 +0000 (13:04 +0900)]
Disable diagnostics on dotnettool
When crossgen is forcibly terminated due to an external factor,
a file related to diagnostics is left under /tmp directory.
Since the related file is not needed during crossgen, the feature is disabled.
최종헌/MDE Lab(SR)/삼성전자 [Sun, 23 Mar 2025 23:08:47 +0000 (08:08 +0900)]
Update candidate_mcj.py tool (#599)
Woongsuk [Tue, 18 Mar 2025 00:58:13 +0000 (09:58 +0900)]
bug-fix: iterate for all runtime paths
There was an error in directory iteration due to an incorrect break
statesment during target resolving.
Woongsuk [Mon, 10 Mar 2025 00:24:47 +0000 (09:24 +0900)]
Fix coverity issue
add null check before creating string
Woongsuk [Thu, 6 Mar 2025 01:00:12 +0000 (10:00 +0900)]
Fix coverity issue
add & keyword to avoid object copying
조웅석/MDE Lab(SR)/삼성전자 [Tue, 4 Mar 2025 05:48:28 +0000 (14:48 +0900)]
Fix coverity issues. (#601)
j-h.choi [Fri, 21 Feb 2025 04:42:32 +0000 (13:42 +0900)]
Separate .res_mount path(/lib, /gadget, /service)
Woongsuk [Mon, 20 Jan 2025 02:24:14 +0000 (11:24 +0900)]
Fix Svace Issue : check callback function
To avoid bad_function_call exception, check callback function before
calling.
j-h.choi [Thu, 16 Jan 2025 06:50:29 +0000 (15:50 +0900)]
Delete unnecessary code
Change-Id: Ic7ef0c9f6384b8d3969b36c04c9c0dc7cdb69312
j-h.choi [Thu, 16 Jan 2025 02:02:40 +0000 (11:02 +0900)]
Skip project and reference type, allow only package(nuget) type
Change-Id: I7cae05c5c2500ed46312c6c1167e26a24b3cd5aa
j-h.choi [Tue, 14 Jan 2025 06:00:38 +0000 (15:00 +0900)]
TAC disables the --inputbubble option
Change-Id: I823b0e941f330da160602f664751e997c171e953
이형주/MDE Lab(SR)/삼성전자 [Thu, 16 Jan 2025 07:59:56 +0000 (16:59 +0900)]
Set DOTNET_GCHeapHardLimit on riscv64 (#596)
* Set DOTNET_GCHeapHardLimit on riscv64
Fixes: https://github.sec.samsung.net/dotnet/runtime/issues/655
* Update NativeLauncher/launcher/lib/core_runtime.cc
Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
---------
Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
j-h.choi [Fri, 10 Jan 2025 02:29:07 +0000 (11:29 +0900)]
Changed the libclrjit_ file name of the riscv64(universal->unix)
Change-Id: Ia886aed058deb6dbe507aa6cd0325029d2a3d8ab
j-h.choi [Wed, 8 Jan 2025 08:22:23 +0000 (17:22 +0900)]
Modified to check extensions when deleting native image files
Change-Id: Ia4442d953a3c27db3679c5d20be108a208669551
j-h.choi [Mon, 30 Dec 2024 01:16:12 +0000 (10:16 +0900)]
Use relative symlink for NI files of pre-compiled app
Change-Id: Icfde96d93ea5d342f36cc2070fc270b74f6c6ac7
j-h.choi [Mon, 18 Nov 2024 06:53:12 +0000 (15:53 +0900)]
Remove temporary files and folders when NI generation fails
Change-Id: I42d4b393684efef79d28198860303e6997de9304
j-h.choi [Mon, 4 Nov 2024 02:10:12 +0000 (11:10 +0900)]
Changed API considering multiple apps in one package
Change-Id: I07ca2564d74fb5caf81108b2b634be58f3c7e177
j-h.choi [Thu, 18 Apr 2024 01:15:20 +0000 (10:15 +0900)]
[TizenX] Version up to 8.0.11
Change-Id: Id74d68efebe7fe5c54fbb930c844e789c8cf346c
이형주/MDE Lab(SR)/삼성전자 [Mon, 13 Jan 2025 23:12:28 +0000 (08:12 +0900)]
Support LSP(clangd) on IDE (#591)
- Suggest gbs build on x86_64 and fix path in compile_commands.json to
the local path
- Only a bit better but not perfect as the libs and headers are missing
outside gbs
j-h.choi [Mon, 18 Nov 2024 04:19:18 +0000 (13:19 +0900)]
Use relative symlink for TAC
Change-Id: I5f74ac0d713a91062c638ec299db9ac043a083fb
j-h.choi [Fri, 8 Nov 2024 06:53:39 +0000 (15:53 +0900)]
Add TCs(rpk_aot, lib_folder_tlc, .res_mount_folder_create)
Change-Id: I45887299314fbf57fddd2540819206936b439350
j-h.choi [Mon, 4 Nov 2024 07:23:47 +0000 (16:23 +0900)]
TLC also supports lib directory
Change-Id: I45ec7529922710b06f38c99237d5b9dc3c95a519
j-h.choi [Mon, 4 Nov 2024 08:19:24 +0000 (17:19 +0900)]
Added resource path for RPK type
Change-Id: If54321c97669092452c70475995b9c446d10b2a7
j-h.choi [Thu, 24 Oct 2024 07:30:29 +0000 (16:30 +0900)]
Create the .res_mount directory
Change-Id: Id7bae9f77c41b5ff3d320a67a0de2fb277fca529
j-h.choi [Wed, 23 Oct 2024 06:10:10 +0000 (15:10 +0900)]
Add API to check if package is resource control
Change-Id: I371e7e48b77e33216cace3fdc0731848428fb26f
최종헌/MDE Lab(SR)/삼성전자 [Wed, 20 Nov 2024 03:16:15 +0000 (12:16 +0900)]
Add to delete app after benchmark app execution (#587)
* Add to delete app after benchmark app execution
Change-Id: I68cc53916dc0cce4227b468b81f59c1595089342
* Update TizenBenchmark.cs
Woongsuk Cho [Tue, 19 Nov 2024 07:43:02 +0000 (16:43 +0900)]
Fix log message
Woongsuk Cho [Mon, 18 Nov 2024 22:55:52 +0000 (07:55 +0900)]
Add --parallelism option for crossgen2
To control thread number of crossgen2, add --parallelism option
the default value is logical cpu number and it should be bigger than 1
최종헌/MDE Lab(SR)/삼성전자 [Mon, 18 Nov 2024 01:00:35 +0000 (10:00 +0900)]
Add script to remove performance measurement app (#583)
Change-Id: I3e698288f24d6a938fa075770052e15f093d6747
최종헌/MDE Lab(SR)/삼성전자 [Fri, 15 Nov 2024 06:54:16 +0000 (15:54 +0900)]
Add OOBE skip to action script (#582)
Change-Id: I2e9779dc81dde5ab1039f884129c0b945d778bbc
Woongsuk Cho [Sun, 8 Sep 2024 23:23:53 +0000 (08:23 +0900)]
Use relative symlink for AOTC
In VD cases, an app is temporarily installed in a temporal location
and then moved to its actual location during device booting.
When the app is installed at the temporary location, if AOTC runs,
it creates internal symlinks for ni.dll and pdb.
If these symlinks are created based on absolute paths,
they will point to incorrect locations when the app's position changes later.
To resolve this issue, modify the code so that symlinks are generated using relative paths.
최종헌/MDE Lab(SR)/삼성전자 [Fri, 30 Aug 2024 07:46:54 +0000 (16:46 +0900)]
Added an application to test GC in Tizen (#573)
Woongsuk Cho [Wed, 14 Aug 2024 11:37:14 +0000 (20:37 +0900)]
Add --ni-pkg-with-path option
When a package needs to be AOTed in an unpacked state,
there are cases where it is necessary to use the rootpath instead of the pkgid for AppNI.
To support this case, API and dotnettool option are added.
Woongsuk Cho [Thu, 18 Jul 2024 06:14:25 +0000 (15:14 +0900)]
Skip AOT in plugin when pkg contains ni files
j-h.choi [Fri, 12 Jul 2024 06:53:01 +0000 (15:53 +0900)]
Remove unnecessary architecture library for lib folder of app
최종헌/MDE Lab(SR)/삼성전자 [Thu, 18 Jul 2024 01:15:28 +0000 (10:15 +0900)]
Update gbs-build.yml
조웅석/MDE Lab(SR)/삼성전자 [Wed, 17 Jul 2024 23:41:16 +0000 (08:41 +0900)]
Remove ni file before RO app AOTC (#570)
* Remove ni file before RO app AOTC
If AOTC is performed for a RO app, a native image file will be generated under /opt/usr/dotnet/apps.
During OTN, pkg_upgrade may trigger AOTC again for the RO application.
In this case, it is necessary to remove the previously created file and create a new one.
* Remove RO app ni files under /opt/usr/dotnet/apps
Recreated NI files of RO app, should be removed at FOTA/OTN
j-h.choi [Thu, 4 Jul 2024 08:01:56 +0000 (17:01 +0900)]
Fixed the arch bug that occurred in the MIC build
Bugfix: Do not perform heaptrack injection for coreprofiler start. (#567)
Jeonghoon Park [Fri, 26 Apr 2024 05:31:19 +0000 (14:31 +0900)]
add a new debugger section for memory profiler to the 'dotnet.debugger' file
j-h.choi [Wed, 19 Jun 2024 00:37:29 +0000 (09:37 +0900)]
Added the 'dude download' command to the action script
Change-Id: I59cf18ad150fb69be313aa9acfd307543309f1d1
최종헌/MDE Lab(SR)/삼성전자 [Tue, 2 Jul 2024 03:36:08 +0000 (12:36 +0900)]
Fix crossgen2 mic build (#557)
Change-Id: Ica3e5993716efb637e01a10030f22ce9596f389a
j-h.choi [Mon, 10 Jun 2024 02:40:34 +0000 (11:40 +0900)]
Chaanged the TC order of LAUNCH and EXCEPTION
Change-Id: I5f314b1891e29f74e754fdb214beec5326313337
최종헌/MDE Lab(SR)/삼성전자 [Mon, 1 Jul 2024 23:58:41 +0000 (08:58 +0900)]
Fixed build warning (#558)
* Fix build warning
Woongsuk Cho [Thu, 20 Jun 2024 07:09:37 +0000 (16:09 +0900)]
Use upstream config for debugger enable
see: https://github.com/dotnet/runtime/pull/90159
Woongsuk Cho [Thu, 20 Jun 2024 01:53:34 +0000 (10:53 +0900)]
Disable debugger for loader mode
To prevent smack issue related to clr-debug-pipe-xxx file,
disable debugging feature in the runtime side
최종헌/MDE Lab(SR)/삼성전자 [Thu, 30 May 2024 02:34:09 +0000 (11:34 +0900)]
Update action script (#556)
Change-Id: I08a862bc2d647945432e93610a5270788cf554e4
최종헌/MDE Lab(SR)/삼성전자 [Thu, 30 May 2024 00:25:54 +0000 (09:25 +0900)]
Fixed build error (#555)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 08:18:59 +0000 (17:18 +0900)]
Add TizenDotnetBenchmark Test App (#554)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 08:18:48 +0000 (17:18 +0900)]
Add launcher-action.yml (#550)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 08:18:29 +0000 (17:18 +0900)]
Add gbs-build.yml (#548)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:53:51 +0000 (16:53 +0900)]
The policy of NI file created in .NET8 is changed to use '.dll' extension (#535)
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:44:28 +0000 (16:44 +0900)]
[Refactoring] The main() method contains too many lines of code (#534)
Change-Id: Ie516bd6f22177c78eb99075d9082b209e3a82503
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:43:44 +0000 (16:43 +0900)]
Modify the injection function for the new memory profiler (#545)
Change-Id: I139b4564e176f16d98d69cb43fc5bdda67d37c76
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:43:20 +0000 (16:43 +0900)]
Added TC to check NullReferenceException (#537)
Change-Id: I98a7d6273f86a60f259299d291f497c58a2e0676
최종헌/MDE Lab(SR)/삼성전자 [Wed, 29 May 2024 07:37:42 +0000 (16:37 +0900)]
Separate the TAC into the RW area and the RO area (#521)
Change-Id: Iaf90d00dfd65c779ad941d154d733e8a04d278f4
최종헌/MDE Lab(SR)/삼성전자 [Mon, 27 May 2024 01:53:48 +0000 (10:53 +0900)]
Displays the result of launcher tc (#549)
Change-Id: I601d6f5dd9e198e0079aefec46e0cac64033ca73
Woongsuk Cho [Fri, 29 Mar 2024 02:03:33 +0000 (11:03 +0900)]
Add optionis to remove app NI file
In case of OS upgrade, there are cases where all app-related ni files must be removed.
For that case, add new options to dotnettool
- ni-reset-all-app
- tac-reset-all
j-h.choi [Wed, 8 May 2024 03:14:09 +0000 (12:14 +0900)]
Add gbs.conf
Change-Id: Iff0dd070177035db2a87de18d23845bda95bd2df
최종헌/MDE Lab(SR)/삼성전자 [Wed, 8 May 2024 02:21:57 +0000 (11:21 +0900)]
Add CODEOWNERS (#546)
Change-Id: Ib82f0a3ab61f4674781cce60e62378aca22fc494
Woongsuk Cho [Tue, 16 Apr 2024 07:21:19 +0000 (16:21 +0900)]
add .vs-code to gitignore
Woongsuk Cho [Tue, 16 Apr 2024 04:20:11 +0000 (13:20 +0900)]
Bug-fix: fix target dll searching logic
check the target dll is an R2R image or not
Woongsuk Cho [Tue, 9 Apr 2024 09:14:17 +0000 (18:14 +0900)]
Call DateTime.Now in the Candidate process
To reduce the delay that occurs when DateTime.Now is first called,
it is called in the candidate process.
Woongsuk Cho [Thu, 28 Mar 2024 21:58:08 +0000 (06:58 +0900)]
Fix incorrect TPA error
The isManagedAssembly() function receives a file name as an input and checks only the extension.
But, it calls isR2RImage(), which requires a full path to the file internally.
Upon checking the usage of the isManageAssembly() function,
it is confirmed that it is used only to check whether it is a dll file or not.
So, the isManagedAssembly() function has been modified to return true even in the case of including a native image,
and related codes have been reorganized.
Woongsuk Cho [Fri, 22 Mar 2024 08:21:48 +0000 (17:21 +0900)]
bug-fix : fix TAC malfunction for multi pkg scenario
clear vector before restart tac plugin
close tac_db and tlc_db for next package
Woongsuk Cho [Wed, 20 Mar 2024 23:44:12 +0000 (08:44 +0900)]
Support Multi-Package Install Scenario
Package manager supports scenario in which multiple packages are installed at once.
The previous implementation contains defence code for the case where there are multiple apps in one package.
With this implementation, the multi package installation scenario malfunctioned.
So, the implementation was modified.
Hyungju Lee [Fri, 15 Mar 2024 00:22:46 +0000 (09:22 +0900)]
boost::filesystem::coy_option is deprecated.
// Deprecated, use copy_options instead
enum class copy_option
{
none = copy_options::none,
fail_if_exists = none,
overwrite_if_exists = copy_options::overwrite_existing
};
이형주/MDE Lab(SR)/삼성전자 [Thu, 14 Mar 2024 11:15:11 +0000 (20:15 +0900)]
Quick fix for boost upgrade (#527)
[ 86s] /home/abuild/rpmbuild/BUILD/dotnet-launcher-6.0.9/NativeLauncher/tool/privilege_common.cc:52:36: error: variable 'std::ofstream output' has initializer but incomplete type
[ 86s] 52 | std::ofstream output(ipv6FilePath);
[ 86s] | ^
j-h.choi [Wed, 28 Feb 2024 02:02:16 +0000 (11:02 +0900)]
Change NI generation location to root for RPK type
Change-Id: Ic6696df36d3c3a9b2b15fe39e18eee8e13782c6e
Woongsuk Cho [Tue, 12 Mar 2024 01:47:36 +0000 (10:47 +0900)]
Register default signal handler
When the .NET Runtime receives SIGABRT and the previous handler is the default handler,
the .NET Runtime restores the default handler as the current handler and continues.
As a result, if a signal handler has not been registered before the .NET Runtime,
the application will be terminated only after calling SIGAGRT twice.
To avoid this situation, add signal handler before coreclr_initialize()
최종헌/MDE Lab(SR)/삼성전자 [Mon, 11 Mar 2024 02:17:24 +0000 (11:17 +0900)]
Add include fstream header for boost 1.83.0 (#525)
Change-Id: Ifeceb15d3b9eac98b749d4043e5e806a75c0e019
Hyungju Lee [Wed, 6 Mar 2024 03:19:16 +0000 (12:19 +0900)]
Remove a dependency of capi-appfw-app-common package
This patch uses aul_get_app_data_path() instead of app_get_data_path().
Change-Id: If417eb9733be76850eb22d39f7c48c3716379633
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
j-h.choi [Thu, 22 Feb 2024 01:00:32 +0000 (10:00 +0900)]
Fixed TAC related bugs caused by function integration patch
Change-Id: Ib274591f120e7d8ed89b568c67de042cba21e07a
j-h.choi [Wed, 21 Feb 2024 05:05:44 +0000 (14:05 +0900)]
Changed the creation location of the NI file to configure smack for RPK
When the RPK(resource package) is installed through pkgcmd, AOT is performed.
At this time, there was an issue that the smack label did not change for the NI created in the lib folder.
Because the installer does not have the capability of cap_mac_admin.
Change-Id: I74d47104d9edf07187fd1bd942a2993c280a7219
Woongsuk Cho [Tue, 20 Feb 2024 01:41:12 +0000 (10:41 +0900)]
remove unnecessary ecore dependency
j-h.choi [Mon, 19 Feb 2024 08:31:40 +0000 (17:31 +0900)]
Fixed bug that check the arch of device
Change-Id: Ia27f81678ad75cc5d5029a2d9288c27f8319f291
j-h.choi [Wed, 14 Feb 2024 07:09:54 +0000 (16:09 +0900)]
Refactoring to extract duplicate logic as a separate method
Change-Id: I765201c0249f6415b6c1e3654888ae0567af5889
Woongsuk Cho [Mon, 5 Feb 2024 01:08:27 +0000 (10:08 +0900)]
Change implementation of regeneratePkgNI
Woongsuk Cho [Wed, 31 Jan 2024 07:17:32 +0000 (16:17 +0900)]
AOT support for RPK
The RPK (Resource Package) can contain dlls for resources and NUIGadget.
For RPK, Dlls can be located under lib and res/allowed directory.
AOT for RPK is enabled by metadata "http://tizen.org/metadata/prefer_dotnet_aot".
It triggered by metadata installer plugin and dotnettool(--ni-pkg, --ni-regen-all-app).
j-h.choi [Thu, 18 Jan 2024 06:40:47 +0000 (15:40 +0900)]
[Refactoring] Code cleanup and remove duplicate methods
Change-Id: I6c65e5108b0110a51b5f9d60e34779d7d4f300ef
조웅석/MDE Lab(SR)/삼성전자 [Mon, 18 Dec 2023 07:21:04 +0000 (16:21 +0900)]
Update NativeLauncher/tool/ni_common.cc
Co-authored-by: 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>