Alexander Aksenov [Tue, 12 Nov 2013 08:08:47 +0000 (12:08 +0400)]
[FIX] arch includes for kprobe, uprobe, ks_{manager,feature}
Change-Id: Ib22fded7e99917399baf5df8ebd104d37ad50b31
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 12 Nov 2013 08:07:33 +0000 (12:07 +0400)]
[FIX] change paths in uprobe
Change-Id: I1ff5f436963e4548bf58c535cb729065107e9e20
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 10:46:45 +0000 (14:46 +0400)]
[FIX] change paths and remove redundant includes in ks_manager
Change absolute paths to relative ones in ks_manager #include.
Remove redundant includes for ks_manager
Change-Id: Ib84b2e2e59691301706644820afa4662ea5b09f5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 10:44:20 +0000 (14:44 +0400)]
[FIX] change paths and remove redundant includes in ks_features
Change absolute paths to relative ones in kprobe #include.
Remove redundant includes for kprobe
Change-Id: I606127ecfcad8290a093905dff138b78b57041a4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 10:39:12 +0000 (14:39 +0400)]
[FIX] change paths and remove redundant includes in kprobe
Change absolute paths to relative ones in kprobe #include.
Remove redundant includes for kprobe
Change-Id: I9f3041cddf12783581ed7e5d17bf29f60bb4a8d7
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 12 Nov 2013 07:35:20 +0000 (11:35 +0400)]
[FIX] fix paths in writer for commit
aed8104d1543fd29ffd7d48a765ae4f952af5fbf
Change-Id: Iab28906c928b94b68e623bb16c0df9ba6aa844fd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 08:33:50 +0000 (12:33 +0400)]
[FIX] remove redundant includes
Remove redundant includes for buffer, driver, writer, sampler, parser
Change-Id: I2a051836e607d3d4ed945690c4efcc20044d41ba
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Mon, 11 Nov 2013 09:02:23 +0000 (13:02 +0400)]
[FIX] wrong parameters
Change-Id: Iced9d6fd6a7a571cb1cb40ce0f64bac4e4a1e470
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 11 Nov 2013 06:37:03 +0000 (10:37 +0400)]
[IMPROVE] add function to get arguments in US
Change-Id: Iea141d4ec2aa4b08f682f10ee9b652cbf7864f84
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 8 Nov 2013 11:57:26 +0000 (15:57 +0400)]
[FIX] add end string symbol '\0'
for reading values from sysfs
Change-Id: I572b83f737b6ea551c8c46a4bfcc2040d179ee7c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 08:30:38 +0000 (12:30 +0400)]
[IMPROVE] change absolute paths to relative ones
Change-Id: Id69e6af816feafebe0302e0786f4547a6b430278
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 07:51:51 +0000 (11:51 +0400)]
[FIX] warnings in swap_driver
build it with -Werror
Change-Id: I5fc7d233d89088d32ffdccfa45e674b502777cc1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 07:42:47 +0000 (11:42 +0400)]
[REFACTOR] separate definitions and kernel operations in buffer
Change-Id: I602a03b4f4bec4d95632ad5b30040d7057c7cbbb
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 8 Nov 2013 16:07:01 +0000 (20:07 +0400)]
[FIX] warnings in swap_sampler
build it with -Werror
Change-Id: If78febd7b0207b785cf889070f2fb8ad3af52a22
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 7 Nov 2013 14:45:56 +0000 (18:45 +0400)]
[IMPROVE] Add owner to all file_operations structs
Now kernel manages our modules as it should: trying to remove modules
when the reference count is not zero leads to fail, kernel itself
manages the number of processes currently using this module.
Change-Id: Id018b280f5f8823b766bfbd8ba9703d8ebec1396
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 8 Nov 2013 16:03:10 +0000 (20:03 +0400)]
[FIX] warnings in swap_buffer
build it with -Werror
Change-Id: Ieb593446051324ae5e389d127342fe73e0bc87d7
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Fri, 1 Nov 2013 13:30:17 +0000 (17:30 +0400)]
[REFACTOR] remove arch code for obtain arguments
Change-Id: Ied0db53791988c165a15a5bb62d8f93ef428829a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Nikita Kalyazin [Fri, 8 Nov 2013 06:15:39 +0000 (10:15 +0400)]
[CLEAN] remove unnecessary Makefiles
Change-Id: I4c837bdd9885ee0465c34242ddc3191423c7315b
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Anastasia Lyupa [Thu, 7 Nov 2013 15:22:38 +0000 (19:22 +0400)]
[IMPROVE] MODVERSIONS kernel option support
Add KBUILD_EXTRA_SYMBOLS
to all Kbuilds and change modules build order.
Change-Id: Iff7ccdf0752bfc563d3708e46a27fa967c1b5679
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Wed, 6 Nov 2013 13:03:51 +0000 (17:03 +0400)]
[FIX] warnings in swap_message_parser
build it and swap_energy with -Werror
Change-Id: Ic4573509b1d2230829933dd86b91a532cc6a6b70
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Wed, 6 Nov 2013 08:25:02 +0000 (12:25 +0400)]
[FIX] warnings in swap_us_manager
build it with -Werror
Change-Id: Ieb752474cf0cb56ebbba35c5fc38209d558ef257
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Wed, 6 Nov 2013 08:52:15 +0000 (12:52 +0400)]
[FIX] warnings in swap_ks_features
build it with -Werror
Change-Id: I115005ea99dea06d3e2159f18d3a3ada8bcfae7f
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Wed, 6 Nov 2013 08:14:24 +0000 (12:14 +0400)]
[FIX] warnings in swap_uprobe
build it with -Werror
Change-Id: I254ad6d921e72e347047ec0da5f045cbc444581b
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Wed, 6 Nov 2013 07:40:04 +0000 (11:40 +0400)]
[FIX] warnings in swap_writer
build it with -Werror
Change-Id: I4bfec0d589f796655ddfabe98946fbac89a38fd7
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Wed, 6 Nov 2013 07:55:18 +0000 (11:55 +0400)]
[FIX] warnings in swap_ks_manager
build it with -Werror
it depends on fix to swap_kprobe
Change-Id: I5fcc556752a156989dfe5cc28e0389b47d4bda62
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Anastasia Lyupa [Wed, 6 Nov 2013 07:48:44 +0000 (11:48 +0400)]
[FIX] warnings in swap_kprobe
build it with -Werror
Change-Id: I8ac9bc775675c0faed0ffbde5d866da26936df6b
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Vyacheslav Cherkashin [Fri, 1 Nov 2013 11:23:25 +0000 (15:23 +0400)]
[PROTO] add map/unmap message
Change-Id: Ib549cc24e90d35e8bcbb0823d832cda08d9382b4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 31 Oct 2013 12:14:14 +0000 (16:14 +0400)]
[IMPROVE] add function to get arguments in KS
Change-Id: I73f6a1c9d11471d3ca13e7889eace5069bababd0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 30 Oct 2013 12:48:32 +0000 (16:48 +0400)]
[FIX] safe US handlers
Check ri->rp on NULL. It is reset to zero, when unregister uretprobe
Change-Id: I5fda01b4a2d71eccf7cdadba699cb2ec0493f19d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Oct 2013 16:25:59 +0000 (20:25 +0400)]
[FIX] get_regs_ret_func() for x86
Change-Id: I46ec7128c82f3a37f09a691966e0a91659d294a6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Oct 2013 15:37:42 +0000 (19:37 +0400)]
[FIX] calculation start_time
Change-Id: Ie8df694fcb15d99e5035f066a9a987cd6be2e2b9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Oct 2013 13:38:30 +0000 (17:38 +0400)]
[IMPROVE] safe read stack
Change-Id: Ia80787a2a0e6221ac887ec419535a19f28021491
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Oct 2013 12:45:40 +0000 (16:45 +0400)]
[FIX] get_regs_ret_func() for x86
Change-Id: I2bfd9e0ef6d622c3c72052617d366fa6b67de9c7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Oct 2013 08:12:55 +0000 (12:12 +0400)]
[IMPROVE] support double parameter
Change-Id: Ie96e1322b11a6340907619430f6462122a249b30
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 24 Oct 2013 14:08:54 +0000 (18:08 +0400)]
[FIX] remove the tracking of child processes
Change-Id: Ib6391de67cae535065254818011853986ac8c2b9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 25 Oct 2013 12:26:33 +0000 (16:26 +0400)]
[IMPROVE] support float parameter
Change-Id: Iae5c98c8a82594b11cdd4c1b31aa2ac490dc4144
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 24 Oct 2013 09:39:19 +0000 (13:39 +0400)]
[FIX] sync set_features() call
Change-Id: Iff2030a97508104ad0b421804bfd110f7e435c40
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 24 Oct 2013 09:08:59 +0000 (13:08 +0400)]
[FIX] does not apply config before start
until running instrumentation
Change-Id: I3dd73d749ded4b70b1e55578888e40e50ec610e6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 23 Oct 2013 17:47:08 +0000 (21:47 +0400)]
[IMPROVE] add blocking function read US instrumentation status
Change-Id: Ia1f91211627f600e4cf8ca37d3a30731b947d27a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 23 Oct 2013 15:18:55 +0000 (19:18 +0400)]
[FIX] remove swap_sampler module
remove module_/get/put(), from swap_sampler_/start/stop()
Change-Id: I573fa34272bd62e366d78f8059cf9706f095ae17
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 23 Oct 2013 11:34:36 +0000 (15:34 +0400)]
[STYLE] swap_sampler module
Change-Id: I4333453d7cd30dd22e5567e83b22de5cf07ab3b7
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 23 Oct 2013 09:14:45 +0000 (13:14 +0400)]
[FIX] syscall features installing
correct processing errors and set/unset/_features() synchronization
Change-Id: Id3b7d812a7050cba2c21a3254d12379f66142fa4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Nikita Kalyazin [Tue, 22 Oct 2013 16:46:58 +0000 (20:46 +0400)]
[PROTO] config is preserved between stop and start
Change-Id: I47bda64a18121ef32cc0ed80872139e6e7f2c54c
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Vyacheslav Cherkashin [Tue, 22 Oct 2013 12:49:41 +0000 (16:49 +0400)]
[IMPROVE] switch context profiling
remove jprobe, it is unnecessary
Change-Id: I2f605f30234c71f667a54901972d4937a5ed6f3e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 22 Oct 2013 12:33:49 +0000 (16:33 +0400)]
[FIX] kernel crash when removing swap_ks_features module
remove module, when running switch context profiling
Change-Id: I31f259b252fc8e1811866ed87416de1197223fea
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 22 Oct 2013 11:22:29 +0000 (15:22 +0400)]
[FIX] kernel crash when removing swap_energy module
remove module, when running energy profiling
Change-Id: I5f51c87483b42f8d49f7d4201767522bd2623c2c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 18 Oct 2013 12:30:44 +0000 (16:30 +0400)]
[PROTO] correct handling of the flag 'function profiling'
interval instrumentation:
start message .. stop message
save events function:
only if flag 'function profiling' is true
Change-Id: Iac01a77c32998c252e89513b5adf4a024672f117
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 21 Oct 2013 09:38:56 +0000 (13:38 +0400)]
[FIX] correct handling of do_munmap()
added interface remove uprobe without performing disarm
problem solved:
removed probes from sspt, but not removed from uprobe_table[]
Change-Id: I7e3ac284301d7ac0a44b8cd5443a523f2a64fb19
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Nikita Kalyazin [Mon, 21 Oct 2013 04:44:03 +0000 (08:44 +0400)]
[FIX] remove useless ~ from start script
Change-Id: I530b7a9fce5c7d404034fe73c16149b011aaf018
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Vyacheslav Cherkashin [Thu, 17 Oct 2013 18:44:05 +0000 (22:44 +0400)]
[FEATURE] energy: add support lcd maru
Change-Id: I35c793c841a675eb31c9aa503a76eabf0dd79e46
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 17 Oct 2013 18:35:29 +0000 (22:35 +0400)]
[REFACTOR] energy: move lcd_mach_/init/exit()
move:
energy/lcd/lcd_base.h --> energy/lcd/lcd_base.c
Change-Id: Ic3cc56a53ba7bf7e9a5ad78315929d19d6728574
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 17 Oct 2013 18:23:26 +0000 (22:23 +0400)]
[REFACTOR] energy: move read_val()
move:
energy/lcd/s6e8aa0.c --> energy/lcd/lcd_base.c
Change-Id: I8ff66df899d429cbfaeba2b10dbc2c60ce8c11bf
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 17 Oct 2013 17:12:45 +0000 (21:12 +0400)]
[FIX] energy: use the correct data type
for LCD driver sd6e8aa0
Change-Id: Ida99f90f5b98cdb9e3ae2015da491e6aa110f163
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 17 Oct 2013 13:12:30 +0000 (17:12 +0400)]
[FIX] correcting sspt_unregister_feature()
feature remove from process instrumentation
Change-Id: Iff22ebc90ba0ef1e3af405ac3c8ac5e83bd1c48f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 17 Oct 2013 10:19:44 +0000 (14:19 +0400)]
[IMPROVE] add auxilary functions for feature_img_list
that synchronize the add/del from feature_img_list
Change-Id: Ib2303d03fd7d9408a2b903690b3d20bca948f7ad
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 16 Oct 2013 17:30:49 +0000 (21:30 +0400)]
[FIX] uninstall probes on do_munmap() call
Change-Id: I370fb69f8d41bea3d007c90dfa9b671b3a99ec81
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 16 Oct 2013 15:38:21 +0000 (19:38 +0400)]
[FIX] check page address value
Change-Id: Id164e2507ba70f53fbafe4cc37687e077568f03e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 14 Oct 2013 07:13:48 +0000 (11:13 +0400)]
[FIX] excess filtering handle_mm_fault()
remove flag VM_ACCOUNT from check_vma()
Change-Id: I44f6654a055d2ea9594bf00035b123d86b0051de
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Anastasia Lyupa [Thu, 10 Oct 2013 11:08:49 +0000 (15:08 +0400)]
[PROTO] update msg_process_info, add sending it
and remove binary type field, add ppid field
Change-Id: I738b3faf4c9427be43b10c7cff82de2aa292d4ca
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Nikita Kalyazin [Fri, 11 Oct 2013 12:30:39 +0000 (16:30 +0400)]
[IMPROVE] energy: add coefficients to start.sh
Change-Id: I08b19952c48a1fdfb47ab6f905aba7a1e24c8b9c
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Nikita Kalyazin [Fri, 11 Oct 2013 10:20:29 +0000 (14:20 +0400)]
[PROTO] message id update (starting from 0x0001)
Change-Id: Ic8e23f6af781fa812d7bd5bfd24e264e154cf75c
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Vitaliy Cherepanov [Thu, 10 Oct 2013 08:36:49 +0000 (12:36 +0400)]
[PROTO] remove app info and config from start message
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Change-Id: Ia8abf4d32f8517140257c7dce53afb32d14d0cf0
Vyacheslav Cherkashin [Tue, 8 Oct 2013 09:16:28 +0000 (13:16 +0400)]
[REFACTOR] use smp_processor_id() instead of task_cpu()
Change-Id: Ife34a588e055f274e67e8a1e83a03b3f46a5c8f0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 4 Oct 2013 14:38:47 +0000 (18:38 +0400)]
{IMPROVE] add ret_addr for exit_event()
Change-Id: I0e1c6e11442c94befe6a45f528d511af87f31395
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 3 Oct 2013 13:57:29 +0000 (17:57 +0400)]
[IMPROVE] add US filter for events
Change-Id: I3ae13a254dc26d104986aeba3f1fcb611f80cd8a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
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()