Dmitry Kovalenko [Fri, 14 Nov 2014 04:21:19 +0000 (07:21 +0300)]
[FIX] Add ':' after BuildRequires tag
Change-Id: I2711dce94593138e92bfdb417af9514ebbe894d4
Alexander Aksenov [Thu, 13 Nov 2014 11:38:03 +0000 (14:38 +0300)]
[FEATURE] New .spec
Change-Id: Id7a216ccb8d82104c16637c07937fe2a5e31251d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Wed, 12 Nov 2014 13:29:45 +0000 (17:29 +0400)]
[LICENSE] add license
Change-Id: I8cf0b111ee970f0e00662205b8481b0d638b9eac
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 23 Oct 2014 15:00:05 +0000 (19:00 +0400)]
[CLEAN] remove module scripts
Change-Id: I4d5e65d84f35db68338468c211e9051a27968ebb
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 22 Oct 2014 10:49:26 +0000 (14:49 +0400)]
[IMPROVE] remove links to build modules
Change-Id: Ibf0bdd848e3e03c9b5c1b4c9b5ec8390c8886bfd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 20 Oct 2014 11:48:07 +0000 (15:48 +0400)]
[FIX] using functions set_memory_[ro\rw]()
because those functions may be not exported
Change-Id: I07c8917eb2c326d0a04a8f2007829e0dd77d20f4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Wed, 17 Sep 2014 13:18:25 +0000 (17:18 +0400)]
[PROTO] redesign lock handler events. add new subtype
id event
14: lock_ack_start
15: lock_ack_end
16: lock_release
Change-Id: I375df27b13b36c82a8e4db67e11c76ee0c8c1f51
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Fri, 19 Sep 2014 12:56:23 +0000 (16:56 +0400)]
[FIX] ARM func: write_u32()
Change-Id: Ia7e7a902ec3b096a68feb692f281a4c345aa07b5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 16 Sep 2014 15:26:46 +0000 (19:26 +0400)]
[FIX] use mem_text_write_kernel_word()
Change-Id: Ieaabaf496f5ec1df67304c2ac310fc5ef1cf7bfe
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 8 Sep 2014 12:35:17 +0000 (16:35 +0400)]
[REFACTOR] remove unused code
Change-Id: Id2d90fdb25cb2ad5cb17ea5ec4695032360bb2b1
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 5 Sep 2014 13:31:11 +0000 (17:31 +0400)]
[FIX] declares swap_current_kprobe
Change-Id: Iae7152e5088bbbd67bbe99abba44d78bf2b58db7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 4 Sep 2014 14:29:32 +0000 (18:29 +0400)]
[FIX] process info message for already running apps
Change-Id: I51a1864b5ca6034fda430cc98de34fb5590716c6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 13 Aug 2014 13:48:02 +0000 (17:48 +0400)]
[IMPROVE] sampler: remove writer dependency
Change-Id: I768e7b3a44c968c64277f2e4b5f7372de565c6e9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vasiliy Ulyanov [Fri, 8 Aug 2014 07:36:05 +0000 (11:36 +0400)]
[FIX] Remove unneeded warning
Change-Id: Ib38285e09828b5daac7edccafd9f351fdb2bc4fc
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vyacheslav Cherkashin [Wed, 28 May 2014 10:29:50 +0000 (14:29 +0400)]
[IMPROVE] x86: create jumper
Change-Id: Ic356826985c26b7397ab19b5996ba4a78fc54208
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 28 May 2014 10:11:50 +0000 (14:11 +0400)]
[REFACTOR] kretprobe_trampoline() for x86
Change-Id: I8035cf2696a0b56d4cb5f30c787e2ac98eccad45
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 26 May 2014 10:24:59 +0000 (14:24 +0400)]
[IMPROVE] x86: create kjumper
Change-Id: I1eb683b443df2ec0ae340649758e0359edf4c4c2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 26 May 2014 11:35:52 +0000 (15:35 +0400)]
[IMPROVE] ARM: new interface for kjumper
Change-Id: I2792801ba6d845c3045b8702eab754c9e6238dd5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vasiliy Ulyanov [Mon, 21 Jul 2014 07:27:52 +0000 (11:27 +0400)]
[REFACTOR] Remove start.sh/stop.sh
The scripts are now moved to swap-manager
Change-Id: I92a226fdc852588a63862e581e04f60fa3ee2016
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Mon, 21 Jul 2014 05:25:39 +0000 (09:25 +0400)]
[FIX] file ops handlers build with kernel >= 3.12
Change-Id: I7830639a40fa735fc7743d5856ea4230490f527b
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Tue, 15 Jul 2014 09:01:57 +0000 (13:01 +0400)]
[IMPROVE] Web Apps: add task parent comm checking
Change-Id: Ia3c9cfc7ed50c631ee977c3ea70d2e036e41ce95
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vitaliy Cherepanov [Fri, 18 Jul 2014 09:48:41 +0000 (13:48 +0400)]
[FIX] daemon start for buildin modules
Change-Id: I25ad3bc176acee354d74318d13e7b8bf5482be98
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Mon, 28 Apr 2014 15:34:59 +0000 (19:34 +0400)]
[FEATURE] File analysis: add file ops handlers
Change-Id: I7aa26f19c5c0ff5779eaa167289f4836126b081c
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Mon, 28 Apr 2014 12:20:30 +0000 (16:20 +0400)]
[FEATURE] File analysis: add ks_map
Change-Id: I59db28c70ac364d6278ff4ebe7608243bc878762
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Tue, 10 Jun 2014 08:28:40 +0000 (12:28 +0400)]
[PROTO] Add type/subtype in msg_function_exit
Change-Id: I451d282f315c84009881e76d43efbbc76090d35b
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Tue, 10 Jun 2014 08:26:49 +0000 (12:26 +0400)]
[PROTO] Change msg_function_entry fields sequence
Change-Id: I34f5044703b4a09393707106b9425f16d796053a
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Wed, 7 May 2014 05:33:47 +0000 (09:33 +0400)]
[REFACTOR] Move events checking out from msg packing routines
Now the checking is performed only when it is actually needed so
the functions from the writer module can be used even if events
filtering is undesirable.
Change-Id: Id0e2a2077bc0bca8f2919a4683a77f0982265166
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Tue, 6 May 2014 07:27:21 +0000 (11:27 +0400)]
[REFACTOR] Export check_event function
Change-Id: I81145dcbd195870cf9014158dff1d897ea491c89
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Alexander Aksenov [Thu, 19 Jun 2014 10:44:50 +0000 (14:44 +0400)]
[IMPROVE] Comm filter for web apps
Change-Id: If736b60063f282d1c30bd142604f46ce9d6e9565
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 23 Jun 2014 10:06:44 +0000 (14:06 +0400)]
[REFACTOR] Us_manager: call_page_fault()
Probes installation in call_page_fault() function is separated into two
functions for two cases: if it is the first time probes installation on process
or it is a subsequent one.
Change-Id: Ib1d0244b322974a8c3c9f79b387fa4e9cb837cc9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 18 Jun 2014 12:46:57 +0000 (16:46 +0400)]
[IMPROVE] Us_manager: sspt_filter
List of them is stored in sspt_proc struct. Each of sspt_filters represents
proc filter that corresponds to this proc.
Change-Id: I864da43e731096cbf7902651cba5ed21a4d3ae01
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Fri, 11 Jul 2014 09:47:15 +0000 (13:47 +0400)]
[IMPROVE] Add different OBS projects handling
Change-Id: Ia88a6f303b2dedb49194ae80c53e0fdf0cfbf009
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Tue, 8 Jul 2014 13:37:30 +0000 (17:37 +0400)]
[STYLE] us_manager: doxygen comments
Change-Id: I00ab2816a2ccb632f67144e004619e55b99cfd3f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 4 Jul 2014 12:58:44 +0000 (16:58 +0400)]
[STYLE] energy: doxygen comments
Change-Id: I2db7a3ecade2a51f60cc0b6784cdf860117972b1
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Tue, 8 Jul 2014 11:17:40 +0000 (15:17 +0400)]
[STYLE] Uprobe: doxygen comments
Change-Id: I1499884899563a9ba916e3681c5406632dd9eb97
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 7 Jul 2014 14:04:14 +0000 (18:04 +0400)]
[STYLE] Writer: doxygen comments
Change-Id: Iac94937fdddb44b62df99bdd81553a025426edc4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 7 Jul 2014 10:33:40 +0000 (14:33 +0400)]
[STYLE] Sampler: doxygen comments
Change-Id: I9463827b6cc73fe05d6d860bf32bba19cea3ede3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 7 Jul 2014 10:07:38 +0000 (14:07 +0400)]
[STYLE] Parser: doxygen comments
Change-Id: I3271ac149047e2b398120e21858a118ae7c8ad4b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 4 Jul 2014 11:33:32 +0000 (15:33 +0400)]
[STYLE] Ks_features: doxygen comments
Change-Id: Ib3a0a402efbed0bda691a6f0f43fe842e7892bad
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 3 Jul 2014 11:23:28 +0000 (15:23 +0400)]
[STYLE] Kprobe: doxygen comments
Change-Id: I597197ca4b43d9aa3b2e3af754da0724f9b0d5ef
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 9 Jul 2014 08:23:10 +0000 (12:23 +0400)]
[STYLE] Driver: doxygen comments
Change-Id: I447d86174a2b6a94aa45f20232d688f7e5dd375b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 9 Jul 2014 08:03:14 +0000 (12:03 +0400)]
[FIX] Driver: remove duplicated file
driver_defs.h and kernel_operations.h has been duplicated each other.
Change-Id: I8d1ffe0d711994c28284e11b703a27a2a14106bd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 9 Jul 2014 08:02:26 +0000 (12:02 +0400)]
[STYLE] Buffer: doxygen comments
Change-Id: I5db3a950b4f8bc9d5444159be5c7e8ba3beacd07
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 2 Jul 2014 10:06:58 +0000 (14:06 +0400)]
[STYLE] Doxygen config file
To enable graphs, install graphviz and set HAVE_DOT = YES
Change-Id: I45b65be02594b7ac832f3ff450d4a3669676c399
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vasiliy Ulyanov [Thu, 3 Jul 2014 11:50:38 +0000 (15:50 +0400)]
[FIX] .spec file for Kiran emulator (x86)
Change-Id: I5a648cd648cae45adf31f6566898e88e8cd01413
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Fri, 27 Jun 2014 07:52:23 +0000 (11:52 +0400)]
[FIX] .spec file for Kiran target
Change-Id: Idc16a4387b1bfee3d3eb24cfe95ca0cc6665f782
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Alexander Aksenov [Wed, 2 Jul 2014 07:39:33 +0000 (11:39 +0400)]
[FIX] Spec: spec for private repo
Change-Id: Ie61cd9f3658465e9a89f9383bb2ce046817a5830
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 25 Jun 2014 11:00:06 +0000 (15:00 +0400)]
[FIX] Kprobe: remove_kprobe() when unregister
Now remove_kprobe() called from swap_unregister_valid_kprobe().
Its call was in swap_unregister_kretprobe_bottom() and that has
led to memory leaks when using simple kprobe, not kretprobe.
Change-Id: Iade99439eadf389539efc497c0fc71b52be9eee1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 18 Jun 2014 12:40:01 +0000 (16:40 +0400)]
[REFACTOR] Sampler: remove garbage
Change-Id: I0d976639257596027d716fda02b1fb6ac3ca0f1f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 9 Jun 2014 10:58:02 +0000 (14:58 +0400)]
[FIX] Kprobe: remove aggrigated probe from list
Change-Id: I2345b00e0e7f04cf4ac26e9fd3217be983e8d8b0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Wed, 25 Jun 2014 09:59:45 +0000 (13:59 +0400)]
[FIX] build for kernel 3.4
Change-Id: I76314100a64e2da6e6900b38225cb6153f599311
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Tue, 24 Jun 2014 10:49:31 +0000 (14:49 +0400)]
[FIX] Spec: building for 3.12 emulator kernel
Change-Id: I3c61355ed078dd8f1121107f31d01ebb7cf0fdce
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Tue, 24 Jun 2014 08:43:56 +0000 (12:43 +0400)]
[IMPROVE] add support kernel 3.12
Change-Id: I803ffa89d24d8cbcb42bc4d97f63916ed6ea1f08
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Tue, 24 Jun 2014 06:40:26 +0000 (23:40 -0700)]
Merge "[FIX] ret_handler_unmap() (deadlock on stop)" into prod_rel
Vyacheslav Cherkashin [Mon, 23 Jun 2014 10:52:01 +0000 (14:52 +0400)]
[FIX] ret_handler_unmap() (deadlock on stop)
Change-Id: Ib82d1319327a676b93ebff2b8912aa5bf0992bc2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Wed, 4 Jun 2014 11:57:49 +0000 (15:57 +0400)]
[FIX] Us_manager: slot manager deallocation
Change-Id: I8957514cbc6d595931a602088876d07c27fa2e58
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 4 Jun 2014 10:31:19 +0000 (14:31 +0400)]
[FIX] Uprobe: slot free for unfired uprobes
Now it's arch dependent, cause way of slots allocation differs
from arch to arch
Change-Id: I60cc2c97b84756cff7022e6454cad9a1201e7550
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 2 Jun 2014 13:37:33 +0000 (17:37 +0400)]
[FIX] Us_manager: images memory deallocation
Change-Id: I2a911a6926f6b2595b26b367754817ba66396dd3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 5 Jun 2014 09:34:42 +0000 (13:34 +0400)]
[FIX] Us_manager: now free img called at free pfg
Also add create_img_proc sanity check
Change-Id: If50a62833b960f35249ef210294ff170ad4bf234
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 5 Jun 2014 09:30:52 +0000 (13:30 +0400)]
[IMPROVE] Us_manager: new proc filter inteface
Now proc filter statically allocated and stored in
pf_group structure.
Main purpoise of this commit - fix proc filter memleak
Change-Id: I10632952f67262e562ab960ba5f519ebcc6599fe
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 4 Jun 2014 14:12:17 +0000 (18:12 +0400)]
[FIX] Us_manager: dumb filter creation
Change-Id: Icaff3bda2c8d5f8a7b5cbe0090835ba0293c8734
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 28 May 2014 12:46:12 +0000 (16:46 +0400)]
[FIX] name conflicts with kernel kprobe
Change-Id: I66368a1c9bac9483fcfb561122ad1bb847feacbf
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Wed, 28 May 2014 11:40:16 +0000 (15:40 +0400)]
[IMPROVE] Build: add m0 support to spec file
Change-Id: Ie8ebaf5b03a07d2d2dd95e396dea90f582e2e7f0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Dmitry Kovalenko [Wed, 30 Apr 2014 05:51:30 +0000 (22:51 -0700)]
Merge "[IMPROVE] Gbs: add spec file" into prod_rel
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>