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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
Dmitry Kovalenko [Thu, 30 Apr 2015 12:46:48 +0000 (15:46 +0300)]
Merge branch 'tizen_2.4' into tizen_2.4_dev
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Conflicts:
uprobe/swap_uprobes.c
us_manager/img/img_ip.c
us_manager/img/img_proc.h
us_manager/sspt/sspt.h
us_manager/sspt/sspt_debug.h
us_manager/sspt/sspt_file.c
Change-Id: Ic7e1d03f57ebf988cae51b004498460ba08aee45
Anastasia Lyupa [Thu, 30 Apr 2015 11:58:16 +0000 (14:58 +0300)]
[FIX] module order in initializer
Change-Id: Id883aeb99d628b48a0368b1eb1fc75e9bee13bd6
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Dmitry Kovalenko [Wed, 22 Apr 2015 15:07:11 +0000 (18:07 +0300)]
[STYLE] Fix issues from checkpatch.pl
not fixed issues (191):
LINUX_VERSION_CODE (56)
do not add new typedefs
Use #include <linux/...> instead of <asm/...>
externs should be avoided in .c files
EXPORT_SYMBOL(foo); should immediately follow its function/variable
do not use assignment in if condition
use of in_atomic() is incorrect outside core kernel code
Macros with complex values should be enclosed in parenthesis
sizeof(& should be avoided
usage of NR_CPUS is often wron
uprobe/arch/arm/swap-asm/swap_uprobes.c (over 80 chars)
Change-Id: I1efb075ff2b47b78c56818e921a358868ce19948
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Mon, 27 Apr 2015 12:22:12 +0000 (15:22 +0300)]
Merge branch 'tizen_2.4' into 'tizen_2.4_dev'
Change-Id: I1133d65cd7fe8b74e084b4ea9e0bdc8fb470659d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 27 Apr 2015 09:50:46 +0000 (12:50 +0300)]
[FIX] partial revert
revert commit
898e1e017764c13d0dda84a1a96bee687743ee70.
Change-Id: I3ce70e137d603a8bc4a132041fe75c10288e8bc7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 16 Mar 2015 15:43:33 +0000 (18:43 +0300)]
[IMPROVE] make modules use swap_initializer
Change-Id: I49e63e9ea885922ed20d246632c182b8d1508e89
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 11 Mar 2015 16:50:21 +0000 (19:50 +0300)]
[FEATURE] master module implement
1. create swap_initializer
2. move swap_debugfs to this module from driver module
Change-Id: Id81d0ba55c304ed969447d658b6876fa0068bc48
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 13 Mar 2015 11:10:36 +0000 (14:10 +0300)]
[FIX] build modules for kernel >= 3.14
Change-Id: I2465588893d874d52eb48398b6691b52bf78f0b2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Fri, 13 Mar 2015 07:33:54 +0000 (10:33 +0300)]
[FIX] Fix build for new kernel (3.14.25)
Change-Id: Id7a442d6b1cc637908c7e9af40b2db56fe00089b
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Alexander Aksenov [Fri, 27 Feb 2015 12:03:04 +0000 (15:03 +0300)]
[STYLE] Remove comments, add tab
Change-Id: I7eb8cb45d54a61229067dea4d830298578e8a8c0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 4 Jun 2014 08:07:14 +0000 (12:07 +0400)]
[FEATURE] Preload: Implement
Change-Id: Ida266d6bc3af76bbf046434da99bc7fa3a256d49
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 20 Oct 2014 10:21:16 +0000 (14:21 +0400)]
[REFACTOR] ip struct page initialization
*page field now is filled at create_ip()
Change-Id: I8e3d32da5d0bd7d0d5512b4897d6523e3410be16
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 28 Nov 2014 11:51:40 +0000 (14:51 +0300)]
[IMPROVE] Add swap_put_uarg()
Change-Id: I87057e7b496c655b582aef86484403c0ff6a85e7
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vasiliy Ulyanov [Wed, 4 Jun 2014 08:15:29 +0000 (12:15 +0400)]
[IMPROVE] Add uprobe_ops registration
Change-Id: I165a8d4fd115c5d24800a091a1600a1b81d13bb2
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Thu, 7 Aug 2014 10:46:33 +0000 (14:46 +0400)]
[FIX] x86 jumps
Change-Id: Iea9f6eacb1142bd16c150c6cf6a658b9935e38a9
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Thu, 5 Jun 2014 09:31:38 +0000 (13:31 +0400)]
[IMPROVE] Add arch-specific routines for setting SP
Change-Id: I8ba26e9ddffbc39f13aca3bada7149104cebcbf6
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Wed, 4 Jun 2014 08:16:33 +0000 (12:16 +0400)]
[IMPROVE] Add orig_ret_addr restore condition
In some situations there is no need to restore the original return
address because all the related actions are performed inside the handler
(e.g. preload implementation)
Change-Id: I4d917cdd7201039002d56e7780a7c5701327c16d
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Wed, 4 Jun 2014 08:15:29 +0000 (12:15 +0400)]
[IMPROVE] Add uprobe_ops registration
Change-Id: Ia128d1f2ce2ce9a8510703420fd0dca18adc41fa
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Alexander Aksenov [Fri, 28 Nov 2014 11:31:27 +0000 (14:31 +0300)]
[FIX] Task data searches symbols by substring
This prevents issuses with changeable kernel functions names,
for example, when copy_process changes its name to copy_process.part...
Change-Id: I4c815609f9c8e3f02fcf72aab6297ebb48427fd2
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vasiliy Ulyanov [Thu, 19 Jun 2014 13:55:14 +0000 (17:55 +0400)]
[FEATURE] Implement swap_task_data module
The module adds per-task data storage at the end of the kernel
stack.
Change-Id: Ibaccba06aaa9944eee4607a35be80dd32a83932a
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Mon, 2 Jun 2014 14:18:17 +0000 (18:18 +0400)]
[IMPROVE] Add uretprobe_instance data field
Change-Id: Ic852d3d40b4b0dcb0dfa5f867aa3f02d3647aa03
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Alexander Aksenov [Thu, 13 Mar 2014 08:45:55 +0000 (12:45 +0400)]
[IMPROVE] Uprobe: add import swap_register_uprobe()
Change-Id: I56a4952b3080fccf09fa7a0256db7b7b5058141d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 7 Mar 2014 10:51:41 +0000 (14:51 +0400)]
[FIX] Uprobe: add kprobe struct fields init
Change-Id: I1e39ac2da426c1ef264dc335ef2a85374ed6c922
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Tue, 24 Feb 2015 07:50:14 +0000 (10:50 +0300)]
Merge branch 'master' into new_protocol
Change-Id: I8c4d219be9e9b389e9c3af219917178d64fc9974
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
jk7744.park [Sun, 1 Feb 2015 05:50:48 +0000 (14:50 +0900)]
tizen 2.3 release
Vyacheslav Cherkashin [Tue, 12 Aug 2014 10:01:52 +0000 (14:01 +0400)]
[IMPROVE] x86: apply jumper for US probes installing
Change-Id: I0fdd2ada86df1cbcc7fbfd1d1fced9dde1c06a2c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
(cherry picked from commit
124bdcdf2740a06b7df64a2917b26f88aeb07e21)
Ruslan Soloviev [Wed, 17 Dec 2014 08:39:53 +0000 (11:39 +0300)]
[FIX] Module swap_message_parser build
Add linux/module.h
Change-Id: Id5c27ba858a40af34113fa6db1a59693e6ee337b
Signed-off-by: Ruslan Soloviev <r.soloviev@samsung.com>
Ruslan Soloviev [Mon, 8 Dec 2014 09:10:19 +0000 (12:10 +0300)]
[REFACTOR] Remove probe counter
Change-Id: Ic4ce08202bf5a0844bd7a5802ac34f2a5263d309
Signed-off-by: Ruslan Soloviev <r.soloviev@samsung.com>
Ruslan Soloviev [Mon, 15 Dec 2014 10:11:09 +0000 (13:11 +0300)]
[PROTO] Web profiling message format change
Change-Id: I359d43193792c859f1e1e344a17ee1221bac0477
Signed-off-by: Ruslan Soloviev <r.soloviev@samsung.com>
Ruslan Soloviev [Thu, 27 Nov 2014 07:12:42 +0000 (10:12 +0300)]
[FEATURE] Add web profiling
Setup probes (probe type 3):
ewk_context_inspector_server_start
JSC::ProfileGenerator::willExecute
JSC::ProfileGenerator::didExecute
Change-Id: I65534ea544685b55d805df910d85b6a31eae2a93
Signed-off-by: Ruslan Soloviev <r.soloviev@samsung.com>
Vyacheslav Cherkashin [Wed, 19 Nov 2014 12:34:09 +0000 (16:34 +0400)]
[FIX] remove support multi uprobes
Change-Id: Ic28bde19b71b6139fe3de1799f23035a497ae8b0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Tue, 18 Nov 2014 09:48:49 +0000 (12:48 +0300)]
[FIX] Add retprobe module to .spec
Change-Id: Ia9b734130c17c8fccaf7e08197353243cb3987a3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Fri, 14 Nov 2014 07:02:57 +0000 (10:02 +0300)]
[FIX] add 'build_arch arm' into spec
Change-Id: I0900dc0c1b5777f5dd2e40f99f2c1410bbb99164
Dmitry Kovalenko [Fri, 14 Nov 2014 04:21:19 +0000 (07:21 +0300)]
[FIX] Add ':' after BuildRequires tag
Change-Id: I2711dce94593138e92bfdb417af9514ebbe894d4
Alexander Aksenov [Tue, 5 Aug 2014 12:34:30 +0000 (16:34 +0400)]
[IMPROVE] Parser: add probe type support
Now probe type is transferred right after probe address.
Avaliable probe types:
0 - retprobe
Change-Id: Ic9c96aa41841d6ca3a448daaca58d49049c2e01e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 13 Nov 2014 13:26:28 +0000 (16:26 +0300)]
[FIX] Probe info size init
Change-Id: I491eef3afcc3562aff5b144efa5dd6396b3398d5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>