summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2022-04-05 17:54:44 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2022-04-07 10:23:11 +0900
commit2aebdb9d8efa70bc47d7f386b2f816e73a436b41 (patch)
tree28d4bc54c96a2b016294432a99ddcb83ca04758d
parentc62278077d18d034756f39e4ab3eb9cad9c3118d (diff)
downloadbuilding-blocks-2aebdb9d8efa70bc47d7f386b2f816e73a436b41.tar.gz
building-blocks-2aebdb9d8efa70bc47d7f386b2f816e73a436b41.tar.bz2
building-blocks-2aebdb9d8efa70bc47d7f386b2f816e73a436b41.zip
[TRE-2900] Add capi-system-resource-monitor and libpass-resource-monitor to iot platform imagesubmit/tizen/20220411.061024accepted/tizen/unified/20220411.214553
Add capi-system-resource-monitor and resource-monitor feature to iot platform image and have the relatinoship as following: [Relationship between capi/features] - sub2-domain_API-System-Resource_Monitor - Requires: capi-system-resource-monitor - Requires: sub1-domain_Feature-Resource_Monitor - Requires: libpass-resource-monitor - Requires: %{name}-sub1-domain_Feature-Power_manager Change-Id: Ibd409c6b139042e37fdef0945d0b0aa25fac927d Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
-rw-r--r--mapping-bb-rs.xml3
-rw-r--r--packaging/building-blocks.spec2
-rw-r--r--packaging/domain-apis-system.inc9
-rw-r--r--packaging/domain-features-resource_monitor.inc27
-rw-r--r--packaging/domain-features.inc1
-rw-r--r--packaging/platform-preset-iot.inc4
6 files changed, 46 insertions, 0 deletions
diff --git a/mapping-bb-rs.xml b/mapping-bb-rs.xml
index e9b2fa7..291ec49 100644
--- a/mapping-bb-rs.xml
+++ b/mapping-bb-rs.xml
@@ -536,4 +536,7 @@
<buildingblock name="building-blocks-sub2-domain_API-System-Diagnostics" abb_id="144">
<rs_info>diagnostics-rs.xml</rs_info>
</buildingblock>
+ <buildingblock name="building-blocks-sub2-domain_API-System-Resource_Monitor" abb_id="145">
+ <rs_info>capi-system-resource-monitor-rs.xml</rs_info>
+ </buildingblock>
</MappingInfo>
diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec
index 9632b2d..7f87376 100644
--- a/packaging/building-blocks.spec
+++ b/packaging/building-blocks.spec
@@ -50,6 +50,7 @@ Source1310: domain-features-resource_manager.inc
Source1311: domain-features-diagnostics.inc
Source1312: domain-features-power_manager.inc
Source1313: domain-features-mode_supervisor.inc
+Source1314: domain-features-resource_monitor.inc
%if %{dotnet_feature} == "on"
Source1400: domain-csapis.inc
@@ -375,6 +376,7 @@ python ./rule_checker.py
%{include_if_mainbuild %{SOURCE1311}}
%{include_if_mainbuild %{SOURCE1312}}
%{include_if_mainbuild %{SOURCE1313}}
+%{include_if_mainbuild %{SOURCE1314}}
%if %{dotnet_feature} == "on"
%{include_if_mainbuild %{SOURCE1400}}
diff --git a/packaging/domain-apis-system.inc b/packaging/domain-apis-system.inc
index a0a2001..c7ab9f4 100644
--- a/packaging/domain-apis-system.inc
+++ b/packaging/domain-apis-system.inc
@@ -21,6 +21,7 @@ Suggests: %{name}-sub2-domain_API-System-T_Trace
Suggests: %{name}-sub2-domain_API-System-USB_Host
Suggests: %{name}-sub2-domain_API-System-dlog
Suggests: %{name}-sub2-domain_API-System-Update_Control
+Suggests: %{name}-sub2-domain_API-System-Resource_Monitor
%description sub1-domain_API-System
Tizen block (set of packages) for Group of domain API-System
%files sub1-domain_API-System
@@ -208,3 +209,11 @@ Tizen block (set of packages) for Group of sub domain Update_Control
%files sub2-domain_API-System-Update_Control
%posttrans sub2-domain_API-System-Update_Control
%tizen_feature tizen.org/feature/device_update true
+
+%package sub2-domain_API-System-Resource_Monitor
+Summary: Resource Monitor
+Requires: capi-system-resource-monitor
+Requires: %{name}-sub1-domain_Feature-Resource_Monitor
+%description sub2-domain_API-System-Resource_Monitor
+Tizen block (set of packages) for Group of sub domain Resource Monitor
+%files sub2-domain_API-System-Resource_Monitor
diff --git a/packaging/domain-features-resource_monitor.inc b/packaging/domain-features-resource_monitor.inc
new file mode 100644
index 0000000..f4523ff
--- /dev/null
+++ b/packaging/domain-features-resource_monitor.inc
@@ -0,0 +1,27 @@
+# Maintainer: Tizen Kernel
+# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers.
+
+############################
+## Tizen Resource Monitor ##
+############################
+%package sub1-domain_Feature-Resource_Monitor
+Summary: Tizen Resource Monitor
+Requires: libpass-resource-monitor
+Requires: %{name}-sub1-domain_Feature-Power_manager
+
+%description sub1-domain_Feature-Resource_Monitor
+Tizen block (set of packages) for supporting resource monitoring of Tizen.<br>
+Resource Monitor features provides the unified resource monitoring service<br>
+to monitor the physical and logical resources such as CPU/GPU/Memory<br>
+Bus/Memory/Display/Battery/PROCESS/PROCESS_GROUP and so on.<br>
+<br>
+Each resource<br> has the resource attributes like CPU_ATTR_CUR_FREQ<br>
+(current cpu frequency), GPU_ATTR_MIN_FREQ (minimum gpu frequency),<br>
+DISPLAY_ATTR_FPS (display frame per second) and so on.<br>
+The client of resource monitor can make the any monitoring<br>
+set according to their own requirement. For exmaple, the client might <br>
+want to monitor the CPU/GPU/Display and Process (like enlightenment).<br>
+Resource Monitor collects the required monitoring dataset and then<br>
+provide them to client.<br>
+
+%files sub1-domain_Feature-Resource_Monitor
diff --git a/packaging/domain-features.inc b/packaging/domain-features.inc
index 54947cf..a579560 100644
--- a/packaging/domain-features.inc
+++ b/packaging/domain-features.inc
@@ -20,6 +20,7 @@ Suggests: %{name}-sub1-domain_Feature-Resource_manager_Headless
Suggests: %{name}-sub1-domain_Feature-Power_manager
Suggests: %{name}-sub1-domain_Feature-Mode_Supervisor
Suggests: %{name}-sub1-domain_Feature-Esplusplayer
+Suggests: %{name}-sub1-domain_Feature-Resource_Monitor
%description root-domain_Feature
__EXPAND__: domains
diff --git a/packaging/platform-preset-iot.inc b/packaging/platform-preset-iot.inc
index cb78ab8..7715780 100644
--- a/packaging/platform-preset-iot.inc
+++ b/packaging/platform-preset-iot.inc
@@ -215,6 +215,8 @@ Requires: %{name}-sub2-domain_API-MachineLearning-NNTrainer
Requires: %{name}-sub1-domain_Feature-Resource_manager
#From TRE-2672
Requires: rive-tizen
+#From TRE-2900
+Requires: %{name}-sub2-domain_API-System-Resource_Monitor
%if %{dotnet_feature} == "on"
##### TizenFX for Headed #####
@@ -354,6 +356,8 @@ Requires: %{name}-sub2-domain_API-UI-EFL_MainLoop
Requires: %{name}-sub2-domain_API-UIX-TTS
Requires: %{name}-sub2-domain_API-UIX-Voice_control
Requires: %{name}-sub2-domain_API-Web-json_Glib
+#From TRE-2900
+Requires: %{name}-sub2-domain_API-System-Resource_Monitor
%description root-Preset_iot_headless
The packages of Tizen IoT Headless Common.