Since the name of plugin has changed to syscommon-plugin/system-plugin,
the package name, include path and function name of plugin should be
changed.
* in .spec file and CMakeLists.txt, package names are renamed:
plugin-api-resourced -> libsyscommon-plugin-api-resourced
* include path:
plugin/plugin-resourced... -> syscommon-plugin-resourced...
(The 'system' directory was included by the package config(.pc)
file of plugins)
* function name:
plugin_resourced_memory_lmk_get_kill_candidates
-> syscommon_plugin_resourced_memory_lmk_get_kill_candidates
Change-Id: Ie3b07e06e4d43536ac5ba2d92a2ef7ed2c1926b7
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
BuildRequires: pkgconfig(capi-system-resource)
BuildRequires: pkgconfig(cmocka)
BuildRequires: pkgconfig(libsyscommon)
-BuildRequires: pkgconfig(plugin-api-resourced)
+BuildRequires: pkgconfig(libsyscommon-plugin-api-resourced)
BuildRequires: gperf
# for swap plugin
libudev
dbus-1
libsyscommon
- plugin-api-resourced
+ libsyscommon-plugin-api-resourced
)
INCLUDE(FindPkgConfig)
* @desc Provides governor function to sort out candidate process to kill.
*/
-#include <plugin/plugin-resourced-memory-lmk.h>
+#include <system/syscommon-plugin-resourced-memory-lmk.h>
#include "lowmem.h"
#include "module.h"
*/
/* Register the governor for the lowmem_worker(lowmem killer) */
- lowmem_register_lmk_governor(plugin_resourced_memory_lmk_get_kill_candidates);
+ lowmem_register_lmk_governor(syscommon_plugin_resourced_memory_lmk_get_kill_candidates);
/* Register governors for the memory levels */
lowmem_register_mem_level_governor(MEM_LEVEL_HIGH, mem_state_dummy_governor);
#include <proc-common.h>
#include <memory-cgroup.h>
-#include <plugin/plugin-resourced-memory-lmk.h>
+#include <system/syscommon-plugin-resourced-memory-lmk.h>
#include "fd-handler.h"