Vyacheslav Cherkashin [Thu, 3 Oct 2013 12:55:02 +0000 (16:55 +0400)]
[FEATURE] add event_filter in swap_writer module
Change-Id: I9f02dbf02dab36264f4a1f8e2e6f29d702ef7ea9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 2 Oct 2013 12:17:47 +0000 (16:17 +0400)]
[IMPROVE] write US messages via sysfs
Change-Id: I2c1e94d1c907e7a764c656e6ca31b0d37cf9f3b6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 30 Sep 2013 12:03:50 +0000 (16:03 +0400)]
[IMPROVE] energy: add apps parameters in debugfs
Change-Id: I535360b0d62d2a4b67d15f720c826b5f875b08bd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 30 Sep 2013 10:26:02 +0000 (14:26 +0400)]
[IMPROVE] add spinlock proc_lock
to sync with on_each_proc()
Change-Id: I94a6fa84b7661056294e9d4da1a43117a72587e7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 30 Sep 2013 08:18:45 +0000 (12:18 +0400)]
[IMPROVE] add data parameter to on_each_proc()
Change-Id: I8db428a832f60da55903aa36346c4541b73f0e75
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 27 Sep 2013 16:51:46 +0000 (20:51 +0400)]
[REFACTOR] energy: move system parameters
Change-Id: Icb671a6fb9f2fb2dcc8b9f869b55631f0cd1c4e5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 27 Sep 2013 14:46:54 +0000 (18:46 +0400)]
[REFACTOR] energy: rename variables
sys_read_byte --> bytes_read
sys_write_byte --> bytes_written
Change-Id: I71a970ddee102d8fcabeae3f03acb40863744160
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 27 Sep 2013 13:23:01 +0000 (17:23 +0400)]
[IMPROVE] energy: add current parameters in debugfs
except application parameters
Change-Id: I01c17d7d589cd679100b62d72a3e9110a3f2489b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 27 Sep 2013 09:03:07 +0000 (13:03 +0400)]
[IMPROVE] energy: calculation R/W for system
Change-Id: I09d9194d7bbe55eccf33fdf91a44f3b5614d63b3
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Thu, 26 Sep 2013 13:24:00 +0000 (17:24 +0400)]
[IMPROVE] Add wake up ioctl command
It should be given after chainging opened driver descriptor attributes to nonblock.
Change-Id: Iaf0c492d6ce668250934e5e5a7ffd7686efb185d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Thu, 26 Sep 2013 13:02:25 +0000 (17:02 +0400)]
[IMPROVE] energy: calculation cpu time
for system and idle
Change-Id: Iff32fc56e8880ddd32a62be0be65f40705acf283
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 26 Sep 2013 08:38:54 +0000 (12:38 +0400)]
[IMPROVE] energy: use variable atomic
for counting the number of bytes (read/write)
Change-Id: If357fb67e536add18fe3454a73c122118c8b7ee0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 25 Sep 2013 12:17:16 +0000 (16:17 +0400)]
[FIX] inserting swap_energy module
add CONFIG_ENEGRGY_LCD
Change-Id: Ib897c61a0e6077f70f4de872087c19ec4e4ba1e3
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 20 Sep 2013 09:31:23 +0000 (13:31 +0400)]
[IMPROVE] energy: add support cpu_idle in debugfs
Change-Id: I2bda13fedd594d99dfdb0a72e9b58ca7a44a1ff3
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 20 Sep 2013 08:51:43 +0000 (12:51 +0400)]
[IMPROVE] energy: add result parameters in debugfs
Change-Id: Icafd59734bff1549a273f39285025702a388765f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 19 Sep 2013 14:23:24 +0000 (18:23 +0400)]
[REFACTOR] move init/exit() swap_energy module
in file energy_module.c
Change-Id: I1e119fe40d1a17316c7cf40cdbf22d0af02e58ee
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 19 Sep 2013 13:44:26 +0000 (17:44 +0400)]
[IMPROVE] add setting parameters in debugfs
for swap_energy module
Change-Id: I3fb78f8d7c171e84560cfa7bc03e3efe322cdc8f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 19 Sep 2013 08:54:12 +0000 (12:54 +0400)]
[IMPROVE] create swap dir in sysfs
Change-Id: If365053a7437c7cacb78a8d378556e6f0f123822
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 18 Sep 2013 11:22:26 +0000 (15:22 +0400)]
[REFACTOR] remove field priv_arg from struct kretprobe
Change-Id: I532dec6facbcd6982c45a3fbfa2e0af1d9ce0e0d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 18 Sep 2013 07:11:16 +0000 (11:11 +0400)]
[FEATURE] add support lcd s6e8aa0
Change-Id: I7553b21fbb5c48acd6cb55e2926dd72089668473
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 18 Sep 2013 05:34:37 +0000 (09:34 +0400)]
[FEATURE] add lcd support for swap_energy module
Change-Id: Iaee26d7015217bc0615887d454bd8fbcba049df5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 17 Sep 2013 15:05:34 +0000 (19:05 +0400)]
[FIX] build swap_energy module
Change-Id: I5c9d4655fea5ee8e6024345733ffc7bba672403a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 12 Sep 2013 12:42:49 +0000 (16:42 +0400)]
[REFACTOR] remove unused code
Change-Id: I558930dc85581831d34b22727f12d54ceaf55360
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 10 Sep 2013 14:46:44 +0000 (18:46 +0400)]
[IMPROVE] add list of not installed ip
Change-Id: Idbec494e1011658c18a10f7d7d5e610ba6a3b307
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 10 Sep 2013 11:13:27 +0000 (15:13 +0400)]
[IMPROVE] support several intersect filters
Change-Id: Ie13890b2e02462306dfe70de3c13bc3c87082525
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 9 Sep 2013 16:02:26 +0000 (20:02 +0400)]
[FIX] build (No rule to make target 'us_def_handler.o')
remove us_def_handler.o from Kbuild
Change-Id: I40b3afa2ccfc7cb86b028100dbf64995ae4f6ccf
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 5 Sep 2013 12:54:24 +0000 (16:54 +0400)]
[REFACTOR] remove field jprobe from struct us_ip
remove files:
us_manager/us_def_handler.c
us_manager/us_def_handler.h
Change-Id: I16db869bbc75c192e39ad947137bf3b42813ce04
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 5 Sep 2013 12:17:35 +0000 (16:17 +0400)]
[IMPROVE] add entry_handler field in struct uretprobe
Change-Id: Ibebc18ffd531e4a4e4705cf13aa8218eec6e548b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 5 Sep 2013 11:58:08 +0000 (15:58 +0400)]
[REFACTOR] remove field priv_arg from struct uretprobe
Change-Id: I06686934e673cad7f0b8778758f81a23e91b3cd6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Nikita A. Kalyazin [Thu, 5 Sep 2013 11:04:08 +0000 (11:04 +0000)]
Merge "[FIX] correct calculation of page address"
Vyacheslav Cherkashin [Thu, 5 Sep 2013 09:12:40 +0000 (13:12 +0400)]
[REFACTOR] remove unused code
Change-Id: If11e675449e8ffde6aefb63b2040e70e69f618ad
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 5 Sep 2013 09:09:08 +0000 (13:09 +0400)]
[IMPROVE] add error return inc for usm_/start/stop()
Change-Id: Ifd63847e8f520e42a2369ebd8febcf14a7390d30
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 5 Sep 2013 08:53:39 +0000 (12:53 +0400)]
[FIX] correct calculation of page address
Change-Id: I98c803de30366a508eefe245eac1913daec30bbb
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 28 Aug 2013 07:31:12 +0000 (11:31 +0400)]
Merge branch 'dev' of 106.109.8.71:/srv/git/sdk/swap-modules into dev
Vyacheslav Cherkashin [Wed, 28 Aug 2013 07:29:36 +0000 (11:29 +0400)]
[FIX] correct pc_addr in exit_event()
Nikita Kalyazin [Wed, 28 Aug 2013 07:10:24 +0000 (11:10 +0400)]
[FIX] export branch trampolines
Vyacheslav Cherkashin [Tue, 27 Aug 2013 15:20:22 +0000 (19:20 +0400)]
[FIX] add epoll_wait to syscall list
Vyacheslav Cherkashin [Tue, 27 Aug 2013 15:04:53 +0000 (19:04 +0400)]
[FIX] alloc_nodes_kretprobe()
correct memory allocation
Vyacheslav Cherkashin [Mon, 26 Aug 2013 07:37:55 +0000 (11:37 +0400)]
[IMPROVE] calculation of energy data
energy data:
CPU time
the number of bytes read
the number of bytes written
Vyacheslav Cherkashin [Fri, 23 Aug 2013 17:02:34 +0000 (21:02 +0400)]
[FEATURE] create sspt_feature
Vyacheslav Cherkashin [Tue, 20 Aug 2013 10:48:55 +0000 (14:48 +0400)]
[FIX] building swap_energy module
Vyacheslav Cherkashin [Tue, 20 Aug 2013 10:39:29 +0000 (14:39 +0400)]
Merge commit '
d307e458a' into kernel
Conflicts:
src/modules/kprobe/arch/asm-arm/dbi_kprobes.c
src/modules/kprobe/dbi_insn_slots.c
src/modules/kprobe/dbi_kprobes.c
src/modules/kprobe/dbi_kprobes.h
Vyacheslav Cherkashin [Tue, 20 Aug 2013 10:16:10 +0000 (14:16 +0400)]
Merge commit '
eae30cdf42' into kernel
Conflicts:
src/modules/driver/us_proc_inst.c
src/modules/kprobe/arch/asm-arm/dbi_kprobes.c
src/modules/kprobe/dbi_uprobes.c
Vyacheslav Cherkashin [Tue, 20 Aug 2013 09:58:37 +0000 (13:58 +0400)]
Merge commit '
1b93c9c0d8b9' into kernel
Conflicts:
src/modules/buffer/buffer.c
src/modules/kprobe/arch/asm-arm/dbi_kprobes.c
src/modules/kprobe/arch/asm-arm/dbi_kprobes.h
Vyacheslav Cherkashin [Tue, 20 Aug 2013 09:50:48 +0000 (13:50 +0400)]
Merge commit '
35488dedf8d' into kernel
Conflicts:
src/modules/driver/probes_manager.c
src/modules/driver/probes_manager.h
src/modules/driver/us_proc_inst.c
src/modules/kprobe/dbi_kprobes.c
Vyacheslav Cherkashin [Tue, 20 Aug 2013 09:30:00 +0000 (13:30 +0400)]
Merge commit '
fee9d083f74f' into kernel
Conflicts:
src/modules/driver/device_driver.c
src/modules/driver_old/storage.c
Vyacheslav Cherkashin [Tue, 20 Aug 2013 09:17:58 +0000 (13:17 +0400)]
Merge commit '
fe744ad58e4' into kernel
Vyacheslav Cherkashin [Tue, 20 Aug 2013 07:24:47 +0000 (11:24 +0400)]
Merge commit '
1aad3093d6' into kernel
Conflicts:
src/modules/kprobe/dbi_uprobes.c
Vyacheslav Cherkashin [Tue, 20 Aug 2013 07:16:55 +0000 (11:16 +0400)]
Merge commit '
043dd5f812' into kernel
Conflicts:
src/modules/kprobe/arch/asm-arm/dbi_kprobes.c
src/modules/kprobe/arch/asm-arm/dbi_kprobes_arm.h
Vyacheslav Cherkashin [Mon, 19 Aug 2013 17:11:10 +0000 (21:11 +0400)]
[FEATURE] create empty swap_energy module
Vyacheslav Cherkashin [Mon, 19 Aug 2013 07:28:56 +0000 (11:28 +0400)]
[FIX] deadlock, when rmmod swap_us_manager
Vyacheslav Cherkashin [Fri, 16 Aug 2013 17:55:03 +0000 (21:55 +0400)]
[IMPROVE] handling '__switch_to' retprobe
Vyacheslav Cherkashin [Thu, 15 Aug 2013 17:01:10 +0000 (21:01 +0400)]
[FIX] skip interrupt others
Vyacheslav Cherkashin [Thu, 15 Aug 2013 16:45:25 +0000 (20:45 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Thu, 15 Aug 2013 16:36:41 +0000 (20:36 +0400)]
[FIX] absence memory mappings at process
when filming uprobes
Nikita Kalyazin [Thu, 15 Aug 2013 15:59:27 +0000 (19:59 +0400)]
[IMPROVE] always print discraded events number
Nikita Kalyazin [Wed, 14 Aug 2013 06:18:14 +0000 (10:18 +0400)]
[FIX] exclude epoll_wait from syscall list
This is a workaround.
epoll_wait tracing leads to kernel crash.
Vyacheslav Cherkashin [Tue, 13 Aug 2013 14:48:00 +0000 (18:48 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Fri, 9 Aug 2013 15:12:55 +0000 (19:12 +0400)]
[FIX] correct handler boostable instruction
Alexander Aksenov [Fri, 9 Aug 2013 12:50:12 +0000 (16:50 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Fri, 9 Aug 2013 12:49:57 +0000 (16:49 +0400)]
[IMPROVE] Add sync
Vyacheslav Cherkashin [Thu, 8 Aug 2013 14:59:56 +0000 (18:59 +0400)]
[FIX] kernel crash when removing modules
remove modules, when running US instrumentation
Vyacheslav Cherkashin [Wed, 7 Aug 2013 15:37:25 +0000 (19:37 +0400)]
[FIX] handling handler_mm_fault retprobe() kernel fail
- add saving and restoring irq flag
Dmitry Kovalenko [Tue, 6 Aug 2013 11:40:11 +0000 (15:40 +0400)]
[FIX] Port swap to msm8974
- Correct working with CONFIG_STRICT_MEMORY_RWX option
- kmalloc -> module_alloc (for kernel trampoline allocate executable memory)
Vyacheslav Cherkashin [Mon, 5 Aug 2013 15:58:34 +0000 (19:58 +0400)]
[REFACTOR] rename sspt_page_*()
functions:
sspt_page_is_install() --> sspt_page_is_installed()
sspt_page_installed() --> sspt_page_install()
sspt_page_uninstalled() --> sspt_page_uninstall()
Vyacheslav Cherkashin [Mon, 5 Aug 2013 15:45:26 +0000 (19:45 +0400)]
[REFACTOR] PST_KS_DESK -> PST_KS_DESC
Dmitry Kovalenko [Thu, 1 Aug 2013 09:46:01 +0000 (13:46 +0400)]
[FIX] Fix wrong probe disarming in userspace (case with lr in regs)
Vyacheslav Cherkashin [Fri, 26 Jul 2013 04:14:47 +0000 (08:14 +0400)]
[PROTO] add type bool 'b'
Dmitry Kovalenko [Thu, 25 Jul 2013 12:38:52 +0000 (16:38 +0400)]
[FIX] Fix warnings during building
Dmitry Kovalenko [Thu, 25 Jul 2013 12:02:05 +0000 (16:02 +0400)]
[FIX] Separate probes disarming and recycling
Vyacheslav Cherkashin [Thu, 25 Jul 2013 08:48:57 +0000 (12:48 +0400)]
[REFACTOR] remove code is not used
Vyacheslav Cherkashin [Thu, 25 Jul 2013 08:47:16 +0000 (12:47 +0400)]
Vyacheslav Cherkashin [Wed, 24 Jul 2013 11:41:00 +0000 (15:41 +0400)]
[FIX] kretprobe_trampoline() for x86
Vyacheslav Cherkashin [Wed, 24 Jul 2013 09:22:17 +0000 (13:22 +0400)]
[REFACTOR] new interface dbi_unregister_kprobe()
-void dbi_unregister_kprobe(struct kprobe *p, struct task_struct *task)
+void dbi_unregister_kprobe(struct kprobe *p)
Vyacheslav Cherkashin [Tue, 23 Jul 2013 14:50:20 +0000 (18:50 +0400)]
[FIX] get_args() for x86
Vyacheslav Cherkashin [Tue, 23 Jul 2013 09:58:57 +0000 (13:58 +0400)]
[FIX] add null to the end of the string
Vyacheslav Cherkashin [Tue, 23 Jul 2013 09:22:24 +0000 (13:22 +0400)]
[FIX] 'sys_execve' arguments
Vasiliy Ulyanov [Tue, 23 Jul 2013 08:33:54 +0000 (12:33 +0400)]
[FIX] module_put issue on EC_IOCTL_STOP_AND_DETACH
Vyacheslav Cherkashin [Tue, 23 Jul 2013 07:24:47 +0000 (11:24 +0400)]
[FIX] calculation pc_addr for x86
Vyacheslav Cherkashin [Tue, 23 Jul 2013 06:43:50 +0000 (10:43 +0400)]
[PROTO] expand field 'use_features' 8 --> 16 byte
Vyacheslav Cherkashin [Mon, 22 Jul 2013 10:27:08 +0000 (14:27 +0400)]
[PROTO] probe subtype is a bitmask now
Vyacheslav Cherkashin [Mon, 22 Jul 2013 07:25:08 +0000 (11:25 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Mon, 22 Jul 2013 07:20:15 +0000 (11:20 +0400)]
[FIX] definition mapping pages by means of handle_mm_fault()
Alexander Aksenov [Fri, 19 Jul 2013 13:06:34 +0000 (17:06 +0400)]
[FIX] Ticket #12
Now swap_buffer_write() returned value correctly handled
Alexander Aksenov [Fri, 19 Jul 2013 12:30:54 +0000 (16:30 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Fri, 19 Jul 2013 12:27:37 +0000 (16:27 +0400)]
[FIX] Ticket #9
Issue refers only to x86 platform.
In kprobe_handler() now prepare_singlestep() done even if pre_handler
returns non-null value (according to sources it occures nearly always).
It removes interrupt flag and sets trap flag.
Vyacheslav Cherkashin [Wed, 17 Jul 2013 09:48:59 +0000 (13:48 +0400)]
[FIX] remove warning message
Nikita Kalyazin [Mon, 15 Jul 2013 18:04:35 +0000 (22:04 +0400)]
[FIX] build.sh: rm -f
Nikita Kalyazin [Mon, 15 Jul 2013 17:55:33 +0000 (21:55 +0400)]
[FIX] call_page_fault called once
Nikita Kalyazin [Mon, 15 Jul 2013 16:25:00 +0000 (20:25 +0400)]
[IMPROVE] driver: supress unsuccessful write to buffer
Nikita Kalyazin [Mon, 15 Jul 2013 15:38:16 +0000 (19:38 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Alexander Aksenov [Mon, 15 Jul 2013 14:38:11 +0000 (18:38 +0400)]
[STYLE] Rename driver->driver_old, driver_new->driver
Alexander Aksenov [Mon, 15 Jul 2013 14:23:00 +0000 (18:23 +0400)]
[STYLE] Code style
Alexander Aksenov [Mon, 15 Jul 2013 13:10:06 +0000 (17:10 +0400)]
[FIX] For linux-3.0
Alexander Aksenov [Mon, 15 Jul 2013 12:41:23 +0000 (16:41 +0400)]
[FIX] Remove dependencies from old driver
Nikita Kalyazin [Mon, 15 Jul 2013 11:12:21 +0000 (15:12 +0400)]
Nikita Kalyazin [Mon, 15 Jul 2013 09:51:36 +0000 (13:51 +0400)]
[IMPROVE] add stop.sh for modules
Nikita Kalyazin [Mon, 15 Jul 2013 09:51:17 +0000 (13:51 +0400)]
[IMPROVE] build.sh: command line args
Alexander Aksenov [Mon, 15 Jul 2013 09:11:30 +0000 (13:11 +0400)]
Alexander Aksenov [Mon, 15 Jul 2013 09:03:21 +0000 (13:03 +0400)]
[FIX] Uprobe building for arm arch