Make memory logging configurable 50/247350/13
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 10 Nov 2020 05:09:13 +0000 (14:09 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 11 Nov 2020 08:40:17 +0000 (17:40 +0900)
commit0efc9ec3eb4584bcb73b0663f6f5a4dbba310868
treed99c0d7bdb378d11449262e52ab12ddde6488f7c
parentaabecb5ae86e0425b074e4d3315fd5ea69e2a7de
Make memory logging configurable

Logging section in memory.conf file now configures the memory
logging. Now it is able to set the path and prefix of a logfile,
maximum number of logfiles, or even disable logging itself.

Change-Id: Id18da1b8df4ab4ba346080ad17f7c59da60acccb
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/common/memory-common.h
src/memory/lowmem-limit.c
src/memory/memory.conf
src/memory/vmpressure-lowmem-handler.c
tests/lowmem-limit-env.cpp
tests/lowmem-limit-env.hpp
tests/lowmem-limit-mock.cpp