halapi: Show process name when using hal-api library 14/257514/1
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 23 Apr 2021 07:02:45 +0000 (16:02 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 27 Apr 2021 05:54:54 +0000 (14:54 +0900)
commit9c3b2bc76bb5cbfd35322fa2a1c37735ad6b585c
tree4bc6297d109b1e47f65ccc4f637916a51da80f93
parent0bde68b13a4809ae6772ce46677bfd1867b5f174
halapi: Show process name when using hal-api library

The hal-api library are used by the various process.
In order to support the easy debugging, show the process name
who get/put the hal-api library.

Example log with process name,
HAL_MODULE_TBM: Get HAL backend: name(vc4)/vendor(Samsung)/library(/hal/lib64/libhal-backend-tbm.so)/count(1) by /usr/bin/enlightenment
HAL_MODULE_TBM: Get HAL backend: name(vc4)/vendor(Samsung)/library(/hal/lib64/libhal-backend-tbm.so)/count(1) by /usr/bin/boot-animation

Change-Id: I7befe874d17585cfffc79e05e32f90f1edcb284d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/hal-api-common.c