kernel/swap-modules.git
9 years ago[FIX] Flush kretprobe instances after last put_task 52/46852/4
Vyacheslav Cherkashin [Mon, 24 Aug 2015 16:00:20 +0000 (19:00 +0300)]
[FIX] Flush kretprobe instances after last put_task

Remove rp_inst from kretprobe_inst_table when task has died

Change-Id: I97e8b7209e22f70c5c8ff3afc55704aa3ddfa87e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Add reference counting to sspt_proc 51/46851/4
Vyacheslav Cherkashin [Sat, 22 Aug 2015 18:51:10 +0000 (21:51 +0300)]
[FIX] Add reference counting to sspt_proc

To avoid usage after deletion bugs.

Change-Id: Ie2fae9eac15d3d6cd94613c10fa2b5a878045325
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Skip fixup do_page_fault for ARM 50/46850/4
Vyacheslav Cherkashin [Sat, 22 Aug 2015 16:39:37 +0000 (19:39 +0300)]
[FIX] Skip fixup do_page_fault for ARM

Change-Id: Iaf68e2554881e3cbd952a6267fb4e2f130211d2c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Preload: use get_user to obtain current linker state 49/46849/4
Vyacheslav Cherkashin [Sat, 22 Aug 2015 11:44:19 +0000 (14:44 +0300)]
[FIX] Preload: use get_user to obtain current linker state

Change-Id: I90bd7d09c6106a3324fa810d5cdc344a122a49c7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Call call_mm_release using kjump 48/46848/4
Vyacheslav Cherkashin [Thu, 20 Aug 2015 21:37:24 +0000 (00:37 +0300)]
[FIX] Call call_mm_release using kjump

Needed to move the call out of atomic context.

Change-Id: I3688814f09fa5be082fc3e5a203241b1c1eb77e0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Avoid non-boot CPUs disabling on stop 47/46847/4
Vyacheslav Cherkashin [Thu, 20 Aug 2015 21:29:35 +0000 (00:29 +0300)]
[FIX] Avoid non-boot CPUs disabling on stop

On some targets disabling non-boot CPUs may lead to errors in
kernel (i.e. crashes).

Change-Id: I09de281b9f47e40e136a9e30b77db36d95278d52
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Add spinlock for proc_list in pf_group 46/46846/4
Vyacheslav Cherkashin [Thu, 20 Aug 2015 16:44:27 +0000 (19:44 +0300)]
[FIX] Add spinlock for proc_list in pf_group

Change-Id: Iaaafc4dd4665dbc1e06c280cdc6e7036122f8678
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Use GFP_ATOMIC flag in retprobe_copy 45/46845/4
Vyacheslav Cherkashin [Wed, 19 Aug 2015 09:09:34 +0000 (12:09 +0300)]
[FIX] Use GFP_ATOMIC flag in retprobe_copy

Change-Id: I6e728b57b4e185b9312d2833e84a1abe5e86bffc
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] probes disarming in fork'ed process 44/46844/4
Vyacheslav Cherkashin [Tue, 18 Aug 2015 09:32:24 +0000 (12:32 +0300)]
[FIX] probes disarming in fork'ed process

Disarming is now moved out of atomic context.

Change-Id: I723b11e25dc377a7caea5efb54ed42b34db68868
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] uprobe trampoline copying (ARM only) 43/46843/4
Vyacheslav Cherkashin [Mon, 10 Aug 2015 17:10:02 +0000 (20:10 +0300)]
[FIX] uprobe trampoline copying (ARM only)

Copying to userspace needs to be done in non atomic context.

Change-Id: Id2baca9a667bd3c7d53f0b3fb8f391522aca5315
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] preload: move swap_do_mmap out of atomic context 86/44786/5
Vyacheslav Cherkashin [Mon, 27 Jul 2015 14:44:20 +0000 (17:44 +0300)]
[FIX] preload: move swap_do_mmap out of atomic context

For page mapping we should acquire memory lock. It is not possible atomic context.
move swap_do_mmap to safe place when mm->mmap_sem is locked.

Change-Id: I02847628d800a162f3395a6d73c9cd07240344e0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] prevent issues 08/46908/2
Anatolii Nikulin [Thu, 27 Aug 2015 06:55:50 +0000 (09:55 +0300)]
[FIX] prevent issues

fix 4 issues from prevent:
NULL_RETURNS
CONSTANT_EXPRESSION_RESULT
NO_EFFECT

Change-Id: I1385346d039a354a862e516e3b48c841502bf630
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
9 years ago[FIX] prevent issues 38/46738/2
Anatolii Nikulin [Tue, 25 Aug 2015 12:52:36 +0000 (15:52 +0300)]
[FIX] prevent issues

fix 42 issues from prevent:
NULL_RETURNS
UNINIT
REVERSE_INULL
RESOURCE_LEAK
MISSING_BREAK
DEADCODE
DC.SECURE_CODING_SPRINTF
FORWARD_NULL
DC.SECURE_CODING_STRCPY
OVERFLOW_BEFORE_WIDEN
BAD_SIZEOF

Change-Id: I1e7bc4b6e73e8262ee6fa23238d86a62510cb4e5
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
9 years ago[FIX] Preload: probes in newly created threads 87/45487/1
Alexander Aksenov [Thu, 6 Aug 2015 13:31:57 +0000 (16:31 +0300)]
[FIX] Preload: probes in newly created threads

Previously the second exit from pthread_create (exit in new thread)
was not handled correctly and this lead to messages missing.
Fixed "process data not found" case - now it doesn't lead to drop.

Change-Id: I9c6470758b759ae430b23e0aedb93fc525cea395
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] build for ARM 67/45267/1
Vyacheslav Cherkashin [Tue, 4 Aug 2015 08:21:50 +0000 (11:21 +0300)]
[FIX] build for ARM

Change-Id: I550b3492b4f3ab404a2a64b35bdbb6751bbaaba1
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[LICENSE] change to GPL-2.0+ 86/45086/2
Vitaliy Cherepanov [Fri, 31 Jul 2015 09:22:52 +0000 (12:22 +0300)]
[LICENSE] change to GPL-2.0+

Change-Id: Ie7acc73cb741192e1a5d6decaa2a66f44bd91062
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] memory leak in wsp 76/44776/2
Vyacheslav Cherkashin [Fri, 24 Jul 2015 14:03:25 +0000 (17:03 +0300)]
[FIX] memory leak in wsp

Change-Id: Ia5d3a3e4b1831b4aa12d9a665f2adcf70a489d48
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] memory leak in nsp 75/44775/2
Vyacheslav Cherkashin [Mon, 27 Jul 2015 10:46:20 +0000 (13:46 +0300)]
[FIX] memory leak in nsp

Change-Id: I34d5b3f7f92739bb92acd6706991cbe28549d4f7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Erroneous files struct put 93/44693/1
Vasiliy Ulyanov [Fri, 24 Jul 2015 17:45:54 +0000 (20:45 +0300)]
[FIX] Erroneous files struct put

There is no need to make a put_files_struct in case when
get_files_struct returns NULL.

Change-Id: Ia87af58150e96f07f3a5f7e2bd2ee3a9a185d210
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] remove modules striping from build.sh 97/44597/2
Vyacheslav Cherkashin [Thu, 23 Jul 2015 12:17:43 +0000 (15:17 +0300)]
[FIX] remove modules striping from build.sh

Change-Id: I4565984dbc4d3cba11cc312ea32a92a8028f7907
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] wrong unregister 72/44572/2
Vyacheslav Cherkashin [Thu, 23 Jul 2015 10:11:43 +0000 (13:11 +0300)]
[FIX] wrong unregister

pin_register() was used in nsp_data_uninst() for p_do_app.
change it to pin_unregister()

Change-Id: I56cd3819a7388907b2743e51320d8637bcb23f85
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] usage of kfree'd memory 04/44504/3
Vyacheslav Cherkashin [Wed, 22 Jul 2015 15:29:59 +0000 (18:29 +0300)]
[FIX] usage of kfree'd memory

pfg_item_free(item) tries to access item->pfg so
put_pf_group(item->pfg) should be executed after pfg_item_free.

Change-Id: I28c0059a6c99c284a4e6ef6b0f2fc4a76860166a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Use proper structure in FILE_PROBE_INITIALIZER 03/44503/4
Vyacheslav Cherkashin [Wed, 22 Jul 2015 15:28:33 +0000 (18:28 +0300)]
[FIX] Use proper structure in FILE_PROBE_INITIALIZER

Wrong structure used during initialization leads to allocation
of less memory than will actually be used.
Change file_private by flock_private.

Change-Id: I2d9951ff11066c13f838c8d7c04b176bbed6d7b5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] types of wsi function addresses 27/44427/2
Vyacheslav Cherkashin [Tue, 21 Jul 2015 18:31:31 +0000 (21:31 +0300)]
[FIX] types of wsi function addresses

inspserver_addr, willexecute_addr, didexecute_addr should have
u64 type intead of unsigned long

Change-Id: I0e5692056835b41f59650a77e9ab76796f80a2b4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Preload: use caller address from userspace 21/44421/5
Vitaliy Cherepanov [Tue, 21 Jul 2015 14:45:09 +0000 (17:45 +0300)]
[FIX] Preload: use caller address from userspace

This is a workaround for Tizen OpenGL probes. We cannot obtain the
expected caller address (i.e. the address in the target binary) from
kernel handlers because GL functions are actually called through
third-party libraries. To handle this situation we now pass the proper
address from userspace handlers.

Change-Id: Ibaa2190aed0c1587fa121feb13536b8ff267e680
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] Preload: use task data for storing slots 23/44423/5
Vasiliy Ulyanov [Tue, 21 Jul 2015 11:54:46 +0000 (14:54 +0300)]
[FIX] Preload: use task data for storing slots

Probe slots need to be organized like a per-thread stack in order
to perform function entry/exit checks properly. The former single-list
implementation does not work as expected.

Change-Id: I16152ffb91ab0c5670c750e7cea6b566f59f9724
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] Init/uninit task_data at start/stop 81/44281/2
Vasiliy Ulyanov [Mon, 20 Jul 2015 10:12:30 +0000 (13:12 +0300)]
[FIX] Init/uninit task_data at start/stop

task_data uses kernel probes to track all tasks, hence
it is not correct to initialize it at module load time.

Change-Id: Ibb23d055cc9d0ae2703db8b09fb4d27e6d91e2c8
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] call vmalloc with zero argument 78/44278/1
Vyacheslav Cherkashin [Mon, 20 Jul 2015 11:49:43 +0000 (14:49 +0300)]
[FIX] call vmalloc with zero argument

Change-Id: I02e8cbd9b5ccebeced90d8067a1b3f7cd8cd3083
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] slot_table items insertion/deletion 04/44204/2
Vyacheslav Cherkashin [Sat, 18 Jul 2015 21:07:20 +0000 (00:07 +0300)]
[FIX] slot_table items insertion/deletion

- Probe instances are added to the table only once (x86).
- Fixed an issue when a freed probe instance was not removed
  from the table.
- Added rw locking to avoid possible race conditions.

Change-Id: I72eae168b991e041a6a2f751dd7e45c379690052
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] replace kmalloc/kfree with vmalloc/vfree 03/44203/2
Vyacheslav Cherkashin [Sat, 18 Jul 2015 20:42:41 +0000 (23:42 +0300)]
[FIX] replace kmalloc/kfree with vmalloc/vfree

Large memory chunks are better alloccated with vmalloc.

Change-Id: I51828e04269012f06c4198612a8299093af655bd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] Save current uprobe state in stack (x86) 02/44202/1
Vyacheslav Cherkashin [Sun, 12 Jul 2015 13:54:24 +0000 (16:54 +0300)]
[FIX] Save current uprobe state in stack (x86)

We cannot use per cpu vars here because when we make a singlestep
in userspace there is a chance our task is preempted and resumed
on another cpu. In that case we will not be able to restore its
normal execution.

Change-Id: I591ef52b52db8db0e741d81461903806ed00ef8e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] simultaneously work nsp and function profiling 46/44146/1
Vyacheslav Cherkashin [Thu, 16 Jul 2015 16:43:19 +0000 (19:43 +0300)]
[FIX] simultaneously work nsp and function profiling

Currently it is impossible to probe one function more then once.
Because of it we cann't use nsp and main() function profiling
simultaneously.

Add main() function profiling message in nsp handler.

Change-Id: Ibb9708c511f4f8497a4eac04b417dd4abd207559
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] uprobe build for x86 92/44092/1
Vyacheslav Cherkashin [Thu, 16 Jul 2015 15:48:29 +0000 (18:48 +0300)]
[FIX] uprobe build for x86

Change-Id: I9f2da3ebc36849135c8af003261e89515a8fe1e4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[REFACTOR] Fixed printk messages 46/44046/1
Dmitry Kovalenko [Thu, 16 Jul 2015 10:16:47 +0000 (13:16 +0300)]
[REFACTOR] Fixed printk messages

Change-Id: I42652f739f16de717d5805d17d78812c009aa764
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[FIX] remove uprobe from hash table on error 44/43944/1
Vyacheslav Cherkashin [Wed, 15 Jul 2015 12:29:09 +0000 (15:29 +0300)]
[FIX] remove uprobe from hash table on error

Change-Id: I8f860004eb9b8c23c11a5e47899cfdb916529a64
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] deadlock during __switch_to() instrumentation 34/43834/1
Vyacheslav Cherkashin [Tue, 14 Jul 2015 10:12:33 +0000 (13:12 +0300)]
[FIX] deadlock during __switch_to() instrumentation

during __switch_to() handler execution we have 'rq->lock' locked by
__schedule(). So we can not call schedule_work() (which also uses 'rq->lock')

Change-Id: If8f0b0302d27ef21c80be7433e7ad3b5b0400668
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Preload: remove global irq flags 63/43763/2
Vasiliy Ulyanov [Mon, 13 Jul 2015 15:31:25 +0000 (18:31 +0300)]
[FIX] Preload: remove global irq flags

With spin_lock_irqsave/spin_unlock_irqrestore flags
should be local to the current stack frame.

Change-Id: I6244ed720232f3163ff23a8237e61c292f67808d
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] Preload: memleak when dropping handlers/linker info 61/43761/2
Vasiliy Ulyanov [Mon, 13 Jul 2015 15:17:55 +0000 (18:17 +0300)]
[FIX] Preload: memleak when dropping handlers/linker info

Change-Id: Ib2b661c008a5939d1ad9f2499bec1a478ee7dc03
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] Preload: move dentry lookup out of uprobe handler 58/43758/4
Vasiliy Ulyanov [Mon, 13 Jul 2015 14:40:21 +0000 (17:40 +0300)]
[FIX] Preload: move dentry lookup out of uprobe handler

It was causing a lot of 'scheduling while in atomic' BUGs (and a
deadlock at the end) which were masked by oops_in_progress (set in
kprobe_trap_handler).

Change-Id: I2f0c5f5f3ca58ba07c785ca2b3f73e3e2d04c32c
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] Preload: thumb -> arm mode switch 24/43624/3
Vasiliy Ulyanov [Sun, 12 Jul 2015 13:35:52 +0000 (16:35 +0300)]
[FIX] Preload: thumb -> arm mode switch

We need to switch to arm if a probe is hit in thumb mode.
Currently all the preloaded userspace handlers are arm-only.

Change-Id: Ic7d3fc0d2b72b783d0f69efebd4fe8b9a0f8e712
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[IMPROVE] Add interface for syscalls patching 22/43622/3
Dmitry Kovalenko [Sat, 11 Jul 2015 18:39:10 +0000 (21:39 +0300)]
[IMPROVE] Add interface for syscalls patching

Change-Id: I95035afda4f70432b3e192f2ee6730ae2bc90efe
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years agoRevert "[FIX] workaround of hangs on multicores" 25/43625/1
Dmitry Kovalenko [Sun, 12 Jul 2015 13:44:30 +0000 (06:44 -0700)]
Revert "[FIX] workaround of hangs on multicores"

This reverts commit 3418b805b202610c534960112fac4edd6e6acaa0.

Change-Id: I3eccb15a59fc5794324a010e98079b0f310418b8

9 years ago[FIX] workaround of hangs on multicores 18/43518/2
Vyacheslav Cherkashin [Thu, 9 Jul 2015 23:46:59 +0000 (02:46 +0300)]
[FIX] workaround of hangs on multicores

Change-Id: I97ac2f2bcd1878786aecf066f1a2da02853979c6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] remove panic() from uprobe 17/43517/2
Vyacheslav Cherkashin [Thu, 9 Jul 2015 20:30:26 +0000 (23:30 +0300)]
[FIX] remove panic() from uprobe

Change-Id: I472ca5e1c71862578bc4a301ab1a94ec87780d00
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] remove panic() from uprobe (ARM) 16/43516/1
Vyacheslav Cherkashin [Thu, 9 Jul 2015 20:23:16 +0000 (23:23 +0300)]
[FIX] remove panic() from uprobe (ARM)

Change-Id: I2f7fca26e77bc790355c4bafb741e12e20159b45
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] remove panic() from uprobe (x86) 15/43515/1
Vyacheslav Cherkashin [Thu, 9 Jul 2015 20:17:49 +0000 (23:17 +0300)]
[FIX] remove panic() from uprobe (x86)

Change-Id: I144c348d337038bc3a1020784e4850f3eccdacbe
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] move trampoline alloc (for x86) 14/43514/2
Vyacheslav Cherkashin [Thu, 9 Jul 2015 19:21:02 +0000 (22:21 +0300)]
[FIX] move trampoline alloc (for x86)

Change-Id: I4914bc07606e002ba83df5c4444659a1df38ebb8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] nsp stages determination 13/43513/2
Vyacheslav Cherkashin [Tue, 7 Jul 2015 08:33:26 +0000 (11:33 +0300)]
[FIX] nsp stages determination

Change-Id: I4816a30ca56f22264cac626cdfd2a1e89b49a76b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] LCD init 65/43365/1
Yurchenko Darya [Wed, 8 Jul 2015 10:53:31 +0000 (13:53 +0300)]
[FIX] LCD init

Change-Id: I110b7ea7ec04fbec66884f479cf66f47cbf3ceca
Signed-off-by: Yurchenko Darya <d.urchenko@partner.samsung.com>
9 years ago[FIX] Preload: total heap allocation data 05/42905/5
Alexander Aksenov [Thu, 2 Jul 2015 11:36:06 +0000 (14:36 +0300)]
[FIX] Preload: total heap allocation data

Change-Id: I174e04ea81f9713aca94dde70376244fce88463d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Build for 3.10 kernel 55/42955/1
Dmitry Kovalenko [Mon, 6 Jul 2015 08:50:47 +0000 (11:50 +0300)]
[FIX] Build for 3.10 kernel

Change-Id: I0e9b736ceb37f1e55c04e49a44fc57a0420b3388
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[FIX] correct to call mod_us_app_inst() at the second start 51/42951/3
Vyacheslav Cherkashin [Fri, 3 Jul 2015 17:23:09 +0000 (20:23 +0300)]
[FIX] correct to call mod_us_app_inst() at the second start

Change-Id: I876fb4136345286b241a0d0a749271f9c80b77dd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] NULL pointer dereference 50/42950/2
Vyacheslav Cherkashin [Fri, 3 Jul 2015 16:04:09 +0000 (19:04 +0300)]
[FIX] NULL pointer dereference

Change-Id: I6c50088c58b982fdc8ef258f6a38167125e4f605
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] filtering profiling tasks in debugfs 89/42889/2
Vyacheslav Cherkashin [Fri, 3 Jul 2015 13:43:22 +0000 (16:43 +0300)]
[FIX] filtering profiling tasks in debugfs

Change-Id: I675efa37edfa26e9add811ecbc47d172d31c5bbb
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] filtering sampling messeges 88/42888/2
Vyacheslav Cherkashin [Fri, 3 Jul 2015 12:32:55 +0000 (15:32 +0300)]
[FIX] filtering sampling messeges

Change-Id: I8eebb9c69929aaf29c24b194c96f7ba8e5a9f99e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] build with old toolchain 79/42879/5
Dmitry Kovalenko [Fri, 3 Jul 2015 10:28:49 +0000 (13:28 +0300)]
[FIX] build with old toolchain

Change-Id: I6f4ec362441992aa573867531b6e73171a388e8b
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[FIX] invalid condition 07/42807/2
Vyacheslav Cherkashin [Thu, 2 Jul 2015 11:19:49 +0000 (14:19 +0300)]
[FIX] invalid condition

Change-Id: I9069efa8dca80e9e55efc4dc343d1ef902d98c77
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] installation of a few pfg on one process 88/42788/2
Vyacheslav Cherkashin [Thu, 2 Jul 2015 09:30:12 +0000 (12:30 +0300)]
[FIX] installation of a few pfg on one process

Change-Id: I2ea723b41e97510944155257a6280f2447dcc20c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] packing web function entry message 76/42676/3
Anastasia Lyupa [Wed, 1 Jul 2015 11:19:09 +0000 (14:19 +0300)]
[FIX] packing web function entry message

Change-Id: Ibfe88f637a5c584efb6c26b9002135276caf1ac2
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
9 years ago[FIX] Writer: discarded events counting 37/42537/3
Alexander Aksenov [Mon, 29 Jun 2015 16:04:11 +0000 (19:04 +0300)]
[FIX] Writer: discarded events counting

Change-Id: I3d4553da9cd50ebd8300a917d37d94e29bf2fcc2
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Energy: debugfs init order 93/42593/3
Alexander Aksenov [Tue, 30 Jun 2015 11:03:41 +0000 (14:03 +0300)]
[FIX] Energy: debugfs init order

Change-Id: I4bd20279239f9787a70d3c13534f0fd301cf705c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[IMPROVE] Preload: breakpoint probe msgs saving 35/42535/4
Alexander Aksenov [Fri, 27 Feb 2015 12:00:37 +0000 (15:00 +0300)]
[IMPROVE] Preload: breakpoint probe msgs saving

Change-Id: I4a8e3e7942a65ad3a128f616e15ae0370ee95b18
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] check handlers_info on NULL 41/42441/2
Vyacheslav Cherkashin [Mon, 29 Jun 2015 07:56:47 +0000 (10:56 +0300)]
[FIX] check handlers_info on NULL

Change-Id: I62089130e9bf3b15cd094df3f43a3412736ef6bc
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] check ld_info pointer on NULL 10/42210/1
Vyacheslav Cherkashin [Wed, 24 Jun 2015 11:52:53 +0000 (14:52 +0300)]
[FIX] check ld_info pointer on NULL

Change-Id: Iaa79730bd50af2fe29c2aa702d2027afab1eb6fb
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] check task_struct pointer on error 09/42209/1
Vyacheslav Cherkashin [Wed, 24 Jun 2015 11:15:10 +0000 (14:15 +0300)]
[FIX] check task_struct pointer on error

Change-Id: I292abae597e10aa4ad61cbaaba7d43bdfc93da99
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years agoRevert "[FIX] startup profiling for basic app" 40/41940/2
Anastasia Lyupa [Fri, 19 Jun 2015 08:04:39 +0000 (01:04 -0700)]
Revert "[FIX] startup profiling for basic app"

This reverts commit bf40b56a94d22ec4c285a8a748714886aed5ed53.

Because launchpad_preloading_preinitializing_daemon was removed.

Change-Id: Ia2bca789b507ce29bd28354757172c13f06db66e

9 years ago[FIX] safe uprobes install 11/41911/1
Vyacheslav Cherkashin [Fri, 19 Jun 2015 06:14:53 +0000 (09:14 +0300)]
[FIX] safe uprobes install

Change-Id: I69d3464aa79dce36fc482d9799a0d49e98dee073
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[IMPROVE] check size before memcpy 10/41910/1
Vyacheslav Cherkashin [Fri, 19 Jun 2015 06:02:12 +0000 (09:02 +0300)]
[IMPROVE] check size before memcpy

in kjump and jump

Change-Id: I23683343bc1244f142eccd20bc20ab2037e6a9c9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] NULL pointer dereference 09/41909/1
Vyacheslav Cherkashin [Fri, 19 Jun 2015 05:43:14 +0000 (08:43 +0300)]
[FIX] NULL pointer dereference

when wrong probe type

Change-Id: I581a7e56a6dc5a1692d6607ef7aeea277c374234
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] check_task_on_filters() 08/41908/1
Vyacheslav Cherkashin [Fri, 19 Jun 2015 05:32:02 +0000 (08:32 +0300)]
[FIX] check_task_on_filters()

unlocking on return 1

Change-Id: I6bcef8e7af49360a100a058c9a9767285446fd70
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] startup profiling for basic app 09/41809/5
Anastasia Lyupa [Wed, 17 Jun 2015 13:54:27 +0000 (16:54 +0300)]
[FIX] startup profiling for basic app

when app is launched by launchpad_preloading_preinitializing_daemon,
not launchpad-process-pool

Change-Id: I01fcb65538593a658eea901a88a8ddef064b8221
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
9 years ago[FIX] Fix build for ARM 50/41850/1
Hyeongsik Min [Thu, 18 Jun 2015 09:46:01 +0000 (12:46 +0300)]
[FIX] Fix build for ARM

Change-Id: If9b85f12cc9be777e9f6bf0b442b20861949ade5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years agoMerge branch 'tizen_2.4_dev' into tizen_2.4 04/41804/1
Dmitry Kovalenko [Wed, 17 Jun 2015 14:17:51 +0000 (17:17 +0300)]
Merge branch 'tizen_2.4_dev' into tizen_2.4

Change-Id: I1b5731111f53357778aa5ca11da2415f7b2125d2

9 years ago[IMPROVE] system file activity 60/41460/3
Vyacheslav Cherkashin [Mon, 15 Jun 2015 13:13:47 +0000 (16:13 +0300)]
[IMPROVE] system file activity

Change-Id: I9278a8c6b6d5ea76cf69c9c90b2752f0e84de0d8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[IMPROVE] Us_manager: start/stop callbacks 87/41787/3
Alexander Aksenov [Wed, 17 Jun 2015 11:23:51 +0000 (14:23 +0300)]
[IMPROVE] Us_manager: start/stop callbacks

Change-Id: Id10bacc1f17a0d7dfcb9425483746f07c63a6730
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] fbiprobe build 46/41446/1
Vyacheslav Cherkashin [Mon, 15 Jun 2015 10:47:46 +0000 (13:47 +0300)]
[FIX] fbiprobe build

Change-Id: I20bd7954cccca1580c4a17bd5c56744675b97da8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years agoMerge branch 'tizen_2.4' into tizen_2.4_dev 29/41229/1
Dmitry Kovalenko [Thu, 11 Jun 2015 17:02:05 +0000 (20:02 +0300)]
Merge branch 'tizen_2.4' into tizen_2.4_dev

Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Conflicts:
writer/kernel_operations.h
writer/kernel_operations_arm.c
writer/kernel_operations_x86.c
writer/swap_writer_module.c

Change-Id: I72f30a112b3f356e791296b3d6fe24e0e43005fa

9 years ago[FEATURE] native setup profiling implement 79/40979/4
Vyacheslav Cherkashin [Wed, 10 Jun 2015 12:09:51 +0000 (15:09 +0300)]
[FEATURE] native setup profiling implement

Change-Id: I1b3cf9934d3e93aae8c03cff4a61073ec159b2d4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FEATURE] otg US probe for new_probe 78/40978/2
Vyacheslav Cherkashin [Wed, 10 Jun 2015 11:42:41 +0000 (14:42 +0300)]
[FEATURE] otg US probe for new_probe

Change-Id: I6d0464cf804949fee2087f54376acb548aaccae4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Master: modules uninitialization order 03/41003/2
Alexander Aksenov [Wed, 10 Jun 2015 14:34:38 +0000 (17:34 +0300)]
[FIX] Master: modules uninitialization order

Change-Id: Ie033951d0fb78b2cce694af70c791a5ce69a2bbd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[REFACTOR] Preload flags 77/39077/5
Alexander Aksenov [Tue, 17 Mar 2015 13:00:42 +0000 (16:00 +0300)]
[REFACTOR] Preload flags

Change-Id: Ie3b9ef3a10d069e2f7ae2acae5ee579e7cede738
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FEATURE] wsp implement (for webkit) 67/39867/3
Vyacheslav Cherkashin [Mon, 2 Mar 2015 11:38:31 +0000 (14:38 +0300)]
[FEATURE] wsp implement (for webkit)

Change-Id: I7da74b9c5d5c21e070e908ff2f5ab885ead78e8f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] multithread using file_list field in img_proc struct 44/39944/1
Vyacheslav Cherkashin [Tue, 26 May 2015 16:51:31 +0000 (19:51 +0300)]
[FIX] multithread using file_list field in img_proc struct

Change-Id: I0b8a814cfca377890ee431eb7215dc7295385b3d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] put_pf_group() implement 43/39943/1
Vyacheslav Cherkashin [Tue, 26 May 2015 15:50:11 +0000 (18:50 +0300)]
[FIX] put_pf_group() implement

Change-Id: Ia720edadc41860bcbccc75d0e1cd23a074700580
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] check_pf_by_comm() 48/39748/2
Vyacheslav Cherkashin [Thu, 21 May 2015 18:31:10 +0000 (21:31 +0300)]
[FIX] check_pf_by_comm()

Change-Id: Ic8b1ea648daf8d80c435797aa8331b4eb4358530
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FEATURE] create new interface for uprobe 66/39866/1
Vyacheslav Cherkashin [Wed, 25 Mar 2015 07:45:47 +0000 (10:45 +0300)]
[FEATURE] create new interface for uprobe

Change-Id: Ib652667abc169529b1b00126d0d9759291297282
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[IMPROVE] new interface for probe_info struct 65/39865/1
Vyacheslav Cherkashin [Fri, 14 Nov 2014 14:34:16 +0000 (18:34 +0400)]
[IMPROVE] new interface for probe_info struct

Change-Id: I71bb2f0afee8662411bdc6b758954b30561469c9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FEATURE] 'on the go' US probe 64/39864/1
Vyacheslav Cherkashin [Fri, 7 Nov 2014 18:53:34 +0000 (22:53 +0400)]
[FEATURE] 'on the go' US probe

Change-Id: Ia3501c4ed5a95a3c190dfe38730a8636801eb034
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[REFACTOR] sspt_file_set_mapping() 63/39863/1
Vyacheslav Cherkashin [Fri, 7 Nov 2014 18:52:16 +0000 (22:52 +0400)]
[REFACTOR] sspt_file_set_mapping()

Change-Id: Ie84147095b39856942840be2f50d8264f97022c8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[REFACTOR] move dentry_by_path() 62/39862/1
Vyacheslav Cherkashin [Thu, 6 Nov 2014 12:53:03 +0000 (16:53 +0400)]
[REFACTOR] move dentry_by_path()

form parser/us_inst.c to us_manager/pf/pf_group.c

Change-Id: I4a9d6fe017debe743874180edd8ec27c7c2db7ec
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] swap_fbiprobe: error on insmod 81/39481/1
Vitaliy Cherepanov [Fri, 15 May 2015 11:48:05 +0000 (14:48 +0300)]
[FIX] swap_fbiprobe: error on insmod

swap_fbiprobe: Unknown symbol fbi_msg

Change-Id: Id754f85b6c60b0dc2bf8e5f4eb3c2635274919a2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FEATURE] MSG_PROCESS_STATUS_INFO implement 22/39422/3
Vyacheslav Cherkashin [Thu, 14 May 2015 18:47:24 +0000 (21:47 +0300)]
[FEATURE] MSG_PROCESS_STATUS_INFO implement

Change-Id: I3c2d5b585dba5b9e7204d54e43d86d6cf7609b6c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FEATURE] FBI pack error probe 17/39417/8
Vitaliy Cherepanov [Thu, 14 May 2015 14:39:08 +0000 (17:39 +0300)]
[FEATURE] FBI pack error probe

On getting data fails FBI packs probe msg with 0 size data

Change-Id: I01eb526b286cd953815ff908b98aae2027b58ab8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FEATURE] FBI multi probing 62/38862/9
Vitaliy Cherepanov [Tue, 2 Dec 2014 14:40:59 +0000 (17:40 +0300)]
[FEATURE] FBI multi probing

Change-Id: I27186afb057ad97724225c93e6a1f596d2df6ff3
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FEATURE] FBI porting 60/38860/10
Vitaliy Cherepanov [Mon, 17 Nov 2014 13:37:09 +0000 (16:37 +0300)]
[FEATURE] FBI porting

Change-Id: Ia0453593cf0d32c32a7b536ffaedf184b0445f32
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] protorcol 4.0 35/38935/4
Vyacheslav Cherkashin [Mon, 2 Mar 2015 11:28:19 +0000 (14:28 +0300)]
[IMPROVE] protorcol 4.0

Change-Id: I5e7e24cbcc04001f72b73f1e3eddb8949f9e0481
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years agoMerge "Merge branch 'tizen_2.4' into tizen_2.4_dev" into tizen_2.4_dev
Dmitry Kovalenko [Thu, 14 May 2015 11:22:10 +0000 (04:22 -0700)]
Merge "Merge branch 'tizen_2.4' into tizen_2.4_dev" into tizen_2.4_dev

9 years ago[FEATURE] set webprobe profiling 86/38686/16
Anastasia Lyupa [Thu, 23 Apr 2015 13:29:39 +0000 (16:29 +0300)]
[FEATURE] set webprobe profiling

- receive libewebkit addresses for web profiling
  through debugfs
- register required probes in webprobe module
- use initializer

Change-Id: Ib7511138416dc74bb55b64980860091432fb9cc9
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
9 years ago[STYLE] Fix issues from checkpatch.pl 08/39008/1
Vyacheslav Cherkashin [Wed, 6 May 2015 11:36:59 +0000 (14:36 +0300)]
[STYLE] Fix issues from checkpatch.pl

Change-Id: If8e13541e385dc6ff98d2b5af8fb20f2d99c9492
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] task_data, preload modules init 24/38924/2
Anastasia Lyupa [Thu, 30 Apr 2015 12:00:43 +0000 (15:00 +0300)]
[FIX] task_data, preload modules init

postpone it by using initializer

Change-Id: I81a31fd80d9e3a715cc205d2cffec230e78875bd
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>