Apply hal-api-device-memory module HAL ABI versioning 58/310058/1 tizen
authorYunhee Seo <yuni.seo@samsung.com>
Mon, 22 Apr 2024 01:34:18 +0000 (10:34 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 22 Apr 2024 01:34:18 +0000 (10:34 +0900)
As HAL ABI versioning is applied to hal-api-device-memory module,
inclusion path and data definition is changed.

Change-Id: Ia4391570bbc435f108e8978369f3dae02e9654d9
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/runtime_info_usage.c

index 3bbc238..91761fa 100644 (file)
@@ -30,7 +30,7 @@
 
 #include <glib.h>
 
-#include <hal/device/hal-memory.h>
+#include <hal/hal-device-memory.h>
 
 #define RESOURCED_BUS_NAME "org.tizen.resourced"
 #define RESOURCED_USAGE_OBJECT_NAME "/Org/Tizen/ResourceD/Process"
@@ -411,8 +411,8 @@ API int runtime_info_get_process_memory_info(int *pid, int size, process_memory_
 static int get_process_memory_info_direct(int *pid, int size, process_memory_info_key_e key, int **info)
 {
        int ret_hal, i;
-       struct gpu_info gpu_info;
-       struct gem_info gem_info;
+       hal_device_memory_gpu_info_s gpu_info;
+       hal_device_memory_gem_info_s gem_info;
        int *result;
        int ret = RUNTIME_INFO_ERROR_NONE;