platform/core/system/stability-monitor-kmod-rpi3.git
3 years agoSupport Linux kernel v5.10 90/253890/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_unified tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.5/unified/20211028.115728 accepted/tizen/7.0/unified/20221110.063607 accepted/tizen/7.0/unified/hotfix/20221116.105806 accepted/tizen/unified/20210330.111211 submit/tizen/20210330.072949 submit/tizen_6.5/20211028.162501 tizen_6.5.m2_release tizen_7.0_m2_release
Seung-Woo Kim [Fri, 19 Feb 2021 05:43:43 +0000 (14:43 +0900)]
Support Linux kernel v5.10

To support LTS Kernel version v5.10, fix parameter for
proc_create().

Change-Id: Ie6c94fdc31000455aae5d7648f7a393cb791e89b
Ref: v5.6 commit d56c0d45f0e2 ("proc: decouple proc from VFS with "struct proc_ops"")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoMakefile: support cross compile 51/251551/2
Seung-Woo Kim [Fri, 15 Jan 2021 03:05:07 +0000 (12:05 +0900)]
Makefile: support cross compile

For local build, support cross compile.

Change-Id: I04c850e246e12b6816da25743ac2e2274adbe1af
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoRelease 6.4.0 18/250018/1 accepted/tizen/unified/20201222.122620 submit/tizen/20201218.110512
Konrad Kuchciak [Fri, 18 Dec 2020 09:28:57 +0000 (10:28 +0100)]
Release 6.4.0

Change-Id: I61a1b7b4f93d656ad209da4aff31d6d7f32fe85e
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
3 years agoSupport Linux kernel earilier version than v4.9 29/249629/1
Seung-Woo Kim [Tue, 15 Dec 2020 10:43:51 +0000 (19:43 +0900)]
Support Linux kernel earilier version than v4.9

From Linux kernel v4.9, seq_put_decimal_ll() changes its delimiter
argument to const char * instead of char. Support older version.

Change-Id: I1e6b74aad5b536cd6aade0b8f1b74613e20309b8
Ref: v4.9 commit 75ba1d07fd6a ("seq/proc: modify seq_put_decimal_[u]ll to take a const char *, not char")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoSupport Linux kernel earilier version than v4.11 05/249605/1
Seung-Woo Kim [Fri, 11 Dec 2020 04:21:38 +0000 (13:21 +0900)]
Support Linux kernel earilier version than v4.11

From Linux kernel 4.11, sched header is splited and cputime_t is
fixed as u64. Before the kernel version, do not use splitter
headers and use cputime_t for task_cputime_adjusted().

Change-Id: Iac5d4e1d89366c54a59cc3092afd56f2df01918b
Ref: v4.11 commit 1050b27c52f6 ("sched/headers: Move cputime functionality from <linux/sched.h> and <linux/cputime.h> into <linux/sched/cputime.h>")
Ref: v4.11 commit c3edc4010e9d ("sched/headers: Move task_struct::signal and task_struct::sighand types and accessors into <linux/sched/signal.h>")
Ref: v4.11 commit 5613fda9a503 ("sched/cputime: Convert task/group cputime to nsecs")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoSupport linux kernel earlier than 4.17 for security_cred_getsecid() 04/249604/1
Seung-Woo Kim [Tue, 15 Dec 2020 06:49:50 +0000 (15:49 +0900)]
Support linux kernel earlier than 4.17 for security_cred_getsecid()

Earlier than Linux v4.17, there was no security_cred_getsecid()
and it is used to get secid for task. For the earlier kernel, use
security_task_getsecid() instead.

Change-Id: I7a6284adf4f316efb124a5659a1458adc0b85d1f
Ref: v4.17 commit 3ec30113264a ("security: Add a cred_getsecid hook")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoReport task io only when CONFIG_TASK_IO_ACCOUNTING is enabled 03/249603/1
Seung-Woo Kim [Tue, 15 Dec 2020 05:59:47 +0000 (14:59 +0900)]
Report task io only when CONFIG_TASK_IO_ACCOUNTING is enabled

If kernel does not have CONFIG_TASK_IO_ACCOUNTING, then it is not
possbile to support task io usage. Reporting task io only when
kernel has CONFIG_TASK_IO_ACCOUNTING, otherwise just report 0.

Change-Id: I9b55c9bb85ae3b8900c04564481de7cef249289b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
4 years agoRelease 6.3.1 82/237782/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114014 accepted/tizen/6.0/unified/hotfix/20201103.002157 accepted/tizen/unified/20200707.141009 submit/tizen/20200703.101241 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 [Fri, 3 Jul 2020 10:05:36 +0000 (12:05 +0200)]
Release 6.3.1

Change-Id: I0312e33d9d31af85816ecab1d0f3719449ce376d

4 years agoSupport Linux kernel v5.4 98/237498/1
Seung-Woo Kim [Wed, 1 Jul 2020 02:05:44 +0000 (11:05 +0900)]
Support Linux kernel v5.4

To support rpi4 kernel based on Linux kernel v5.4, add wrapper for
changed function name.

With the Linux mainline commit 9285ec4c8b61 ("timekeeping: Use
proper clock specifier names in functions") in v5.3, function
ktime_get_boot_ns() is changed to ktime_get_boottime_ns().

Change-Id: I80e00592adea9e888daaef035f2332e5e7528eef
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9285ec4c8b61d4930a575081abeba2cd4f449a74
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
4 years agoAdd Arch Limitation for armv7l and aarch64 56/236256/1 accepted/tizen/unified/20200616.041003 submit/tizen/20200616.032444
Kunhoon Baik [Tue, 16 Jun 2020 03:18:35 +0000 (12:18 +0900)]
Add Arch Limitation for armv7l and aarch64

Change-Id: Ia66330800bf7b922e024ed5afae33743b004073a

4 years agoEnable 64bit 41/236241/2 submit/tizen/20200616.025955
Kunhoon Baik [Tue, 16 Jun 2020 02:04:31 +0000 (11:04 +0900)]
Enable 64bit

Tizen will support 64 bit binary officially.

Now, Kernel also support 64bit kernel headers
(Related patches)
 - https://review.tizen.org/gerrit/#/c/platform/kernel/linux-rpi/+/235603/
 - https://review.tizen.org/gerrit/#/c/platform/kernel/linux-rpi/+/235563/
 - https://review.tizen.org/gerrit/#/c/platform/kernel/linux-rpi/+/235998/
            :

According to the support, this patch supports stability monitor 64 bit kernel driver.

Change-Id: Ie15a455a1eaf82579a69cce9106b324401d3cc69

4 years agopackaging: add to build with rpi4 kernel 82/229182/4 accepted/tizen/unified/20200401.011627 submit/tizen/20200331.134633
Seung-Woo Kim [Mon, 30 Mar 2020 06:16:08 +0000 (15:16 +0900)]
packaging: add to build with rpi4 kernel

In tizen, rpi platform image supports both rpi3 and rpi4. So add
to build with rpi4 kernel to support rpi4 kernel.

Additionaly, provide stability-monitor-kernel-module
virtual package instead of bare kernel file.

Change-Id: I708213069744b0f405676b2705b584acfaca0ec1
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
4 years agoFix to use kernel module with kernel release version 81/229181/3
Seung-Woo Kim [Mon, 30 Mar 2020 06:11:34 +0000 (15:11 +0900)]
Fix to use kernel module with kernel release version

Kernel module has its own kernel release version and at runtime.
`uname -r` will report the version. Fix to use kernel module with
the kernel release version.

Change-Id: Ifd26c29ce84591a9e9ba46a7d64361a3e20e4824
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
4 years agobuild: add modules_install 80/229180/2
Seung-Woo Kim [Mon, 30 Mar 2020 05:02:54 +0000 (14:02 +0900)]
build: add modules_install

To install kernel modules with its release version path, add build
for modules_install.

Change-Id: Idcb945be287e43eb2f66cefa06849b6e352115a9
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
4 years agopackaging: add clean 79/229179/1
Seung-Woo Kim [Mon, 30 Mar 2020 06:05:38 +0000 (15:05 +0900)]
packaging: add clean

Change-Id: Iac95f38ed76f92da7bb55ef9d3f98d6cd457c218
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
4 years agoRelease 6.0.1 26/225226/2 accepted/tizen/unified/20200220.122440 submit/tizen/20200218.081748
Konrad Kuchciak [Tue, 18 Feb 2020 08:04:13 +0000 (09:04 +0100)]
Release 6.0.1

Change-Id: I2725d40965b7ba493f960293d39b04cd0a048873

4 years agoAdvance to Digital Age 17/225117/4
Michal Bloch [Mon, 17 Feb 2020 10:23:25 +0000 (11:23 +0100)]
Advance to Digital Age

The FSF address used in the license boilerplate text is no longer
correct since their offices have relocated. Rather than introduce
the new mailing address which will inevitably change again in the
future, use the website address which is more permanent.

The main COPYING document still has the old address, but I am afraid
to change it because that one doubles as a legal document.

Change-Id: I86c6d6978d2a633fda8d21398b23b6d76b0daf54
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoAdd blacklist parameter 94/224994/7
Konrad Kuchciak [Fri, 14 Feb 2020 12:30:08 +0000 (13:30 +0100)]
Add blacklist parameter

Blacklist parameter allows to filter out processes
with the specified SMACK label. Up to 10 comma separated
labels may be specified.

Change-Id: Ifba07c610d02b6214086ab666caac0fa5eb2b019

4 years agoFix license comment 27/219627/1 accepted/tizen/unified/20191208.221902 submit/tizen/20191206.113629
Konrad Kuchciak [Fri, 6 Dec 2019 11:09:29 +0000 (12:09 +0100)]
Fix license comment

Change-Id: I857df1652046fbaef26e959cbd2dd28ffc4834a5

4 years agoRelease 5.5.1 03/218703/1 accepted/tizen/unified/20191127.141655 submit/tizen/20191127.072205
Konrad Kuchciak [Wed, 27 Nov 2019 07:13:38 +0000 (08:13 +0100)]
Release 5.5.1

Change-Id: Id68765fc7b948707170e83f2f51ed874087a90d4

4 years agoFix License Issue 02/218702/1
Kunhoon Baik [Wed, 27 Nov 2019 06:09:21 +0000 (15:09 +0900)]
Fix License Issue

This git contains the kernel driver for stability monitor for RPI3 device.
The driver's license is GPL-2.0+ not Apache

Change-Id: I2bd1d2ab129269d0d4e2f0f29c68a2b2668e6758

5 years agoExplicitly provide proc-tsm.ko 21/214121/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.004303 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090705 accepted/tizen/unified/20190918.102317 submit/tizen/20190918.081710 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
Konrad Kuchciak [Wed, 18 Sep 2019 08:00:28 +0000 (10:00 +0200)]
Explicitly provide proc-tsm.ko

Change-Id: I03b66f7b4979d62597433299392dbbfc767f856f

5 years agoAdd manifest 20/214120/1
Konrad Kuchciak [Wed, 18 Sep 2019 07:59:10 +0000 (09:59 +0200)]
Add manifest

Change-Id: Ia245f285b203fce4da749fc5d0d2ee6f3465d663

5 years agoAdd kernel module sources from stability-monitor accepted/tizen/unified/20190917.034023 submit/tizen/20190910.085811 submit/tizen/20190917.043237 submit/tizen/20190917.103728 submit/tizen/20190918.080650
Konrad Kuchciak [Mon, 9 Sep 2019 10:07:52 +0000 (12:07 +0200)]
Add kernel module sources from stability-monitor

Change-Id: I5f377a6210996c2a4a3840f32d10337ffef55ae1