platform/core/system/plugin/resourced-generic.git
2 years agoAdd 'backend' to package and .so name 13/293913/1 accepted/tizen/unified/20230608.164356 accepted/tizen/unified/dev/20230801.061616 accepted/tizen/unified/dev/20230801.062822 accepted/tizen/unified/riscv/20230718.024857
SangYoun Kwak [Thu, 8 Jun 2023 05:16:27 +0000 (14:16 +0900)]
Add 'backend' to package and .so name

It is required to add 'backend' keyword to this plugin backend package
and .so name to distinguish this backend package since there are other
packages whose start with 'system-plugin'.

Change-Id: I91e8c531fd07391ea4d8b0207d2bfce2dc772967
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoModify names from 'plugin' to 'system plugin' 72/292072/2 accepted/tizen/unified/20230607.160238
SangYoun Kwak [Wed, 26 Apr 2023 04:53:23 +0000 (13:53 +0900)]
Modify names from 'plugin' to 'system plugin'

Since the package name of this repository changed from plugin to system
plugin, every 'plugin' names should be modified to 'system plugin'.
 * plugin_... -> system_plugin
 * plugin-... -> system-plugin
 * PLUGIN_... -> SYSTEM_PLUGIN_...
Includes of plugin-api and their path also changed:
 * plugin/plugin-....h -> system/syscommon-plugin-....h

Change-Id: I79b434a8f5ead9fd3232b440f568755e298a0665
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoresourced-memory-lmk: Modify package name in the comment
SangYoun Kwak [Fri, 14 Apr 2023 01:53:10 +0000 (10:53 +0900)]
resourced-memory-lmk: Modify package name in the comment

Since the package name was changed from plugin-backend-resourced-rpi to
system-plugin-resourced-generic, the package name in the copyright
comment modified.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoRename .spec and package name
SangYoun Kwak [Thu, 13 Apr 2023 01:25:35 +0000 (10:25 +0900)]
Rename .spec and package name

resourced-generic -> system-plugin-resourced-generic
Also modified the summary and the description of this package according
to the package name.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoModify the .spec and CMakeLists.txt of resourced-memory-lmk module
SangYoun Kwak [Tue, 11 Apr 2023 10:27:37 +0000 (19:27 +0900)]
Modify the .spec and CMakeLists.txt of resourced-memory-lmk module

Since the path and the name of .so file, .spec file and cmake file for
resourced-memory-lmk are modified.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoRename the .spec/.manifest files
SangYoun Kwak [Tue, 11 Apr 2023 09:40:16 +0000 (18:40 +0900)]
Rename the .spec/.manifest files

Since the repository name has been changed from
plugin-backend-resourced-rpi to resourced-generic, the .spec and
.manifest files should be renamed to their corresponding names.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoresourced-memory-lmk: Remove unnecessary logs
SangYoun Kwak [Mon, 10 Apr 2023 09:17:04 +0000 (18:17 +0900)]
resourced-memory-lmk: Remove unnecessary logs

Some logs were showing meaningless informations:
 * The ratio between candidates->len and task_info_app_array->len, which
   are the same.
 * The Number of processes which are added to the candidate, which is
   same as the number of processes passed to the governor.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoRemove duplicated definition in CMakeLists.txt files
SangYoun Kwak [Fri, 17 Mar 2023 09:47:31 +0000 (18:47 +0900)]
Remove duplicated definition in CMakeLists.txt files

In CMakeLists.txt, ENABLE_DLOG was defined but it is pointless since
another src/resourced-memory-lmk/CMakeLists.txt defines ENABLE_DLOG as
its own name and in the packaging/plugin-backend-resourced-rpi.spec
file, there is no definition of ENABLE_DLOG for cmake.
Thus, the definition of ENABLE_DLOG in CMakeLists.txt was removed.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoModified building scripts according to the plugin api
SangYoun Kwak [Mon, 13 Mar 2023 02:01:44 +0000 (11:01 +0900)]
Modified building scripts according to the plugin api

plugin-backend-resourced-rpi.spec
 * BuildRequires for plugin-api-resourced since the package
   plugin-api-resourced was separated from the package libsyscommon.
 * Versioning was changed. (It will start from 0.1.0)
 * Definitions for cmake was rearranged. (remove unused ones)
 * Files to be included to the package were modified.
CMakeLists.txt
 * Installation for the license file was removed since the license file
   will be included through the %file section of the .spec file.
src/resourced-memory-lmk/CMakeLists.txt
 * The package plugin-api-resourced was added.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoresourced-memory-lmk: Modify governor function
SangYoun Kwak [Mon, 6 Mar 2023 08:29:38 +0000 (17:29 +0900)]
resourced-memory-lmk: Modify governor function

The governor function named "get_kill_candidates" was modified since its
usage of resourced was changed.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoresourced-memory-lmk: Add governor function
SangYoun Kwak [Wed, 15 Feb 2023 08:59:04 +0000 (17:59 +0900)]
resourced-memory-lmk: Add governor function

The "get_kill_candidates" function has been added to the
resourced-memory-lmk module.
This function has been separated from lowmem module of resourced.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoModify module name, add dlog and add governor
SangYoun Kwak [Fri, 10 Feb 2023 07:52:29 +0000 (16:52 +0900)]
Modify module name, add dlog and add governor

Module name changed.
 * low_memory_killer -> resourced-memory-lmk
 * According to this, the name of library, source directory, source file
   name, and symbols are modified.
Governor source code added.
Dlog feature is added.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoModify and add files to make this repository buildable
SangYoun Kwak [Thu, 9 Feb 2023 11:03:09 +0000 (20:03 +0900)]
Modify and add files to make this repository buildable

Files like spec file, cmakelists, license file were added to make this
repository buildable and callable from plugin-resourced.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoFirst commit: Add skeleton files for resourced plugin backend
SangYoun Kwak [Tue, 7 Feb 2023 07:27:45 +0000 (16:27 +0900)]
First commit: Add skeleton files for resourced plugin backend

Skeleton codes for plugin backend.

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2 years agoInitial empty repository master
Tizen Infrastructure [Thu, 20 Apr 2023 02:25:53 +0000 (02:25 +0000)]
Initial empty repository