monitor: request-handler: Add debug log to catch the correct fail point 13/278313/8
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 15 Jul 2022 09:26:01 +0000 (18:26 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 21 Jul 2022 02:06:30 +0000 (11:06 +0900)
commit6401be4b2f284d5247ca269bc5810da24a0176a8
treee383df59f305bc01a8c935d21123085d0db9136a
parent51e9db0bcf2b7c81305bd22702868769d30e0240
monitor: request-handler: Add debug log to catch the correct fail point

Add debug log to catch the correct fail point by printing
the correct resource name and resource attribute name.
And add missing error log.

The updated error log as following:
 handle_request_set_resource_ctrl(310) > failed to set resource control, client(10) | res:type(MEMORY)id(21) | ctrl:name((null))id(0)val(0)
 (snip)
 handle_request_get_value_uint64(526) > failed to get uint64 value, client(10) | res:type(MEMORY)id(21) | attr:name(MEMORY_ATTR_TOTAL)id(1)
 handle_request_get_value_uint64(526) > failed to get uint64 value, client(10) | res:type(MEMORY)id(21) | attr:name(MEMORY_ATTR_AVAILABLE)id(2)

Change-Id: I693c74f01f32954f4b828448aa3b8c2626fb2730
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/monitor/request-handler.c