tools: resource-monitor: Fix wrong attribute name description 48/288348/1
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 15 Feb 2023 10:43:14 +0000 (19:43 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 15 Feb 2023 10:44:16 +0000 (19:44 +0900)
Change-Id: I3cb5e7b253e33930d90c80127511037241e9fb5e
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
tools/resource-monitor/resource-monitor.c

index 3b0d6c829841f42633f4cadd4dfbc919dc64e074..47dba1e7e36f882eb9815ec184eab19d333fe43b 100644 (file)
@@ -118,7 +118,7 @@ static struct syscommon_resman_resource_attr_data system_attrs[] = {
        { .id = SYSTEM_ATTR_PER_CPU_SYS_UTIL,           .type = SYSCOMMON_RESMAN_DATA_TYPE_ARRAY,       .name = "SYSTEM_ATTR_PER_CPU_SYS_UTIL",                 .unit = "%",            .desc = "Per-CPU utilization on system",        .array_type = SYSCOMMON_RESMAN_DATA_TYPE_DOUBLE, },
        { .id = SYSTEM_ATTR_POSSIBLE_CPU,               .type = SYSCOMMON_RESMAN_DATA_TYPE_INT,         .name = "SYSTEM_ATTR_POSSIBLE_CPU",                     .unit = "ea",           .desc = "Number of possible CPU", },
        { .id = SYSTEM_ATTR_ONLINE_CPU,                 .type = SYSCOMMON_RESMAN_DATA_TYPE_INT,         .name = "SYSTEM_ATTR_ONLINE_CPU",                       .unit = "ea",           .desc = "Number of online CPU", },
-       { .id = SYSTEM_ATTR_MEMORY_PRESSURE_LEVEL,      .type = SYSCOMMON_RESMAN_DATA_TYPE_INT,         .name = "MEMORY_ATTR_PRESSURE_LEVEL",                   .unit = "lv",           .desc = "Level of memory pressure", },
+       { .id = SYSTEM_ATTR_MEMORY_PRESSURE_LEVEL,      .type = SYSCOMMON_RESMAN_DATA_TYPE_INT,         .name = "SYSTEM_ATTR_MEMORY_PRESSURE_LEVEL",            .unit = "lv",           .desc = "Level of memory pressure", },
 
 };