Alexander Aksenov [Wed, 27 Nov 2013 10:30:57 +0000 (14:30 +0400)]
[IMPROVE] Kernel shared memory area addresses are pushed to host
Change-Id: I9304bdfa3ce3ad89e50020cc48f0a82679251da1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Fri, 29 Nov 2013 18:06:29 +0000 (22:06 +0400)]
[FIX] obtaining correct stack pointer (for x86)
Change-Id: Ic47f43766c842207c207c688ba542cc30747c327
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Thu, 28 Nov 2013 09:00:50 +0000 (13:00 +0400)]
[IMPROVE] Remove redundant includes from swap_sampler_modules.c
Change-Id: I40faa2673d80d7f634f12dc2b83f8cdd18ba823b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 27 Nov 2013 14:10:32 +0000 (18:10 +0400)]
[REFACTOR] Sampler refactor
Change-Id: Ic936b3430729c0aefa7ab044e83136e06022442c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Bogatov [Tue, 26 Nov 2013 14:57:10 +0000 (18:57 +0400)]
[FIX] Remove unreachable code
Change-Id: Iaa47ab64c235c7742e9849067c6814609d15ef55
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
Vyacheslav Cherkashin [Mon, 25 Nov 2013 12:14:17 +0000 (16:14 +0400)]
[FIX] US instrumentation running process
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Change-Id: Ib5c5f526e12d9abdb246b16b562637d620370f2b
Vyacheslav Cherkashin [Tue, 26 Nov 2013 13:01:01 +0000 (17:01 +0400)]
[REFACTOR] arch_copy_trampoline_thumb_uprobe()
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Change-Id: Ic6580fa916ab62f037cfa125b8d3e8f0a0ae761c
Vyacheslav Cherkashin [Tue, 26 Nov 2013 12:17:23 +0000 (16:17 +0400)]
[REFACTOR] arch_check_insn_thumb()
Change-Id: I90f303ff2eba059112c108145f84322c23b9a8b0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 26 Nov 2013 12:05:20 +0000 (16:05 +0400)]
[REFACTOR] arch_copy_trampoline_arm_uprobe()
Change-Id: I6b0852f83a61368cd79d2d237fa162cee29db87d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 26 Nov 2013 10:39:49 +0000 (14:39 +0400)]
[REFACTOR] arch_check_insn_arm()
Change-Id: I0b7b69ecc522c7d5eda83253736996bd60105710
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 20 Nov 2013 08:28:59 +0000 (12:28 +0400)]
[FIX] call schedule() in atomic context
Change-Id: Iec346d746331c5db38c358ef7ed99616d936feeb
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Nikita Kalyazin [Wed, 20 Nov 2013 07:32:53 +0000 (11:32 +0400)]
[IMPROVE] energy: add coefficients for LCD
The coefficients were calculated for M0 target.
They consider only backlight brightness (no pixel self brightness).
Change-Id: If44d483db3dea7c9e1fa9858c6dd1624d626004a
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
Vyacheslav Cherkashin [Tue, 19 Nov 2013 09:30:04 +0000 (13:30 +0400)]
[FEATURE] energy: add support LCD s6e8aa0
Change-Id: I8f9bfef7b1aa68e84a093e0e00c339be059dc1f2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 19 Nov 2013 07:20:41 +0000 (11:20 +0400)]
[IMPROVE] add lcd_/un/set_energy()
new interaction lcd_base with arch dependent code,
Kbuild generate function pointer array
Change-Id: Ie3d96b0d2f17e8eaf05918e86d7fcf416a8117ce
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 18 Nov 2013 10:34:40 +0000 (14:34 +0400)]
[FIX] replace return value type for syscall
Change-Id: Icd7a5202d48512d61588934e4e6f6989d64cefa6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 15 Nov 2013 17:18:52 +0000 (21:18 +0400)]
[IMPROVE] add calculation energy for LCD
Change-Id: Iba5a1f4ed707e42a007e6b0cda706d8239ed2379
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 15 Nov 2013 16:48:38 +0000 (20:48 +0400)]
[IMPROVE] now struct tm_stat array has dynamic size
Change-Id: I3a9ed9b9fc6aa30d2a9d12e7ed63c0875f0edf4e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 15 Nov 2013 12:37:19 +0000 (16:37 +0400)]
[IMPROVE] energy: add debugfs for LCD
Change-Id: I72dd34dcbf80bd9641b14c442801f4c337836dad
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 15 Nov 2013 11:29:37 +0000 (15:29 +0400)]
[REFACTOR] use rational struct in debugfs_energy
Change-Id: Ic2835bbf487e5cc5c8e9b47e6f37bd42d19598a3
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 15 Nov 2013 11:21:54 +0000 (15:21 +0400)]
[IMPROVE] add rational_debugfs in swap_energy module
Change-Id: Id6711d8adf3413893b42ced9c44078513622a171
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Mon, 18 Nov 2013 08:00:33 +0000 (12:00 +0400)]
[FIX] building with kernels > 3.10.0
Change-Id: I9a6f78156ba3fb82ea6f68f0de9fc289fee4dd9d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Thu, 14 Nov 2013 13:09:20 +0000 (17:09 +0400)]
[FIX] remove mistyping
Change-Id: I27e14f46630d3f2902d5616d6c8825eb2dfefee8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Thu, 14 Nov 2013 11:12:19 +0000 (15:12 +0400)]
[FIX] wrong debug print in get_u64
Change-Id: I9cb4ce0fec5f5275cd979c92c4672c41f3591ea4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Thu, 14 Nov 2013 10:23:09 +0000 (14:23 +0400)]
[FIX] random return value in register_lcd()
Change-Id: If30786176ba026240912c46d347665767b70d0fa
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 14 Nov 2013 08:41:34 +0000 (12:41 +0400)]
[IMPROVE] lcd energy calculation
Change-Id: I326d9c506308d0ad0d20c6933f292aacd3970b96
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 13 Nov 2013 10:57:28 +0000 (14:57 +0400)]
[REFACTOR] use tm_stat for CPU time calculation
Change-Id: Ibdacfd24d4b5e9bd95faab4bda70da606379a1cc
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 12 Nov 2013 14:07:52 +0000 (18:07 +0400)]
[IMPROVE] add tm_stat struct
this struct is used for counting time intervals
Change-Id: Ib237bea84e12dc7645866ec702678103aee3e4ff
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Tue, 12 Nov 2013 08:48:10 +0000 (12:48 +0400)]
[IMPROVE] now modules are buildable with tizen 3.10 kernel
Added generic swap_do_mmap() function;
structs hlist_node, that are swap_hlist_for_each_entry_* second arguments,
are declared with DECLARE_NODE_PTR_FOR_HLIST.
Change-Id: Id9e264c49987816d3d1bd93eb056c94000d0f68a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Wed, 6 Nov 2013 06:09:33 +0000 (10:09 +0400)]
[PROTO] add return type for exit_event()
Change-Id: I29093f4d50cfb0d84981cee9a65b87b7550dbb25
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 11 Nov 2013 14:02:28 +0000 (18:02 +0400)]
[IMPROVE] add support lcd MARU
Change-Id: I3c65a16598b777a023d8ddabe2dc3d237c7b497a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 11 Nov 2013 12:58:17 +0000 (16:58 +0400)]
[IMPROVE] new struct lcd_base
not support S6E8AA0 and MARU
Change-Id: I2366a868c6d854d4b21cdb1833baed4d3f5ece5b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 8 Nov 2013 11:20:57 +0000 (15:20 +0400)]
[IMPROVE] new Kbuild for swap_energy module
implement generation defines
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Change-Id: I800e3557c54fc1ea09834c29cc26547b71820c91
Alexander Aksenov [Mon, 11 Nov 2013 11:23:07 +0000 (15:23 +0400)]
[STYLE] build.sh
Change-Id: Ie41b10f2b823dc7ed333eccef521e58445c4a986
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 11:20:26 +0000 (15:20 +0400)]
[FIX] remove redundant includes
Remove redundant includes for energy.
Change-Id: I307d1fcc23dc4a4249c6de8ad628a7dd86721af5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 11 Nov 2013 11:18:08 +0000 (15:18 +0400)]
[FIX] change paths and remove redundant includes in us_manager
Change absolute paths to relative ones in us_manager #include.
Remove redundant includes for us_manager
Change-Id: I2af613abec3b5eeebd86c487331ea4a48c5dca37
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
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>