resource: Operate based on resource id 20/283920/4 accepted/tizen/unified/20221206.170546
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 7 Nov 2022 07:29:01 +0000 (16:29 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 8 Nov 2022 06:06:54 +0000 (15:06 +0900)
commitf823d14b83131cdb6dad145a17825d250c6f108c
treea7f5dcf39004ec2aad79c17163d2547987cd99c8
parent30ddc04de93b8e1a8e49f0985e883f17a3e2d64f
resource: Operate based on resource id

The resource-manager of libsyscommon has been revamped to work based on
resource id instead of actual instance. Therefore the pass doesn't need
to manage actual resource instance of libsyscommon anymore. Instead, the
only thing to do is managing id of resource instance, which can be used
in any place to which resource instance could have been used.

Change-Id: I5b47eb6ad9b5743fdb4a71f21cfe32af83300957
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
16 files changed:
include/monitor/monitor.h
src/monitor/monitor-command.c
src/monitor/monitor-thread.c
src/monitor/monitor.c
src/monitor/request-handler.c
src/resource/resource-battery.c
src/resource/resource-bus.c
src/resource/resource-cpu.c
src/resource/resource-disk.c
src/resource/resource-display.c
src/resource/resource-gpu.c
src/resource/resource-memory.c
src/resource/resource-network.c
src/resource/resource-process-group.c
src/resource/resource-process.c
src/resource/resource-system.c