kernel/swap-modules.git
10 years ago[FIX] building with kernels > 3.10.0
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>
10 years ago[FIX] remove mistyping
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>
10 years ago[FIX] wrong debug print in get_u64
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>
10 years ago[FIX] random return value in register_lcd()
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>
10 years ago[IMPROVE] lcd energy calculation
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>
10 years ago[REFACTOR] use tm_stat for CPU time calculation
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>
10 years ago[IMPROVE] add tm_stat struct
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>
10 years ago[IMPROVE] now modules are buildable with tizen 3.10 kernel
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>
10 years ago[PROTO] add return type for exit_event()
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>
10 years ago[IMPROVE] add support lcd MARU
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>
10 years ago[IMPROVE] new struct lcd_base
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>
10 years ago[IMPROVE] new Kbuild for swap_energy module
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

10 years ago[STYLE] build.sh
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>
10 years ago[FIX] remove redundant includes
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>
10 years ago[FIX] change paths and remove redundant includes in us_manager
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>
10 years ago[FIX] arch includes for kprobe, uprobe, ks_{manager,feature}
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>
10 years ago[FIX] change paths in uprobe
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>
10 years ago[FIX] change paths and remove redundant includes in ks_manager
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>
10 years ago[FIX] change paths and remove redundant includes in ks_features
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>
10 years ago[FIX] change paths and remove redundant includes in kprobe
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>
10 years ago[FIX] fix paths in writer for commit aed8104d1543fd29ffd7d48a765ae4f952af5fbf
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>
10 years ago[FIX] remove redundant includes
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>
10 years ago[FIX] wrong parameters
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>
10 years ago[IMPROVE] add function to get arguments in US
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>
10 years ago[FIX] add end string symbol '\0'
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>
10 years ago[IMPROVE] change absolute paths to relative ones
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>
10 years ago[FIX] warnings in swap_driver
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>
10 years ago[REFACTOR] separate definitions and kernel operations in buffer
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>
10 years ago[FIX] warnings in swap_sampler
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>
10 years ago[IMPROVE] Add owner to all file_operations structs
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>
10 years ago[FIX] warnings in swap_buffer
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>
10 years ago[REFACTOR] remove arch code for obtain arguments
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>
10 years ago[CLEAN] remove unnecessary Makefiles
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>
10 years ago[IMPROVE] MODVERSIONS kernel option support
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>
10 years ago[FIX] warnings in swap_message_parser
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>
10 years ago[FIX] warnings in swap_us_manager
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>
10 years ago[FIX] warnings in swap_ks_features
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>
10 years ago[FIX] warnings in swap_uprobe
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>
10 years ago[FIX] warnings in swap_writer
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>
10 years ago[FIX] warnings in swap_ks_manager
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>
10 years ago[FIX] warnings in swap_kprobe
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>
11 years ago[PROTO] add map/unmap message
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>
11 years ago[IMPROVE] add function to get arguments in KS
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>
11 years ago[FIX] safe US handlers
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>
11 years ago[FIX] get_regs_ret_func() for x86
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>
11 years ago[FIX] calculation start_time
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>
11 years ago[IMPROVE] safe read stack
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>
11 years ago[FIX] get_regs_ret_func() for x86
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>
11 years ago[IMPROVE] support double parameter
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>
11 years ago[FIX] remove the tracking of child processes
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>
11 years ago[IMPROVE] support float parameter
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>
11 years ago[FIX] sync set_features() call
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>
11 years ago[FIX] does not apply config before start
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>
11 years ago[IMPROVE] add blocking function read US instrumentation status
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>
11 years ago[FIX] remove swap_sampler module
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>
11 years ago[STYLE] swap_sampler module
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>
11 years ago[FIX] syscall features installing
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>
11 years ago[PROTO] config is preserved between stop and start
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>
11 years ago[IMPROVE] switch context profiling
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>
11 years ago[FIX] kernel crash when removing swap_ks_features module
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>
11 years ago[FIX] kernel crash when removing swap_energy module
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>
11 years ago[PROTO] correct handling of the flag 'function profiling'
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>
11 years ago[FIX] correct handling of do_munmap()
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>
11 years ago[FIX] remove useless ~ from start script
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>
11 years ago[FEATURE] energy: add support lcd maru
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>
11 years ago[REFACTOR] energy: move lcd_mach_/init/exit()
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>
11 years ago[REFACTOR] energy: move read_val()
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>
11 years ago[FIX] energy: use the correct data type
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>
11 years ago[FIX] correcting sspt_unregister_feature()
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>
11 years ago[IMPROVE] add auxilary functions for feature_img_list
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>
11 years ago[FIX] uninstall probes on do_munmap() call
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>
11 years ago[FIX] check page address value
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>
11 years ago[FIX] excess filtering handle_mm_fault()
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>
11 years ago[PROTO] update msg_process_info, add sending it
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>
11 years ago[IMPROVE] energy: add coefficients to start.sh
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>
11 years ago[PROTO] message id update (starting from 0x0001)
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>
11 years ago[PROTO] remove app info and config from start message
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

11 years ago[REFACTOR] use smp_processor_id() instead of task_cpu()
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>
11 years ago{IMPROVE] add ret_addr for exit_event()
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>
11 years ago[IMPROVE] add US filter for events
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>
11 years ago[FEATURE] add event_filter in swap_writer module
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>
11 years ago[IMPROVE] write US messages via sysfs
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>
11 years ago[IMPROVE] energy: add apps parameters in debugfs
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>
11 years ago[IMPROVE] add spinlock proc_lock
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>
11 years ago[IMPROVE] add data parameter to on_each_proc()
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>
11 years ago[REFACTOR] energy: move system parameters
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>
11 years ago[REFACTOR] energy: rename variables
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>
11 years ago[IMPROVE] energy: add current parameters in debugfs
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>
11 years ago[IMPROVE] energy: calculation R/W for system
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>
11 years ago[IMPROVE] Add wake up ioctl command
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>
11 years ago[IMPROVE] energy: calculation cpu time
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>
11 years ago[IMPROVE] energy: use variable atomic
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>
11 years ago[FIX] inserting swap_energy module
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>
11 years ago[IMPROVE] energy: add support cpu_idle in debugfs
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>
11 years ago[IMPROVE] energy: add result parameters in debugfs
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>
11 years ago[REFACTOR] move init/exit() swap_energy module
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>
11 years ago[IMPROVE] add setting parameters in debugfs
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>
11 years ago[IMPROVE] create swap dir in sysfs
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>
11 years ago[REFACTOR] remove field priv_arg from struct kretprobe
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>
11 years ago[FEATURE] add support lcd s6e8aa0
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>