kernel/swap-modules.git
10 years ago[FIX] buffer put in case of erroneous args packing (entry/exit) 55/21355/3
Vasiliy Ulyanov [Mon, 19 May 2014 09:00:36 +0000 (13:00 +0400)]
[FIX] buffer put in case of erroneous args packing (entry/exit)

Change-Id: If50612dc3a2b9c26126b74ddcc37d23872419c09
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] tasks file 09/21609/2
Vitaliy Cherepanov [Fri, 23 May 2014 11:18:01 +0000 (15:18 +0400)]
[FIX] tasks file

add seek able
fix problem with symbol at end of string

Change-Id: I293b0151574dd29e229152e35835170da114c070
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FEATURE] Add custom events support (with vargs fmt) 39/21539/4
Vasiliy Ulyanov [Tue, 18 Mar 2014 08:07:10 +0000 (12:07 +0400)]
[FEATURE] Add custom events support (with vargs fmt)

Change-Id: Iacaa884fa73be592f4cdef955e7bc6a6becc1f2c
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[PROTO] add task->comm monitoring functionality 28/21028/2
Vyacheslav Cherkashin [Wed, 14 May 2014 13:55:49 +0000 (17:55 +0400)]
[PROTO] add task->comm monitoring functionality

Change-Id: Ie6197b2f38e6b98d9bb58d82ac85399a1f65ee60
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] Energy: replace export.h dependency 17/21617/2
Alexander Aksenov [Fri, 23 May 2014 13:58:45 +0000 (17:58 +0400)]
[FIX] Energy: replace export.h dependency

Change-Id: I9205e679bab03b41b0b2f9e68d55470b735b1ece
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Build: arch dependent .spec 85/21485/1
Alexander Aksenov [Wed, 21 May 2014 11:22:17 +0000 (15:22 +0400)]
[IMPROVE] Build: arch dependent .spec

Change-Id: I7c77c980d2f3191e1a424c1c526d1a062ca014f6
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] deadlock on modules unloading with one active CPU 33/20733/1
Vasiliy Ulyanov [Mon, 12 May 2014 12:40:36 +0000 (16:40 +0400)]
[FIX] deadlock on modules unloading with one active CPU

Change-Id: Iec7f8d5422fd61e720635bf6445928788900f128
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[REFACTOR] change prefix dbi* -> swap* 22/20522/1
Vyacheslav Cherkashin [Thu, 8 May 2014 12:32:39 +0000 (16:32 +0400)]
[REFACTOR] change prefix dbi* -> swap*

Change-Id: I01f9f7bef16c231ac2c7031424174ceba52b9296
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[REFACTOR] remove unnecessary functions declaration 63/20463/1
Vyacheslav Cherkashin [Wed, 7 May 2014 15:52:04 +0000 (19:52 +0400)]
[REFACTOR] remove unnecessary functions declaration

from header kprobe/dbi_kprobes.h

Change-Id: I352e6493530cd8f170f2a933fb79dbc4f16f3478
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[REFACTOR] slots manager 61/20461/1
Vyacheslav Cherkashin [Wed, 7 May 2014 13:47:19 +0000 (17:47 +0400)]
[REFACTOR] slots manager

to fix names conflict when building in kernel

Change-Id: I2f66053243fc5a47be7276a02175852aa034f041
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] name conflict for building with kernel 59/20359/2
Vyacheslav Cherkashin [Mon, 5 May 2014 11:56:29 +0000 (15:56 +0400)]
[FIX] name conflict for building with kernel

Change-Id: I612015e2f9974184a94aacb0d4b5f95ad44052f5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[CLEAN] remove unnecessary file 55/20355/2
Vyacheslav Cherkashin [Mon, 5 May 2014 07:08:50 +0000 (11:08 +0400)]
[CLEAN] remove unnecessary file

Change-Id: I0bd4307324b3584c12933b1b417479e23bbbb320
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] non boot cpus shutting down on uniprocessor devices 60/20360/1
Vasiliy Ulyanov [Mon, 5 May 2014 11:42:35 +0000 (15:42 +0400)]
[FIX] non boot cpus shutting down on uniprocessor devices

Change-Id: I7a4c5ca32d5e8b6f15aacf6f6d0875979faeee36
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[IMPROVE] Build: spec file for separate modules 64/20264/1
Alexander Aksenov [Wed, 30 Apr 2014 08:33:04 +0000 (12:33 +0400)]
[IMPROVE] Build: spec file for separate modules

Change-Id: Ib363f6ec10e1e0c33cf08cd81d6f3829fc3bbfdc
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Build: add strip to build script 63/20263/1
Alexander Aksenov [Wed, 30 Apr 2014 08:20:55 +0000 (12:20 +0400)]
[IMPROVE] Build: add strip to build script

Change-Id: I093b977a0b7c82b63e529a1eecbc11c2cc633d3c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] Add missing swap_ksyms module to the list 60/20260/1
Vasiliy Ulyanov [Wed, 30 Apr 2014 07:48:25 +0000 (11:48 +0400)]
[FIX] Add missing swap_ksyms module to the list

Change-Id: I59c33846149313229315e57bd768a1a3dac7f921
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years agoMerge "[IMPROVE] Gbs: add spec file" into prod_rel
Dmitry Kovalenko [Wed, 30 Apr 2014 05:51:30 +0000 (22:51 -0700)]
Merge "[IMPROVE] Gbs: add spec file" into prod_rel

10 years ago[FIX] ARM: add mandatory lr check on uretprobes disarming 08/20208/2
Vasiliy Ulyanov [Tue, 29 Apr 2014 10:04:35 +0000 (14:04 +0400)]
[FIX] ARM: add mandatory lr check on uretprobes disarming

Change-Id: I82cc9b63b6a338760dc332333e9b8659af878b71
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[CLEAN] remove unnecessary prints 84/20184/2
Vasiliy Ulyanov [Tue, 29 Apr 2014 05:57:00 +0000 (09:57 +0400)]
[CLEAN] remove unnecessary prints

These prints produce a lot of useless output

Change-Id: Ibaa811afbc538ff176ed4d37299f68c240c12ca9
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] remove unecessary write to userspace 83/20183/2
Vasiliy Ulyanov [Tue, 29 Apr 2014 05:10:26 +0000 (09:10 +0400)]
[FIX] remove unecessary write to userspace

Change-Id: Ife49fac242e36ab4e6bf3958076e353717150869
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] race condition on probes disarming (at stop) 68/20068/5
Vasiliy Ulyanov [Fri, 25 Apr 2014 15:46:44 +0000 (19:46 +0400)]
[FIX] race condition on probes disarming (at stop)

As a workaround we shut down all CPUs except for the boot one and keep
the cpu_add_remove_lock held until we are done.

Change-Id: I4da16240d963a0cdbdd8b0be0507c6941c41ee69
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[IMPROVE] Gbs: add spec file 30/20230/1
Alexander Aksenov [Tue, 29 Apr 2014 14:35:08 +0000 (18:35 +0400)]
[IMPROVE] Gbs: add spec file

Change-Id: Ib9ad9c5991e96956845550751edcce71134532bb
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] correct search vma at address 82/19882/2
Vyacheslav Cherkashin [Mon, 21 Apr 2014 18:16:07 +0000 (22:16 +0400)]
[FIX] correct search vma at address

Change-Id: Ia13c17c514b5c180f11cd217010aca8723c8f3d7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] ARM: workaround for already running 81/19881/3
Vyacheslav Cherkashin [Mon, 21 Apr 2014 18:14:26 +0000 (22:14 +0400)]
[IMPROVE] ARM: workaround for already running

Change-Id: Iffef090b7b09e4c2c7d612ea8c5492e0492e7fb7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] call un/kmap() if non-atomic context 36/19836/3
Vyacheslav Cherkashin [Mon, 21 Apr 2014 11:35:01 +0000 (15:35 +0400)]
[FIX] call un/kmap() if non-atomic context

Change-Id: I4d7e93dba7cfc6731e6b88f8a7a39caa3da5e88a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] ARM: create kjumper 08/19808/6
Vyacheslav Cherkashin [Fri, 18 Apr 2014 14:24:04 +0000 (18:24 +0400)]
[IMPROVE] ARM: create kjumper

Change-Id: Ib3ca3a0491175205de07f2c2c02e21d46ed38cea
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] race condition with US tramps 38/19838/2
Vasiliy Ulyanov [Mon, 21 Apr 2014 12:30:49 +0000 (16:30 +0400)]
[FIX] race condition with US tramps

Add flushing after writing trampoline into userspace

Change-Id: I20fafbe019eba7c8dc6369a00e72aeded39e15b7
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] ARM: map US insn slots at uprobe registration 33/19333/3
Vasiliy Ulyanov [Thu, 10 Apr 2014 11:33:11 +0000 (15:33 +0400)]
[FIX] ARM: map US insn slots at uprobe registration

User pages mapping moved out of exception context

Change-Id: I8239d0ee2d01fad137988d08ba696b770f978ae2
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[IMPROVE] ARM: move uprobes installation out of exception 34/19534/9
Vyacheslav Cherkashin [Mon, 14 Apr 2014 14:53:21 +0000 (18:53 +0400)]
[IMPROVE] ARM: move uprobes installation out of exception

Change-Id: I8e200847a84d2016fb81e007befcdd01952c4797
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] ARM: create jumper 77/19477/5
Vyacheslav Cherkashin [Sat, 12 Apr 2014 14:21:00 +0000 (18:21 +0400)]
[IMPROVE] ARM: create jumper

Change-Id: I6db3078573ba35773ca78431d9c6b1d95679231b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] Error check on uprobes registration 55/19555/1
Vasiliy Ulyanov [Tue, 15 Apr 2014 08:09:59 +0000 (12:09 +0400)]
[FIX] Error check on uprobes registration

Change-Id: Ifa0dfdede195232405523d17e2f3bf11e0e07df4
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] 'repz ret' instruction instrumentation 42/19442/1
Vasiliy Ulyanov [Fri, 11 Apr 2014 14:34:19 +0000 (18:34 +0400)]
[FIX] 'repz ret' instruction instrumentation

Change-Id: I721716e5d45df9fe166cd4be4464081b31cf8932
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] synchronization in dbi_disarm_urp_inst_for_task() 68/19268/3
Vasiliy Ulyanov [Wed, 9 Apr 2014 14:13:09 +0000 (18:13 +0400)]
[FIX] synchronization in dbi_disarm_urp_inst_for_task()

Change-Id: I5028441ac47280c4823d12c289734f4670881f3b
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] Remove pending uretprobes in mm_release() handler 67/19267/2
Vasiliy Ulyanov [Wed, 9 Apr 2014 13:49:05 +0000 (17:49 +0400)]
[FIX] Remove pending uretprobes in mm_release() handler

Fixed an issue when some uretprobe instances still remain
if the task (thread) is killed by a signal while residing
in the instrumented function.

Change-Id: I4a223e0a7a29c5ca6acfe8b38b65c4ba207fa2f7
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] add uretprobe null check (ri->rp) 84/19084/2
Vyacheslav Cherkashin [Mon, 7 Apr 2014 10:27:42 +0000 (14:27 +0400)]
[FIX] add uretprobe null check (ri->rp)

in trampoline_uprobe_handler()

Change-Id: I5d6d7935f369349f06bcc864bd82f15ca862d217
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] CBZ branch displacement calculation 50/19150/1
Vasiliy Ulyanov [Tue, 8 Apr 2014 05:48:40 +0000 (09:48 +0400)]
[FIX] CBZ branch displacement calculation

 - zero out original branch displacement: imm5 = 0; i = 0;
 - replace it with 8 bytes offset in execbuf: imm5 = 0b00010

Change-Id: Ib59d362964845516000637f0a4eb295ad211d221
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] optimize nested call US instrumentation 50/19050/2
Vyacheslav Cherkashin [Fri, 4 Apr 2014 13:54:56 +0000 (17:54 +0400)]
[FIX] optimize nested call US instrumentation

Change-Id: Ie63b7175621a6b0cf3186f0a598ff5b874ed9e31
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] US probes removal synchronization 34/19034/3
Vyacheslav Cherkashin [Fri, 4 Apr 2014 09:56:26 +0000 (13:56 +0400)]
[FIX] US probes removal synchronization

Change-Id: Iacb0cafaa55925e218451e2890ba3249aba23914
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] Buffer: disabling irqs in the same func 65/18865/4
Alexander Aksenov [Wed, 2 Apr 2014 07:25:06 +0000 (11:25 +0400)]
[FIX] Buffer: disabling irqs in the same func

Now subbuffer spinlock and irqs disabling for
looking for this subbuffer are separated

Change-Id: I0018b3739a06905f1321287fe5ee7ccf1645d7d2
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[REFACTOR] us_manager: install helper probes 73/18973/2
Vyacheslav Cherkashin [Thu, 3 Apr 2014 14:46:04 +0000 (18:46 +0400)]
[REFACTOR] us_manager: install helper probes

Change-Id: I903067cc7aa3758633b7b6730a4531c434be0ac7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] unregister kretprobe top/bottom interface 72/18972/2
Vyacheslav Cherkashin [Thu, 3 Apr 2014 06:51:06 +0000 (10:51 +0400)]
[IMPROVE] unregister kretprobe top/bottom interface

Change-Id: I313c49ee1b74ddf09e461ada43ce10962715ec00
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] instrumentation for CLZ instruction 49/18949/3
Vasiliy Ulyanov [Thu, 3 Apr 2014 11:09:07 +0000 (15:09 +0400)]
[FIX] instrumentation for CLZ instruction

Change-Id: I7a980d4924030225dd2dedd5a0a817a7585813d6
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] race condition, when stopped US instrumentation 24/18724/2
Vyacheslav Cherkashin [Sat, 29 Mar 2014 16:36:33 +0000 (20:36 +0400)]
[FIX] race condition, when stopped US instrumentation

Change-Id: I2f2a85b1b1c6b53215f0990e19ccc32df2f1eb7a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] userspace instrumentation for CBZ instruction 06/18906/1
Vasiliy Ulyanov [Wed, 2 Apr 2014 14:26:56 +0000 (18:26 +0400)]
[FIX] userspace instrumentation for CBZ instruction

Change-Id: If75eb74d2299193ce3a30ad964227cbb0612b295
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years agoMerge "[FIX] smp_processor_id bug message" into prod_rel
Dmitry Kovalenko [Sat, 29 Mar 2014 07:54:16 +0000 (00:54 -0700)]
Merge "[FIX] smp_processor_id bug message" into prod_rel

10 years ago[FIX] wrong print in dbi_unregister_kretprobe_top() 52/18652/2
Vasiliy Ulyanov [Thu, 27 Mar 2014 12:23:40 +0000 (16:23 +0400)]
[FIX] wrong print in dbi_unregister_kretprobe_top()

Change-Id: If2c27d35d84b745e61fc80a4bc98ee2a4202884e
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] multithread message write 48/18648/2
Vyacheslav Cherkashin [Thu, 27 Mar 2014 10:33:43 +0000 (14:33 +0400)]
[FIX] multithread message write

file:
    /sys/kernel/debug/swap/writer/raw

Change-Id: I2b499abd9c6298e9cf53a936c7c44cea34a6f4ab
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[FIX] missing syscalls issue 51/18651/1
Vasiliy Ulyanov [Thu, 27 Mar 2014 08:58:31 +0000 (12:58 +0400)]
[FIX] missing syscalls issue

Change-Id: If08158bd4e62608d1a97877eb4bc6a157a6e90c9
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] smp_processor_id bug message 45/18645/1
Vasiliy Ulyanov [Wed, 26 Mar 2014 12:43:40 +0000 (16:43 +0400)]
[FIX] smp_processor_id bug message

Change-Id: If006f3f3a78f80435ea0e22b32e66585906dcc3d
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FIX] Driver: add maximum subbuffer size 60/15260/15
Alexander Aksenov [Fri, 17 Jan 2014 11:34:27 +0000 (15:34 +0400)]
[FIX] Driver: add maximum subbuffer size

Change-Id: Ia39eb9d1d3d5f2b2284f92a5691b87a70ab236df
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Energy coeffs for reference device 12/17212/5
Vasiliy Ulyanov [Tue, 4 Mar 2014 08:50:46 +0000 (12:50 +0400)]
[IMPROVE] Energy coeffs for reference device

Change-Id: I479e6f6354f1d3bd5cd2d56b168859567cc641c6
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[IMPROVE] Energy module CPU time calculation 11/17211/5
Vasiliy Ulyanov [Tue, 4 Mar 2014 08:47:09 +0000 (12:47 +0400)]
[IMPROVE] Energy module CPU time calculation

- added non-boot CPU core coeff
- CPU stats are now updated when they are read from debugfs entry
- Idle time is calculated only for CPU[0]

Change-Id: Ib932feb9a22bd6c1d94fc378a767b9a7b7e58050
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[IMPROVE] Parser: implement system-wide instrumentation 51/16751/3
Alexander Aksenov [Mon, 24 Feb 2014 11:52:49 +0000 (15:52 +0400)]
[IMPROVE] Parser: implement system-wide instrumentation

To run it, do the following:

1. Set app type to 'App is already running'
2. Set app id to '\0' string
3. Set app path to '\0' string
4. Set all probes you want to be installed as library ones
5. Run SWAP

Change-Id: Ie0ebe941970caa858bf413c293dc653408902ff1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Us_manager: implement 'dumb' filter 50/16750/3
Alexander Aksenov [Mon, 24 Feb 2014 11:50:15 +0000 (15:50 +0400)]
[IMPROVE] Us_manager: implement 'dumb' filter

All apps passes through this filter. Works like there is no filter

Change-Id: Iacfc58cfa8f8c72c9d74facf05d5ce9b237fd6bf
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] branch instrumentation for KS 55/14155/3
Vyacheslav Cherkashin [Tue, 14 Jan 2014 10:20:30 +0000 (14:20 +0400)]
[FIX] branch instrumentation for KS

Change-Id: I1f7f3ea5abe5ff318b2bda83827a6d5967936ba1
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[REFACTOR] Ksyms: move module declarations to separate file 73/14973/6
Alexander Aksenov [Tue, 14 Jan 2014 09:30:37 +0000 (13:30 +0400)]
[REFACTOR] Ksyms: move module declarations to separate file

Change-Id: I1bf303a206f849bceb977a44585b27d5edd9c21e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Us_manager: correct searching for copy_process 67/14967/8
Alexander Aksenov [Tue, 14 Jan 2014 07:45:59 +0000 (11:45 +0400)]
[IMPROVE] Us_manager: correct searching for copy_process

via swap_ksyms_substr

Change-Id: Ic1fc930912a2294eca1ebdb5f7e400b99b6f4fa9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] Ksyms: Fix warnings 43/14943/8
Alexander Aksenov [Tue, 14 Jan 2014 07:38:26 +0000 (11:38 +0400)]
[FIX] Ksyms: Fix warnings

Change-Id: Ia3f8522b9967047fd411ad7ba2f17168e2c61d20
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Ksyms: Implement searching symbols 42/14942/9
Alexander Aksenov [Tue, 14 Jan 2014 07:20:53 +0000 (11:20 +0400)]
[IMPROVE] Ksyms: Implement searching symbols

with kallsyms_on_each_symbol()

Change-Id: I6e2211b6beca9d3b4b3ba4799009a87acf88c01b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] add .gitignore file 94/13994/5
Nikita Kalyazin [Thu, 19 Dec 2013 20:02:42 +0000 (00:02 +0400)]
[IMPROVE] add .gitignore file

It is borrowed from tizen kernel sources.
Some extra lines added, some lines removed.

Change-Id: I49a37d24b56a22a38a4e129d5ac3d9f0065cd724
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] Driver: netlink build depend on config 60/17360/2
Alexander Aksenov [Thu, 6 Mar 2014 13:31:27 +0000 (17:31 +0400)]
[FIX] Driver: netlink build depend on config

Change-Id: I713049317fe12817eec65687a231d6d1da198e3e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] loading swap_energy.ko 12/16012/3
Vyacheslav Cherkashin [Tue, 4 Feb 2014 16:30:59 +0000 (20:30 +0400)]
[FIX] loading swap_energy.ko

ignoring unsupported LCD

Change-Id: I2d68d5991c47d90977b7cda3d555b3a3fc620d0a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[PROTO] send MSG_TERMINATE from KS 15/15715/3
Vyacheslav Cherkashin [Mon, 27 Jan 2014 13:17:06 +0000 (17:17 +0400)]
[PROTO] send MSG_TERMINATE from KS

add terminate_msg()

Change-Id: If9dc9e2b0cb14342b1db985010055766179ef438
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
10 years ago[IMPROVE] Us_manager: implement tasks list in debugfs 20/15720/9
Alexander Aksenov [Mon, 27 Jan 2014 14:03:02 +0000 (18:03 +0400)]
[IMPROVE] Us_manager: implement tasks list in debugfs

Change-Id: I656fb0e42009f3f6877bceb2b4f907dc15c6b914
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Driver: implement pause/continue msg send 20/15620/4
Alexander Aksenov [Thu, 23 Jan 2014 12:11:46 +0000 (16:11 +0400)]
[IMPROVE] Driver: implement pause/continue msg send

Change-Id: I0244e64e6d5d0e1bde9ade4040118151ebf48c63
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Driver: implement kernel -> user connect 19/15619/4
Alexander Aksenov [Wed, 22 Jan 2014 11:27:26 +0000 (15:27 +0400)]
[IMPROVE] Driver: implement kernel -> user connect

Based on netlink

Change-Id: Id777adfb6f4dbc7689f63aa10eb8f6cdf7a8cb5c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Buffer: add low and enough subbuffers callbacks to the buffer 37/14137/3
Alexander Aksenov [Tue, 24 Dec 2013 10:31:32 +0000 (14:31 +0400)]
[IMPROVE] Buffer: add low and enough subbuffers callbacks to the buffer

Change-Id: I2927d5a8f48dddc35f00b491b038086f8a088341
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years agoMerge "[REFACTOR] Buffer: move getting next queue element into separate function"
Vyacheslav Cherkashin [Thu, 27 Feb 2014 12:39:15 +0000 (04:39 -0800)]
Merge "[REFACTOR] Buffer: move getting next queue element into separate function"

10 years agoMerge changes I3a15fd6e,Iee675593
Vyacheslav Cherkashin [Thu, 27 Feb 2014 12:37:58 +0000 (04:37 -0800)]
Merge changes I3a15fd6e,Iee675593

* changes:
  [REFACTOR] Buffer: struct queue -> struct queue_t
  [IMPROVE] Buffer: replace get_full_buffers_count() with get_readable_buf_cnt()

10 years agoMerge "[IMPROVE] Buffer: add counting in lists"
Vyacheslav Cherkashin [Thu, 27 Feb 2014 12:37:12 +0000 (04:37 -0800)]
Merge "[IMPROVE] Buffer: add counting in lists"

10 years agoMerge "[IMPROVE] Buffer: implement initialization with structure"
Vyacheslav Cherkashin [Thu, 27 Feb 2014 12:35:08 +0000 (04:35 -0800)]
Merge "[IMPROVE] Buffer: implement initialization with structure"

10 years ago[FIX] Kprobe: replace kretprobe_lock spinlocks 06/15906/1 dev/aarch64
Alexander Aksenov [Wed, 29 Jan 2014 13:18:59 +0000 (17:18 +0400)]
[FIX] Kprobe: replace kretprobe_lock spinlocks

Now all calls of dbi_unregister_kretprobe_top are inside

Change-Id: I5b62df36ae5318f9cc8484d3c724fff94989c8ed
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] Kprobe: make kretprobe_lock static 05/15905/1
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 39/15539/2
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 54/15554/1
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 04/14104/6
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 03/14103/7
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 63/15263/1
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() 59/15259/1
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 15/14115/4
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 46/14046/5
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 45/14045/8
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 77/14977/2
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 92/13992/2
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 71/13871/4
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 49/14149/2
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 50/13850/2
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 48/13848/2
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() 42/13842/3
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 41/13841/2
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 43/13843/2
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[REFACTOR] Buffer: move getting next queue element into separate function 36/14136/2
Alexander Aksenov [Tue, 24 Dec 2013 08:23:28 +0000 (12:23 +0400)]
[REFACTOR] Buffer: move getting next queue element into separate function

Change-Id: Id40cc0ff19876fb7acceca7b92100761621ad61d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[REFACTOR] Buffer: struct queue -> struct queue_t 35/14135/2
Alexander Aksenov [Tue, 24 Dec 2013 08:03:38 +0000 (12:03 +0400)]
[REFACTOR] Buffer: struct queue -> struct queue_t

Change-Id: I3a15fd6ec4d73f140c8f3321c744e688ce506745
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Buffer: add counting in lists 33/14133/2
Alexander Aksenov [Mon, 23 Dec 2013 14:06:35 +0000 (18:06 +0400)]
[IMPROVE] Buffer: add counting in lists

Change-Id: I24b680232a5a996cd1ca4fd2b673a8a626bf4cc0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Buffer: replace get_full_buffers_count() with get_readable_buf_cnt() 34/14134/2
Alexander Aksenov [Mon, 23 Dec 2013 15:14:28 +0000 (19:14 +0400)]
[IMPROVE] Buffer: replace get_full_buffers_count() with get_readable_buf_cnt()

Also change dependent functions:
swap_buffer_flush()
driver_to_buffer_flush()

Change-Id: Iee675593df0910bf6bcaa62a7dc9964b2c197c78
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Buffer: implement initialization with structure 32/14132/2
Alexander Aksenov [Mon, 23 Dec 2013 14:04:14 +0000 (18:04 +0400)]
[IMPROVE] Buffer: implement initialization with structure

Structure adds threshold vars and callbacks

Change-Id: Ie5630e476c4dc11dd5d6422bcd14a9e093821cfe
Signed-off-by: Alexander Aksenov <a.aksenov@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>