--- /dev/null
+{
+ "global":{
+ "monitor": 1,
+ "report": 1,
+ "sampling_rate": 0.2,
+
+ "cpu_limit_avg": 2.5,
+ "cpu_avg_period": 60,
+ "cpu_limit_peak": 3.8,
+ "cpu_reporting_period": 3600,
+
+ "mem_limit_avg": 0.20,
+ "mem_avg_period": 60,
+ "mem_limit_peak": 0.25,
+ "mem_reporting_period": 3600,
+
+ "io_limit_avg": 128.0,
+ "io_avg_period": 60,
+ "io_limit_peak": 1024.0,
+ "io_reporting_period": 600,
+ },
+
+
+ "foreground_native_app":{
+ },
+
+ "background_native_app":{
+ },
+
+
+ "foreground_web_app":{
+ },
+
+ "background_web_app":{
+ },
+
+
+ "foreground_csharp_app":{
+ },
+
+ "background_csharp_app":{
+ },
+
+
+ "foreground_ui_widget":{
+ },
+
+ "background_ui_widget":{
+ },
+
+
+ "native_service":{
+ },
+
+ "other_service":{
+ },
+
+
+ "sleep": {
+ "monitor": 0,
+ },
+
+ "otnd": {
+ "monitor": 0,
+ },
+
+ "wgt-backend": {
+ "monitor": 0,
+ },
+
+ "tpk-backend": {
+ "monitor": 0,
+ },
+
+ "bash": {
+ "monitor": 0,
+ },
+
+ "dlogutil": {
+ "monitor": 0,
+ },
+
+ "sdbd": {
+ "monitor": 0,
+ },
+
+ "rpm": {
+ "monitor": 0,
+ },
+
+ "otn-micom": {
+ "monitor": 0,
+ },
+
+ "systemd-udevd": {
+ "monitor": 0,
+ },
+}
%description config-3parts-lzuser
This package provides configuration files for storage partitions
+%package config-stability-monitor
+Summary: System configuration file for stability-monitor
+Requires: stability-monitor
+BuildArch: noarch
+
+%description config-stability-monitor
+This package provides configuration file for stability-monitor
+
%package system-tests
Summary: System testsuite
BuildRequires: deviced-auto-test
install -m 644 units/session-bind.service %{buildroot}%{_userunitdir}
ln -s ../session-bind.service %{buildroot}%{_userunitdir}/basic.target.wants/session-bind.service
+# stability-monitor
+mkdir -p %{buildroot}/etc/stability-monitor.d
+cp conf/stability-monitor-public.conf %{buildroot}/etc/stability-monitor.d/01-public.conf
+
# test
mkdir -p %{buildroot}%{_bindir}/hal
install -m 755 tests/system-test %{buildroot}%{_bindir}
%{_userunitdir}/wait-mount@.service
%{_userunitdir}/basic.target.wants/wait-mount@opt-usr.service
+%files config-stability-monitor
+%manifest %{name}.manifest
+/etc/stability-monitor.d/01-public.conf
+
%files system-tests
%defattr(755,root,root,-)
%manifest %{name}.manifest