platform/core/system/stability-monitor.git
2 years agoRemove dependency to stability-monitor-kernel-module 96/261596/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_unified_riscv tizen_6.5 tizen_7.0_hotfix accepted/tizen/6.5/unified/20211028.115658 accepted/tizen/7.0/unified/20221110.062653 accepted/tizen/7.0/unified/hotfix/20221116.105804 accepted/tizen/8.0/unified/20231005.093847 accepted/tizen/unified/20210726.135501 accepted/tizen/unified/riscv/20230724.093740 submit/tizen/20210722.033809 submit/tizen_6.5/20211028.162501 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
Hyotaek Shim [Thu, 22 Jul 2021 02:27:07 +0000 (11:27 +0900)]
Remove dependency to stability-monitor-kernel-module

Change-Id: I30ffe63f0f5ded67bb33e23ecff54e32745fa105

2 years agoMinor addendum to ed85829496ed28070ecce581ffe75c99 96/248596/6
Michal Bloch [Mon, 30 Nov 2020 12:43:24 +0000 (12:43 +0000)]
Minor addendum to ed85829496ed28070ecce581ffe75c99

Clear up confusion around units.

Change-Id: Ib3e4ef5d2fe688e05c939da08a40dc247885a94b

2 years agoFix a coverity issue (var scope leak) 31/258431/1
Michal Bloch [Mon, 17 May 2021 17:28:21 +0000 (19:28 +0200)]
Fix a coverity issue (var scope leak)

Change-Id: I9060ca07016f49fca0660d76fc92aa61fb53d8c3

3 years agoAdd -g cflag to support gdb debugging 39/256839/2
INSUN PYO [Wed, 14 Apr 2021 01:34:59 +0000 (10:34 +0900)]
Add -g cflag to support gdb debugging

Change-Id: I9060ca07016f49fca0660d76fc92aa61fb53d8c2

3 years agoRelease 6.6.0 92/256692/1 accepted/tizen/unified/20210412.012034 submit/tizen/20210409.081821
Konrad Kuchciak [Fri, 9 Apr 2021 08:08:14 +0000 (10:08 +0200)]
Release 6.6.0

Change-Id: I2f1be27bfb8933e8ec09b5be08c9b6a2d53439c1

3 years agoAdd diagnostic interface 75/256575/2
Konrad Kuchciak [Wed, 7 Apr 2021 09:49:10 +0000 (11:49 +0200)]
Add diagnostic interface

Change-Id: Ifdfef48b301c0bc50ea061d9d073aa06f95b38ec

3 years agoRelease 6.5.0 68/255868/2 accepted/tizen/unified/20210330.111305 submit/tizen/20210325.112955 submit/tizen/20210326.094242 submit/tizen/20210329.082152 submit/tizen/20210329.184123
Konrad Kuchciak [Wed, 24 Mar 2021 09:40:34 +0000 (10:40 +0100)]
Release 6.5.0

Change-Id: I13d780cf0cf1c70bbcb8b92913ed12f605c39f79

3 years agoUse livedump_pid() according to its new signature 79/255779/2
Konrad Kuchciak [Tue, 23 Mar 2021 12:30:11 +0000 (13:30 +0100)]
Use livedump_pid() according to its new signature

Change-Id: Ic1de766063ca005a7b472bb8eb7cf377cd19649f

3 years agoSend diagnostic event on abnormality 64/254564/2
Konrad Kuchciak [Thu, 4 Mar 2021 14:28:15 +0000 (15:28 +0100)]
Send diagnostic event on abnormality

Change-Id: Ie81e1fd6210184bd10d76b2c25ee1aac6c9d9bea

3 years agoReflect the renaming of the library crash-service to bugreport 11/254811/1 accepted/tizen/unified/20210318.055919 submit/tizen/20210315.181414
Mateusz Moscicki [Tue, 9 Mar 2021 12:05:45 +0000 (13:05 +0100)]
Reflect the renaming of the library crash-service to bugreport

Change-Id: If8d23764b92b99882e85af67fd5726468e25e804

3 years agoRelease 6.4.1 71/251071/1 accepted/tizen/unified/20210108.125919 submit/tizen/20210107.115636
Konrad Kuchciak [Thu, 7 Jan 2021 11:32:00 +0000 (12:32 +0100)]
Release 6.4.1

Change-Id: Ice9f5499ed8da93ad07630b306a3cd98047373f8

3 years agoFix running action when reporting_period is higher than uptime 65/251065/1
Konrad Kuchciak [Thu, 7 Jan 2021 10:22:11 +0000 (11:22 +0100)]
Fix running action when reporting_period is higher than uptime

Change-Id: Ibeb7e42387ded03736a7d258d0b784f66058362c

3 years agoRelease 6.4.0 54/248954/1 accepted/tizen/unified/20201218.124458 submit/tizen/20201203.125951 submit/tizen/20201215.080746
Konrad Kuchciak [Thu, 3 Dec 2020 12:38:03 +0000 (13:38 +0100)]
Release 6.4.0

Change-Id: I3444a5917b4c6857a6539f28d8693a0d6fd5e460

3 years agoChange test configuration 95/248595/1
Konrad Kuchciak [Mon, 30 Nov 2020 11:47:39 +0000 (12:47 +0100)]
Change test configuration

Change-Id: I727fb5b3d282b2136b75412562f300d55b55f69e

3 years agoAdd 'xxx_reporting_period' config options 89/248589/3
Konrad Kuchciak [Mon, 30 Nov 2020 09:04:46 +0000 (10:04 +0100)]
Add 'xxx_reporting_period' config options

Added four new config options:
- cpu_reporting_period
- mem_reporting_period
- io_reporting_period
- fd_reporting_period

-1 means to report only once
value >= 0 denotes minimum period of time (seconds)
between reports

Change-Id: Ia63483bca90864ec5cc7f0c2295c4c8d60d991d8

3 years agoRelease 6.3.2 46/247946/1 accepted/tizen/unified/20201120.125456 submit/tizen/20201118.125223
Konrad Kuchciak [Wed, 18 Nov 2020 12:43:31 +0000 (13:43 +0100)]
Release 6.3.2

Change-Id: I43fad5d83588f7927790cf9e88e5e4ef230df477

3 years agoFix leaking memory 45/247945/1
Konrad Kuchciak [Wed, 18 Nov 2020 12:42:05 +0000 (13:42 +0100)]
Fix leaking memory

Change-Id: I9549919e11dcc51f8c79f25fd3b527c8128e5130

3 years agoRelease 6.3.1 78/247678/4 accepted/tizen/unified/20201116.130503 submit/tizen/20201113.104418
Konrad Kuchciak [Fri, 13 Nov 2020 09:19:35 +0000 (10:19 +0100)]
Release 6.3.1

Change-Id: Ia52f38f980643d3e9df2fe3d9285d5d38a2021ab

3 years agoFix leaking memory 77/247677/4
Konrad Kuchciak [Fri, 13 Nov 2020 09:18:45 +0000 (10:18 +0100)]
Fix leaking memory

Change-Id: Ibcfec9b78deb12554db06562b9bd93639c507ceb

3 years agoRelease 6.3.0 74/236474/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114251 accepted/tizen/6.0/unified/hotfix/20201103.002534 accepted/tizen/unified/20200618.130033 submit/tizen/20200617.084516 submit/tizen/20200617.091226 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
Konrad Kuchciak [Wed, 17 Jun 2020 08:32:56 +0000 (10:32 +0200)]
Release 6.3.0

Change-Id: I192f49ce041f4c686776b9dcc12bbbf1a097028c

3 years agoSupport 64bit Image 18/236418/1
Kunhoon Baik [Wed, 17 Jun 2020 03:12:06 +0000 (12:12 +0900)]
Support 64bit Image

64bit Image uses libraries from /usr/lib64 (from _libdir macro)
This patch is correction for that.

Change-Id: I3810334e947002596cb13a45fbce1df78d7897e7

3 years agoAllow building for other architectures 67/234767/1 accepted/tizen/unified/20200529.124127 submit/tizen/20200528.105300
Konrad Kuchciak [Thu, 28 May 2020 10:34:19 +0000 (12:34 +0200)]
Allow building for other architectures

Change-Id: Ia37ba611d35cf8af304634587077d48f511d1b72

4 years agoDepend on kmod virtual package instead of kmod file 46/229246/1 accepted/tizen/unified/20200401.011625 submit/tizen/20200331.134633
Konrad Kuchciak [Mon, 30 Mar 2020 13:07:19 +0000 (15:07 +0200)]
Depend on kmod virtual package instead of kmod file

Change-Id: Ib443acf2a53af1ab89ac50cf9cdb6a532c427105

4 years agoInstall only executables with +x permissions 15/229215/2
Konrad Kuchciak [Mon, 30 Mar 2020 09:49:25 +0000 (11:49 +0200)]
Install only executables with +x permissions

Change-Id: I6176bb85edf7e03d332320c6347948ca64b43f67

4 years agoChange kmod loading method 24/225124/2 accepted/tizen/unified/20200220.122445 submit/submit/tizen/20200218.081748/20200218.081831 submit/tizen/20200218.081748
Konrad Kuchciak [Mon, 17 Feb 2020 11:58:12 +0000 (12:58 +0100)]
Change kmod loading method

Load kernel module using libkmod to apply config provided in
/etc/modprobe.d

Change-Id: I8f799667897959a1d91b78fe86cdc06ed9da5856

4 years agoFix SVACE issue 54/221254/2
Konrad Kuchciak [Mon, 30 Dec 2019 12:23:53 +0000 (13:23 +0100)]
Fix SVACE issue

Use snprintf instead of sprintf

Change-Id: I33d5f75f49346e25db29ce8b3e3d7bc6e911d33b

4 years agoRelease 6.1.1 58/218358/1 accepted/tizen/unified/20191128.001530 submit/tizen/20191121.124127 submit/tizen/20191122.132437 submit/tizen/20191126.105153
Konrad Kuchciak [Thu, 21 Nov 2019 11:34:33 +0000 (12:34 +0100)]
Release 6.1.1

Change-Id: I6566e7f7cf7b48c7db3995b0cb9d14a08becae26

4 years agoRun as user with proper capabilities 36/217336/1
Konrad Kuchciak [Fri, 8 Nov 2019 10:13:19 +0000 (11:13 +0100)]
Run as user with proper capabilities

Change-Id: I786e71de5b82bb8ed03edc48e212e182809f36a1

4 years agoChange logging backend to dlog 35/217335/1
Konrad Kuchciak [Fri, 8 Nov 2019 10:12:24 +0000 (11:12 +0100)]
Change logging backend to dlog

Change-Id: Ifa858cbbd67082611704f0109a1c6ba00a26ba7f

4 years agoBuild PIE executable (for ASLR to work) 10/217110/1 accepted/tizen/unified/20191107.140704 submit/tizen/20191106.103554
Karol Lewandowski [Wed, 6 Nov 2019 09:40:10 +0000 (10:40 +0100)]
Build PIE executable (for ASLR to work)

Change-Id: I6e6df563becea3f706d8b245217079b6199312b9

4 years agoFix build dependencies for livedump API (crash-service.pc) 34/217034/1 submit/tizen/20191106.074151
Karol Lewandowski [Tue, 5 Nov 2019 16:43:25 +0000 (17:43 +0100)]
Fix build dependencies for livedump API (crash-service.pc)

Change-Id: I2ca1529d4ddbaf7cc7fca07b1a02fd0184598f2a

4 years agoIntegrate with crash-service 90/216890/4 submit/tizen/20191105.124953 submit/wip/20191105.124908
Konrad Kuchciak [Wed, 30 Oct 2019 10:06:53 +0000 (11:06 +0100)]
Integrate with crash-service

Crash report is now generated by calling crash-service
via DBus instead of running crash-manager directly as
a subprocess.

Change-Id: I4b342314800d0943894b21298accf145ac902c26

4 years agoAvoid heap allocation 76/215376/3
Michal Bloch [Mon, 7 Oct 2019 09:45:26 +0000 (11:45 +0200)]
Avoid heap allocation

Change-Id: I5b5b8ca8d8a8c58c2bff05d265b742de02d86111
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoCheck errors aggressively 02/214902/4
Michal Bloch [Thu, 3 Oct 2019 12:10:10 +0000 (14:10 +0200)]
Check errors aggressively

Change-Id: Id6c53df33cd3cbde48318c78ad492438b09f768a
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoFix some issues found by static analysis. 24/214724/5 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.004258 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090929 accepted/tizen/unified/20190929.221416 submit/tizen/20190926.121958 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
Michal Bloch [Thu, 26 Sep 2019 11:07:19 +0000 (13:07 +0200)]
Fix some issues found by static analysis.

Change-Id: Icd9b6278f016b7bf73c7dd47892e3c2c395bae8d
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoaction: Drop unneeded allocations 23/214723/6
Karol Lewandowski [Wed, 25 Sep 2019 13:05:27 +0000 (15:05 +0200)]
action: Drop unneeded allocations

Change-Id: Iae5e6c5757c9e96a24ae5e7c5923c349b185faad

4 years agoTests: iron out some kinks 21/214721/2
Michal Bloch [Tue, 24 Sep 2019 12:31:54 +0000 (14:31 +0200)]
Tests: iron out some kinks

Change-Id: Ie3f815ffd313a810b5a6f49b96c3de51bae3f4b0
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoRelease 5.5.1 69/214369/1 submit/tizen/20190920.142857
Konrad Kuchciak [Fri, 20 Sep 2019 14:10:45 +0000 (16:10 +0200)]
Release 5.5.1

Change-Id: I2fc8dc4feb182dbda316703708f99177986e65ee

4 years agoMove all possible base config nodes to default.conf 67/214367/1
Konrad Kuchciak [Fri, 20 Sep 2019 13:56:58 +0000 (15:56 +0200)]
Move all possible base config nodes to default.conf

Change-Id: Ic724a8ed85d519420bcb7cfe500dc2538ed78cee

4 years agoLoad configs in lexicographic order 66/214366/1
Konrad Kuchciak [Fri, 20 Sep 2019 13:54:31 +0000 (15:54 +0200)]
Load configs in lexicographic order

Change-Id: I6c2d8442e2a50c5fcf93ee351dd9d99cc242c4c0

4 years agoTest config: prepend 99 to name for load priority
Michal Bloch [Fri, 20 Sep 2019 13:08:20 +0000 (15:08 +0200)]
Test config: prepend 99 to name for load priority

Change-Id: Ic6ca3110eca4d35de080dda529d907727c7fa51c
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoLet IO test #3 (avg) run for as long as needed 62/214362/1
Michal Bloch [Fri, 20 Sep 2019 13:07:34 +0000 (15:07 +0200)]
Let IO test #3 (avg) run for as long as needed

Change-Id: I2777c68118b4f23771095ff9cc2077ad9934b267
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoBuild binaries with PIE option 52/214252/1
Konrad Kuchciak [Thu, 19 Sep 2019 08:44:17 +0000 (10:44 +0200)]
Build binaries with PIE option

Change-Id: I76b0beb0ca95ed32c105611ff5ff2b3c32f78fc9

4 years agoEnlarge default config limits 51/214251/1
Konrad Kuchciak [Thu, 19 Sep 2019 08:43:48 +0000 (10:43 +0200)]
Enlarge default config limits

This is default configuration, which should be as neutral as possible.

Change-Id: Ie9b3d8f1780c4674885ff2bb49e7b9867dd96ab2

4 years agoAdd manifest 19/214119/1 accepted/tizen/unified/20190918.102330 submit/tizen/20190918.081710
Konrad Kuchciak [Wed, 18 Sep 2019 07:51:54 +0000 (09:51 +0200)]
Add manifest

Change-Id: I42411d8ee686a795f9b2e328e1d7e36403015e9d

4 years agoSwap throttling parentage 21/213921/3 submit/tizen/20190917.103000
Michal Bloch [Mon, 16 Sep 2019 09:07:47 +0000 (11:07 +0200)]
Swap throttling parentage

Now the parent throttles the child to prevent detachment from the terminal.

Change-Id: I7241bffbd673f69097acbb19331a44aeb48bc43b
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoMake memory tests percentage-based 21/213821/1 submit/tizen/20190912.115203
Michal Bloch [Thu, 12 Sep 2019 10:28:31 +0000 (12:28 +0200)]
Make memory tests percentage-based

For target independence.

Change-Id: Ifa40c2b864d010beca4344c2cb2f166d6cc0909e

4 years agoMove kernel module to separate git repository 40/213640/1 accepted/tizen/unified/20190917.034018 submit/tizen/20190910.085724 submit/tizen/20190917.043237
Konrad Kuchciak [Mon, 9 Sep 2019 10:19:13 +0000 (12:19 +0200)]
Move kernel module to separate git repository

Moved to: /platform/core/system/stability-monitor-kmod-rpi3

Change-Id: Icd60617780e1d4129faa04ded38da9406a8bdaf4

4 years agoAdd required crash-worker dependencies 48/213548/1 accepted/tizen/unified/20190909.103514 submit/tizen/20190909.084817
Karol Lewandowski [Fri, 6 Sep 2019 11:45:30 +0000 (13:45 +0200)]
Add required crash-worker dependencies

Change-Id: I0747849d2facb745b25e162b98d3fbeb7602f135

4 years agoMove kernel module to separate spec 38/213538/3 submit/tizen/20190906.111852
Karol Lewandowski [Fri, 6 Sep 2019 09:24:40 +0000 (11:24 +0200)]
Move kernel module to separate spec

Change-Id: Ie6408e9bb06399f9ce9cc99f78668f5c443e1c06

4 years agoBuild stability monitor only for armv7l 28/213528/1 submit/tizen/20190906.081624
Karol Lewandowski [Fri, 6 Sep 2019 08:09:39 +0000 (10:09 +0200)]
Build stability monitor only for armv7l

Stability monitor's kernel module works with RPI3 kernel only
(for now).

Change-Id: I0fa56d15617ad15e5621967f45c0329092b472a3

4 years agoAdd stability tests
Konrad Kuchciak [Thu, 22 Aug 2019 10:57:20 +0000 (12:57 +0200)]
Add stability tests

Testing programs were created by Michal Bloch (m.bloch@samsung.com)

Change-Id: Ica86065e0c3771a4a856995c4642674e1a07f86e

4 years agoAdd missing license file
Konrad Kuchciak [Thu, 22 Aug 2019 10:54:10 +0000 (12:54 +0200)]
Add missing license file

Change-Id: Ieacfe831b9c7d4792b0aac76a56f2d4e56940eea

4 years agoAdjust kernel module for RPi3
Konrad Kuchciak [Tue, 20 Aug 2019 11:22:42 +0000 (13:22 +0200)]
Adjust kernel module for RPi3

Change-Id: I1a14a25832514097b18f98e3dae4d6866e18ea24

4 years agoFix finishing action
Konrad Kuchciak [Tue, 20 Aug 2019 11:15:13 +0000 (13:15 +0200)]
Fix finishing action

Action should finish also when spawning crash manager fails

Change-Id: I866f32107e409140547d47edffc71ae79241d4ca

4 years agoRemove libsystemd dependency
Konrad Kuchciak [Fri, 2 Aug 2019 11:30:19 +0000 (13:30 +0200)]
Remove libsystemd dependency

Change-Id: I45db4e259c66e60ac821ecb6caf69d8693a6ec58

4 years agoChange verbosity level of some messages
Konrad Kuchciak [Fri, 28 Jun 2019 08:54:55 +0000 (10:54 +0200)]
Change verbosity level of some messages

Change-Id: I4b81e99a3bed1d6dd4923aad9ec9e157acc3a010

4 years agoAllow parallel action execution
Konrad Kuchciak [Thu, 27 Jun 2019 11:25:05 +0000 (13:25 +0200)]
Allow parallel action execution

data_source module can now run default action, even if another action
(of the same process) is in progress.

Moreover, added refcounting mechanism for proc_info structure.

Change-Id: I4e5bf3d931e7b7ab5056373ee49817b0053142cb

4 years agoAdd some sanity checks in data source modules
Konrad Kuchciak [Tue, 25 Jun 2019 06:32:55 +0000 (08:32 +0200)]
Add some sanity checks in data source modules

Change-Id: Idd6da9f0b1cdb9e6a81e75c397571fdbc3b26978

4 years agoExtend dbus signal
Konrad Kuchciak [Tue, 25 Jun 2019 06:31:23 +0000 (08:31 +0200)]
Extend dbus signal

added pid, process_name and process_state

Change-Id: I6bd6862bfb2f8ef660043e96908637fed6942476

4 years agoPrevent average from being less than zero
Konrad Kuchciak [Tue, 25 Jun 2019 06:29:55 +0000 (08:29 +0200)]
Prevent average from being less than zero

I may happen due to floating point precision errors while adding and
subtracting the same values (very close to zero).

Change-Id: Id1201cb0bafd7386595c463d54b55c3fae3922ee

4 years agoFix io accounting in kernel module
Konrad Kuchciak [Tue, 25 Jun 2019 06:28:26 +0000 (08:28 +0200)]
Fix io accounting in kernel module

Change-Id: Id3722fbc99a77062a5168f8d51f0b655eb6fc141

4 years agoAdd initial version of stability-monitor
Konrad Kuchciak [Fri, 29 Mar 2019 10:41:15 +0000 (11:41 +0100)]
Add initial version of stability-monitor

Change-Id: Ifdde9fcfce1eeea1debe5720b751061f82f4cb33

4 years agoInitial empty repository
Karol Lewandowski [Fri, 31 May 2019 10:21:12 +0000 (12:21 +0200)]
Initial empty repository