plugin-api: resourced: Add working set size related info in task_info 77/298377/2
authorUnsung Lee <unsung.lee@samsung.com>
Tue, 5 Sep 2023 01:59:14 +0000 (10:59 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 6 Sep 2023 23:59:28 +0000 (23:59 +0000)
commit418dfa5feca0f07cf72d714711a4d805e29fa532
tree51220322d5637903360a7fb722519f26878aa138
parent617110ad7fb7e15be6e18237ae357854ae7fa298
plugin-api: resourced: Add working set size related info in task_info

resourced requires active, inactive, and swap memory size,
because working set size-based resourced-lmk-governor should know them
to calculate memory efficiency of each app.
Normally, this information is located in memory.stat of memcg.
In addition, some apps are free from LMK according to working set size.

Change-Id: I8d20a3be57391fb4813f42a4704dc91f43ce1101
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/plugin-api/resourced/include/system/syscommon-plugin-resourced-memory-lmk-interface.h