platform/kernel/swap-modules.git
10 years ago[FIX] Kprobe: make kretprobe_lock static
Alexander Aksenov [Wed, 29 Jan 2014 08:35:55 +0000 (12:35 +0400)]
[FIX] Kprobe: make kretprobe_lock static

Change-Id: I2a195cad57fe76f2ea3a45d115ec85dd02f21230
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FEATURE] parser: web app support
Nikita Kalyazin [Wed, 22 Jan 2014 14:19:02 +0000 (18:19 +0400)]
[FEATURE] parser: web app support

According to protocol: app type 4.

Change-Id: I7f986aca77cdd15f5277caaad8e4ab9942ea2694
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[IMPROVE] parser: empty PID string support
Vyacheslav Cherkashin [Thu, 23 Jan 2014 08:16:04 +0000 (12:16 +0400)]
[IMPROVE] parser: empty PID string support

empty PID means no PID filtering

Change-Id: If4b5731c8ae3f9111692dd50581752328562b2b9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] RCU waiting after removing each syscall
Alexander Aksenov [Wed, 11 Dec 2013 09:17:34 +0000 (13:17 +0400)]
[FIX] RCU waiting after removing each syscall

Now we do synchronize_sched only once, after all syscalls from syscall
group were removed.

Change-Id: Ib8b86460ed8485499d7085aaec381139bcac840f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Add unregister_kretprobe multi-probes support
Alexander Aksenov [Fri, 13 Dec 2013 11:36:12 +0000 (15:36 +0400)]
[IMPROVE] Add unregister_kretprobe multi-probes support

- add dbi_unregister_kretprobes()
- add new parameter size

Change-Id: Ib59b1ced0c45193e9cb7619e5809d3dc1b6b51d1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] support power for CONFIG_MARU_BACKLIGHT
Vyacheslav Cherkashin [Fri, 17 Jan 2014 11:59:30 +0000 (15:59 +0400)]
[IMPROVE] support power for CONFIG_MARU_BACKLIGHT

Change-Id: I6cf0e138c9ecf08f1d5dfba71ca66c72f0ff0ac2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] deadlock, when calling wake_up_interruptible()
Vyacheslav Cherkashin [Fri, 17 Jan 2014 11:28:40 +0000 (15:28 +0400)]
[FIX] deadlock, when calling wake_up_interruptible()

use work queue, for when calling wake_up_interruptible()

Change-Id: I247a4e85aacac7cad2729ffbe40276210183ff3c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] support power for CONFIG_LCD_S6E8AA0
Vyacheslav Cherkashin [Mon, 23 Dec 2013 11:50:34 +0000 (15:50 +0400)]
[IMPROVE] support power for CONFIG_LCD_S6E8AA0

Change-Id: Ib0f92cb5dc92b60cc8ed9925469f3da3c45335e5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] add support CONFIG_DISPLAY_PANEL_S6E8AA0
Vyacheslav Cherkashin [Fri, 20 Dec 2013 13:49:59 +0000 (17:49 +0400)]
[IMPROVE] add support CONFIG_DISPLAY_PANEL_S6E8AA0

Change-Id: I0fa8b70f57facf1e775aecd68da9cd7c5c2c9447
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] energy: power support
Vyacheslav Cherkashin [Fri, 20 Dec 2013 13:45:09 +0000 (17:45 +0400)]
[IMPROVE] energy: power support

Change-Id: I85ea030aaff2c8a2cc1f60bdf5dc88d44c781564
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] Buffer: fix prevent warnings
Alexander Aksenov [Tue, 14 Jan 2014 09:45:07 +0000 (13:45 +0400)]
[FIX] Buffer: fix prevent warnings

Change-Id: Iea6e500ad3c2ea61a3bcfa7f960709bfc29da245
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] us_manager: correct macro for do_mmap
Nikita Kalyazin [Thu, 19 Dec 2013 19:29:34 +0000 (23:29 +0400)]
[FIX] us_manager: correct macro for do_mmap

Change-Id: I1c0280410f7ce48a649496861fcf69f1917ec4ba
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[IMPROVE] dbi_register_kprobe/dbi_unregister_kprobe
Anastasia Lyupa [Tue, 17 Dec 2013 12:44:38 +0000 (16:44 +0400)]
[IMPROVE] dbi_register_kprobe/dbi_unregister_kprobe

set NULL addr in struct kprobe during unregistering if
symbol_name is set to make the struct reusable
(because we can't use symbol_name and addr to register kprobe
at the same time)

this commit reverts
commit 7ddb6434a343f484e3e0b2f1b720e77753e32800,
it solves the same problem in the other way

Change-Id: Ifac85e1f416c0c053711a0e5dd283c019c461097
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[REFACTOR] remove unused code
Vyacheslav Cherkashin [Wed, 25 Dec 2013 09:20:05 +0000 (13:20 +0400)]
[REFACTOR] remove unused code

Change-Id: I5d185fe31f808a20dbc267d9df6c1e13f7373398
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] check null pointer
Vyacheslav Cherkashin [Tue, 17 Dec 2013 08:45:02 +0000 (12:45 +0400)]
[FIX] check null pointer

kprobe_exceptions_notify()

Change-Id: I9033defea2b3354b6012577a9f132d4dd94f63c6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] check null pointer
Vyacheslav Cherkashin [Tue, 17 Dec 2013 08:40:52 +0000 (12:40 +0400)]
[FIX] check null pointer

in uprobe_exceptions_notify()

Change-Id: Id98d9b20bfc6bbd93dcbe4b254c9c3e52c58a809
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] get_string()
Vyacheslav Cherkashin [Fri, 13 Dec 2013 13:32:10 +0000 (17:32 +0400)]
[FIX] get_string()

correct parsing of strings without null symbol

Change-Id: I4ffd03ec88d81227d4ca261be18c329d46e86043
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] check message length
Vyacheslav Cherkashin [Tue, 17 Dec 2013 08:21:45 +0000 (12:21 +0400)]
[FIX] check message length

Change-Id: I8c68b90746bf0eaa8c5966825422408f0490fc59
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] clean up when error
Vyacheslav Cherkashin [Fri, 13 Dec 2013 11:34:34 +0000 (15:34 +0400)]
[FIX] clean up when error

in create_lib_inst_data()

Change-Id: Ia2324e9b25bfcd34220bfcbacbf5044e2b744511
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] dbi_register_kprobe
Anastasia Lyupa [Mon, 16 Dec 2013 10:05:33 +0000 (14:05 +0400)]
[FIX] dbi_register_kprobe

don't return -EINVAL, when symbol_name and addr are set
at the same time, use symbol_name to update addr

Change-Id: I5129ceb6408e0be87e078e13b9593bb9895228ca
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[FIX] Add INIT_LIST_HEAD for kprobes list field
Alexander Aksenov [Fri, 13 Dec 2013 11:00:55 +0000 (15:00 +0400)]
[FIX] Add INIT_LIST_HEAD for kprobes list field

Change-Id: If945d140039364ec7738d558e21707847ca671c0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[REFACTOR] remove dead code
Vyacheslav Cherkashin [Fri, 13 Dec 2013 17:19:32 +0000 (21:19 +0400)]
[REFACTOR] remove dead code

in arch_prepare_kprobe() for x86

Change-Id: If0c465000a3221f40a1fd3a3a1b49e98a31634a9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[REFACTOR] remove dead code
Vyacheslav Cherkashin [Fri, 13 Dec 2013 16:52:49 +0000 (20:52 +0400)]
[REFACTOR] remove dead code

in pack_args()

Change-Id: Ic9add40b752380681536f6431422694afb7ad1ad
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] dereference null pointer in lcd_init()
Vyacheslav Cherkashin [Fri, 13 Dec 2013 16:21:55 +0000 (20:21 +0400)]
[FIX] dereference null pointer in lcd_init()

Change-Id: Ia5a30859853bf975a43d9dca05b4158eb972adbc
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] check null pointer in ksm_unregister_probe()
Vyacheslav Cherkashin [Fri, 13 Dec 2013 16:10:40 +0000 (20:10 +0400)]
[FIX] check null pointer in ksm_unregister_probe()

Change-Id: Ib1c5c8813e38b1f527571c77c58450efb3945c7c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] clean up when not error
Vyacheslav Cherkashin [Fri, 13 Dec 2013 12:21:11 +0000 (16:21 +0400)]
[FIX] clean up when not error

in msg_start()

Change-Id: I836134a9d006309ef9220aba00a99396c5af8cb5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] clean up when error
Vyacheslav Cherkashin [Fri, 13 Dec 2013 12:06:50 +0000 (16:06 +0400)]
[FIX] clean up when error

in create_func_inst_data()

Change-Id: I8b299a7fa7acb44ccc02e64d3bd5b3a9caf84787
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] wrong sequence in sspt_unregister_feature()
Vyacheslav Cherkashin [Fri, 13 Dec 2013 09:58:51 +0000 (13:58 +0400)]
[FIX] wrong sequence in sspt_unregister_feature()

Change-Id: Ibe162365d114fa74af76d1141fe02c901f052eda
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] send original address, which set probe (US)
Vyacheslav Cherkashin [Thu, 12 Dec 2013 08:37:07 +0000 (12:37 +0400)]
[FIX] send original address, which set probe (US)

Change-Id: I99f03ae6e869c0d28713c6f8ab2f3f0dc7b120bd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] energy: add printk in case of error
Nikita Kalyazin [Thu, 12 Dec 2013 07:06:18 +0000 (11:06 +0400)]
[IMPROVE] energy: add printk in case of error

Change-Id: I03cd6cdb8ed63b4a0607edf4c86f7fa6d1e9e6e8
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] build: add missing module names
Nikita Kalyazin [Thu, 12 Dec 2013 05:54:43 +0000 (09:54 +0400)]
[FIX] build: add missing module names

They were mistakenly removed in d6f34881ca7ceffb918c7867b7d713a78bd01b57

Change-Id: Ic881bc49052c45e7dd389cb3f38fcf877e062acf
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[IMPROVE] Add top Kbuild
Alexander Aksenov [Mon, 9 Dec 2013 12:54:51 +0000 (16:54 +0400)]
[IMPROVE] Add top Kbuild

Now modules are built a bit faster

Change-Id: I12b5c97e426982a20dba9b1244b51554481225a6
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] create sspt_proc struct only by group leader
Vyacheslav Cherkashin [Thu, 5 Dec 2013 14:44:25 +0000 (18:44 +0400)]
[FIX] create sspt_proc struct only by group leader

Change-Id: Ic432caf4e0c0969c126668781007574770a6c3ae
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] x86: do not install probes to call instruction
Nikita Kalyazin [Thu, 5 Dec 2013 10:13:18 +0000 (14:13 +0400)]
[FIX] x86: do not install probes to call instruction

Workaround for __i686.get_pc_thunk.* related functions.
We cannot instrument not only such functions, but also functions that
call them.

Change-Id: Ifd431a12623a8ddb9beef952d3fed66c7701866c
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] correct allocation uretprobe_instance struct
Vyacheslav Cherkashin [Wed, 4 Dec 2013 13:16:13 +0000 (17:16 +0400)]
[FIX] correct allocation uretprobe_instance struct

Change-Id: I5ea32889452f119076a89ac6012f59118d94017c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] unregister_uretprobe() for x86
Vyacheslav Cherkashin [Mon, 2 Dec 2013 12:28:17 +0000 (16:28 +0400)]
[FIX] unregister_uretprobe() for x86

Change-Id: Ib4cfaee5d742e8d5d0c65da320e0d0707493ac69
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] Kernel shared memory area addresses are pushed to host
Alexander Aksenov [Wed, 27 Nov 2013 10:30:57 +0000 (14:30 +0400)]
[IMPROVE] Kernel shared memory area addresses are pushed to host

Change-Id: I9304bdfa3ce3ad89e50020cc48f0a82679251da1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] obtaining correct stack pointer (for x86)
Vyacheslav Cherkashin [Fri, 29 Nov 2013 18:06:29 +0000 (22:06 +0400)]
[FIX] obtaining correct stack pointer (for x86)

Change-Id: Ic47f43766c842207c207c688ba542cc30747c327
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] Remove redundant includes from swap_sampler_modules.c
Alexander Aksenov [Thu, 28 Nov 2013 09:00:50 +0000 (13:00 +0400)]
[IMPROVE] Remove redundant includes from swap_sampler_modules.c

Change-Id: I40faa2673d80d7f634f12dc2b83f8cdd18ba823b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[REFACTOR] Sampler refactor
Alexander Aksenov [Wed, 27 Nov 2013 14:10:32 +0000 (18:10 +0400)]
[REFACTOR] Sampler refactor

Change-Id: Ic936b3430729c0aefa7ab044e83136e06022442c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] Remove unreachable code
Dmitry Bogatov [Tue, 26 Nov 2013 14:57:10 +0000 (18:57 +0400)]
[FIX] Remove unreachable code

Change-Id: Iaa47ab64c235c7742e9849067c6814609d15ef55
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] US instrumentation running process
Vyacheslav Cherkashin [Mon, 25 Nov 2013 12:14:17 +0000 (16:14 +0400)]
[FIX] US instrumentation running process

Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Change-Id: Ib5c5f526e12d9abdb246b16b562637d620370f2b

10 years ago[REFACTOR] arch_copy_trampoline_thumb_uprobe()
Vyacheslav Cherkashin [Tue, 26 Nov 2013 13:01:01 +0000 (17:01 +0400)]
[REFACTOR] arch_copy_trampoline_thumb_uprobe()

Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Change-Id: Ic6580fa916ab62f037cfa125b8d3e8f0a0ae761c

10 years ago[REFACTOR] arch_check_insn_thumb()
Vyacheslav Cherkashin [Tue, 26 Nov 2013 12:17:23 +0000 (16:17 +0400)]
[REFACTOR] arch_check_insn_thumb()

Change-Id: I90f303ff2eba059112c108145f84322c23b9a8b0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[REFACTOR] arch_copy_trampoline_arm_uprobe()
Vyacheslav Cherkashin [Tue, 26 Nov 2013 12:05:20 +0000 (16:05 +0400)]
[REFACTOR] arch_copy_trampoline_arm_uprobe()

Change-Id: I6b0852f83a61368cd79d2d237fa162cee29db87d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[REFACTOR] arch_check_insn_arm()
Vyacheslav Cherkashin [Tue, 26 Nov 2013 10:39:49 +0000 (14:39 +0400)]
[REFACTOR] arch_check_insn_arm()

Change-Id: I0b7b69ecc522c7d5eda83253736996bd60105710
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] call schedule() in atomic context
Vyacheslav Cherkashin [Wed, 20 Nov 2013 08:28:59 +0000 (12:28 +0400)]
[FIX] call schedule() in atomic context

Change-Id: Iec346d746331c5db38c358ef7ed99616d936feeb
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] energy: add coefficients for LCD
Nikita Kalyazin [Wed, 20 Nov 2013 07:32:53 +0000 (11:32 +0400)]
[IMPROVE] energy: add coefficients for LCD

The coefficients were calculated for M0 target.
They consider only backlight brightness (no pixel self brightness).

Change-Id: If44d483db3dea7c9e1fa9858c6dd1624d626004a
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
11 years ago[FEATURE] energy: add support LCD s6e8aa0
Vyacheslav Cherkashin [Tue, 19 Nov 2013 09:30:04 +0000 (13:30 +0400)]
[FEATURE] energy: add support LCD s6e8aa0

Change-Id: I8f9bfef7b1aa68e84a093e0e00c339be059dc1f2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] add lcd_/un/set_energy()
Vyacheslav Cherkashin [Tue, 19 Nov 2013 07:20:41 +0000 (11:20 +0400)]
[IMPROVE] add lcd_/un/set_energy()

new interaction lcd_base with arch dependent code,
Kbuild generate function pointer array

Change-Id: Ie3d96b0d2f17e8eaf05918e86d7fcf416a8117ce
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[FIX] replace return value type for syscall
Vyacheslav Cherkashin [Mon, 18 Nov 2013 10:34:40 +0000 (14:34 +0400)]
[FIX] replace return value type for syscall

Change-Id: Icd7a5202d48512d61588934e4e6f6989d64cefa6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] add calculation energy for LCD
Vyacheslav Cherkashin [Fri, 15 Nov 2013 17:18:52 +0000 (21:18 +0400)]
[IMPROVE] add calculation energy for LCD

Change-Id: Iba5a1f4ed707e42a007e6b0cda706d8239ed2379
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] now struct tm_stat array has dynamic size
Vyacheslav Cherkashin [Fri, 15 Nov 2013 16:48:38 +0000 (20:48 +0400)]
[IMPROVE] now struct tm_stat array has dynamic size

Change-Id: I3a9ed9b9fc6aa30d2a9d12e7ed63c0875f0edf4e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] energy: add debugfs for LCD
Vyacheslav Cherkashin [Fri, 15 Nov 2013 12:37:19 +0000 (16:37 +0400)]
[IMPROVE] energy: add debugfs for LCD

Change-Id: I72dd34dcbf80bd9641b14c442801f4c337836dad
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[REFACTOR] use rational struct in debugfs_energy
Vyacheslav Cherkashin [Fri, 15 Nov 2013 11:29:37 +0000 (15:29 +0400)]
[REFACTOR] use rational struct in debugfs_energy

Change-Id: Ic2835bbf487e5cc5c8e9b47e6f37bd42d19598a3
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] add rational_debugfs in swap_energy module
Vyacheslav Cherkashin [Fri, 15 Nov 2013 11:21:54 +0000 (15:21 +0400)]
[IMPROVE] add rational_debugfs in swap_energy module

Change-Id: Id6711d8adf3413893b42ced9c44078513622a171
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[FIX] building with kernels > 3.10.0
Alexander Aksenov [Mon, 18 Nov 2013 08:00:33 +0000 (12:00 +0400)]
[FIX] building with kernels > 3.10.0

Change-Id: I9a6f78156ba3fb82ea6f68f0de9fc289fee4dd9d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] remove mistyping
Vyacheslav Cherkashin [Thu, 14 Nov 2013 13:09:20 +0000 (17:09 +0400)]
[FIX] remove mistyping

Change-Id: I27e14f46630d3f2902d5616d6c8825eb2dfefee8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[FIX] wrong debug print in get_u64
Vitaliy Cherepanov [Thu, 14 Nov 2013 11:12:19 +0000 (15:12 +0400)]
[FIX] wrong debug print in get_u64

Change-Id: I9cb4ce0fec5f5275cd979c92c4672c41f3591ea4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
11 years ago[FIX] random return value in register_lcd()
Vyacheslav Cherkashin [Thu, 14 Nov 2013 10:23:09 +0000 (14:23 +0400)]
[FIX] random return value in register_lcd()

Change-Id: If30786176ba026240912c46d347665767b70d0fa
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] lcd energy calculation
Vyacheslav Cherkashin [Thu, 14 Nov 2013 08:41:34 +0000 (12:41 +0400)]
[IMPROVE] lcd energy calculation

Change-Id: I326d9c506308d0ad0d20c6933f292aacd3970b96
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[REFACTOR] use tm_stat for CPU time calculation
Vyacheslav Cherkashin [Wed, 13 Nov 2013 10:57:28 +0000 (14:57 +0400)]
[REFACTOR] use tm_stat for CPU time calculation

Change-Id: Ibdacfd24d4b5e9bd95faab4bda70da606379a1cc
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] add tm_stat struct
Vyacheslav Cherkashin [Tue, 12 Nov 2013 14:07:52 +0000 (18:07 +0400)]
[IMPROVE] add tm_stat struct

this struct is used for counting time intervals

Change-Id: Ib237bea84e12dc7645866ec702678103aee3e4ff
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] now modules are buildable with tizen 3.10 kernel
Alexander Aksenov [Tue, 12 Nov 2013 08:48:10 +0000 (12:48 +0400)]
[IMPROVE] now modules are buildable with tizen 3.10 kernel

Added generic swap_do_mmap() function;
structs hlist_node, that are swap_hlist_for_each_entry_* second arguments,
are declared with DECLARE_NODE_PTR_FOR_HLIST.

Change-Id: Id9e264c49987816d3d1bd93eb056c94000d0f68a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[PROTO] add return type for exit_event()
Vyacheslav Cherkashin [Wed, 6 Nov 2013 06:09:33 +0000 (10:09 +0400)]
[PROTO] add return type for exit_event()

Change-Id: I29093f4d50cfb0d84981cee9a65b87b7550dbb25
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] add support lcd MARU
Vyacheslav Cherkashin [Mon, 11 Nov 2013 14:02:28 +0000 (18:02 +0400)]
[IMPROVE] add support lcd MARU

Change-Id: I3c65a16598b777a023d8ddabe2dc3d237c7b497a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] new struct lcd_base
Vyacheslav Cherkashin [Mon, 11 Nov 2013 12:58:17 +0000 (16:58 +0400)]
[IMPROVE] new struct lcd_base

not support S6E8AA0 and MARU

Change-Id: I2366a868c6d854d4b21cdb1833baed4d3f5ece5b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] new Kbuild for swap_energy module
Vyacheslav Cherkashin [Fri, 8 Nov 2013 11:20:57 +0000 (15:20 +0400)]
[IMPROVE] new Kbuild for swap_energy module

implement generation defines
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Change-Id: I800e3557c54fc1ea09834c29cc26547b71820c91

11 years ago[STYLE] build.sh
Alexander Aksenov [Mon, 11 Nov 2013 11:23:07 +0000 (15:23 +0400)]
[STYLE] build.sh

Change-Id: Ie41b10f2b823dc7ed333eccef521e58445c4a986
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] remove redundant includes
Alexander Aksenov [Mon, 11 Nov 2013 11:20:26 +0000 (15:20 +0400)]
[FIX]  remove redundant includes

Remove redundant includes for energy.

Change-Id: I307d1fcc23dc4a4249c6de8ad628a7dd86721af5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] change paths and remove redundant includes in us_manager
Alexander Aksenov [Mon, 11 Nov 2013 11:18:08 +0000 (15:18 +0400)]
[FIX] change paths and remove redundant includes in us_manager

Change absolute paths to relative ones in us_manager #include.
Remove redundant includes for us_manager

Change-Id: I2af613abec3b5eeebd86c487331ea4a48c5dca37
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] arch includes for kprobe, uprobe, ks_{manager,feature}
Alexander Aksenov [Tue, 12 Nov 2013 08:08:47 +0000 (12:08 +0400)]
[FIX] arch includes for kprobe, uprobe, ks_{manager,feature}

Change-Id: Ib22fded7e99917399baf5df8ebd104d37ad50b31
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] change paths in uprobe
Alexander Aksenov [Tue, 12 Nov 2013 08:07:33 +0000 (12:07 +0400)]
[FIX] change paths in uprobe

Change-Id: I1ff5f436963e4548bf58c535cb729065107e9e20
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] change paths and remove redundant includes in ks_manager
Alexander Aksenov [Mon, 11 Nov 2013 10:46:45 +0000 (14:46 +0400)]
[FIX] change paths and remove redundant includes in ks_manager

Change absolute paths to relative ones in ks_manager #include.
Remove redundant includes for ks_manager

Change-Id: Ib84b2e2e59691301706644820afa4662ea5b09f5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] change paths and remove redundant includes in ks_features
Alexander Aksenov [Mon, 11 Nov 2013 10:44:20 +0000 (14:44 +0400)]
[FIX] change paths and remove redundant includes in ks_features

Change absolute paths to relative ones in kprobe #include.
Remove redundant includes for kprobe

Change-Id: I606127ecfcad8290a093905dff138b78b57041a4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] change paths and remove redundant includes in kprobe
Alexander Aksenov [Mon, 11 Nov 2013 10:39:12 +0000 (14:39 +0400)]
[FIX] change paths and remove redundant includes in kprobe

Change absolute paths to relative ones in kprobe #include.
Remove redundant includes for kprobe

Change-Id: I9f3041cddf12783581ed7e5d17bf29f60bb4a8d7
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] fix paths in writer for commit aed8104d1543fd29ffd7d48a765ae4f952af5fbf
Alexander Aksenov [Tue, 12 Nov 2013 07:35:20 +0000 (11:35 +0400)]
[FIX] fix paths in writer for commit aed8104d1543fd29ffd7d48a765ae4f952af5fbf

Change-Id: Iab28906c928b94b68e623bb16c0df9ba6aa844fd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] remove redundant includes
Alexander Aksenov [Mon, 11 Nov 2013 08:33:50 +0000 (12:33 +0400)]
[FIX] remove redundant includes

Remove redundant includes for buffer, driver, writer, sampler, parser

Change-Id: I2a051836e607d3d4ed945690c4efcc20044d41ba
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] wrong parameters
Vyacheslav Cherkashin [Mon, 11 Nov 2013 09:02:23 +0000 (13:02 +0400)]
[FIX] wrong parameters

Change-Id: Iced9d6fd6a7a571cb1cb40ce0f64bac4e4a1e470
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] add function to get arguments in US
Vyacheslav Cherkashin [Mon, 11 Nov 2013 06:37:03 +0000 (10:37 +0400)]
[IMPROVE] add function to get arguments in US

Change-Id: Iea141d4ec2aa4b08f682f10ee9b652cbf7864f84
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[FIX] add end string symbol '\0'
Vyacheslav Cherkashin [Fri, 8 Nov 2013 11:57:26 +0000 (15:57 +0400)]
[FIX] add end string symbol '\0'

for reading values from sysfs

Change-Id: I572b83f737b6ea551c8c46a4bfcc2040d179ee7c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] change absolute paths to relative ones
Alexander Aksenov [Mon, 11 Nov 2013 08:30:38 +0000 (12:30 +0400)]
[IMPROVE] change absolute paths to relative ones

Change-Id: Id69e6af816feafebe0302e0786f4547a6b430278
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] warnings in swap_driver
Alexander Aksenov [Mon, 11 Nov 2013 07:51:51 +0000 (11:51 +0400)]
[FIX] warnings in swap_driver

build it with -Werror

Change-Id: I5fc7d233d89088d32ffdccfa45e674b502777cc1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[REFACTOR] separate definitions and kernel operations in buffer
Alexander Aksenov [Mon, 11 Nov 2013 07:42:47 +0000 (11:42 +0400)]
[REFACTOR] separate definitions and kernel operations in buffer

Change-Id: I602a03b4f4bec4d95632ad5b30040d7057c7cbbb
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] warnings in swap_sampler
Alexander Aksenov [Fri, 8 Nov 2013 16:07:01 +0000 (20:07 +0400)]
[FIX] warnings in swap_sampler

build it with -Werror

Change-Id: If78febd7b0207b785cf889070f2fb8ad3af52a22
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[IMPROVE] Add owner to all file_operations structs
Alexander Aksenov [Thu, 7 Nov 2013 14:45:56 +0000 (18:45 +0400)]
[IMPROVE] Add owner to all file_operations structs

Now kernel manages our modules as it should: trying to remove modules
when the reference count is not zero leads to fail, kernel itself
manages the number of processes currently using this module.

Change-Id: Id018b280f5f8823b766bfbd8ba9703d8ebec1396
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[FIX] warnings in swap_buffer
Alexander Aksenov [Fri, 8 Nov 2013 16:03:10 +0000 (20:03 +0400)]
[FIX] warnings in swap_buffer

build it with -Werror

Change-Id: Ieb593446051324ae5e389d127342fe73e0bc87d7
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
11 years ago[REFACTOR] remove arch code for obtain arguments
Vyacheslav Cherkashin [Fri, 1 Nov 2013 13:30:17 +0000 (17:30 +0400)]
[REFACTOR] remove arch code for obtain arguments

Change-Id: Ied0db53791988c165a15a5bb62d8f93ef428829a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[CLEAN] remove unnecessary Makefiles
Nikita Kalyazin [Fri, 8 Nov 2013 06:15:39 +0000 (10:15 +0400)]
[CLEAN] remove unnecessary Makefiles

Change-Id: I4c837bdd9885ee0465c34242ddc3191423c7315b
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
11 years ago[IMPROVE] MODVERSIONS kernel option support
Anastasia Lyupa [Thu, 7 Nov 2013 15:22:38 +0000 (19:22 +0400)]
[IMPROVE] MODVERSIONS kernel option support

Add KBUILD_EXTRA_SYMBOLS
to all Kbuilds and change modules build order.

Change-Id: Iff7ccdf0752bfc563d3708e46a27fa967c1b5679
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
11 years ago[FIX] warnings in swap_message_parser
Anastasia Lyupa [Wed, 6 Nov 2013 13:03:51 +0000 (17:03 +0400)]
[FIX] warnings in swap_message_parser

build it and swap_energy with -Werror

Change-Id: Ic4573509b1d2230829933dd86b91a532cc6a6b70
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
11 years ago[FIX] warnings in swap_us_manager
Anastasia Lyupa [Wed, 6 Nov 2013 08:25:02 +0000 (12:25 +0400)]
[FIX] warnings in swap_us_manager

build it with -Werror

Change-Id: Ieb752474cf0cb56ebbba35c5fc38209d558ef257
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
11 years ago[FIX] warnings in swap_ks_features
Anastasia Lyupa [Wed, 6 Nov 2013 08:52:15 +0000 (12:52 +0400)]
[FIX] warnings in swap_ks_features

build it with -Werror

Change-Id: I115005ea99dea06d3e2159f18d3a3ada8bcfae7f
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
11 years ago[FIX] warnings in swap_uprobe
Anastasia Lyupa [Wed, 6 Nov 2013 08:14:24 +0000 (12:14 +0400)]
[FIX] warnings in swap_uprobe

build it with -Werror

Change-Id: I254ad6d921e72e347047ec0da5f045cbc444581b
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
11 years ago[FIX] warnings in swap_writer
Anastasia Lyupa [Wed, 6 Nov 2013 07:40:04 +0000 (11:40 +0400)]
[FIX] warnings in swap_writer

build it with -Werror

Change-Id: I4bfec0d589f796655ddfabe98946fbac89a38fd7
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
11 years ago[FIX] warnings in swap_ks_manager
Anastasia Lyupa [Wed, 6 Nov 2013 07:55:18 +0000 (11:55 +0400)]
[FIX] warnings in swap_ks_manager

build it with -Werror

it depends on fix to swap_kprobe

Change-Id: I5fcc556752a156989dfe5cc28e0389b47d4bda62
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
11 years ago[FIX] warnings in swap_kprobe
Anastasia Lyupa [Wed, 6 Nov 2013 07:48:44 +0000 (11:48 +0400)]
[FIX] warnings in swap_kprobe

build it with -Werror

Change-Id: I8ac9bc775675c0faed0ffbde5d866da26936df6b
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
11 years ago[PROTO] add map/unmap message
Vyacheslav Cherkashin [Fri, 1 Nov 2013 11:23:25 +0000 (15:23 +0400)]
[PROTO] add map/unmap message

Change-Id: Ib549cc24e90d35e8bcbb0823d832cda08d9382b4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[IMPROVE] add function to get arguments in KS
Vyacheslav Cherkashin [Thu, 31 Oct 2013 12:14:14 +0000 (16:14 +0400)]
[IMPROVE] add function to get arguments in KS

Change-Id: I73f6a1c9d11471d3ca13e7889eace5069bababd0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
11 years ago[FIX] safe US handlers
Vyacheslav Cherkashin [Wed, 30 Oct 2013 12:48:32 +0000 (16:48 +0400)]
[FIX] safe US handlers

Check ri->rp on NULL.  It is reset to zero, when unregister uretprobe

Change-Id: I5fda01b4a2d71eccf7cdadba699cb2ec0493f19d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>