platform/core/system/swap-manager.git
11 years ago[COPYRIGHT] copyright update
Vitaliy Cherepanov [Thu, 11 Jul 2013 13:18:20 +0000 (17:18 +0400)]
[COPYRIGHT] copyright update

11 years ago[IMPROVE] handle absence of freq files
Nikita Kalyazin [Wed, 10 Jul 2013 13:11:13 +0000 (17:11 +0400)]
[IMPROVE] handle absence of freq files

11 years ago[IMPROVE] return 0 if data source file absents
Nikita Kalyazin [Wed, 10 Jul 2013 13:10:29 +0000 (17:10 +0400)]
[IMPROVE] return 0 if data source file absents

11 years ago[FIX] replay: us -> ns
Nikita Kalyazin [Wed, 10 Jul 2013 07:14:12 +0000 (11:14 +0400)]
[FIX] replay: us -> ns

11 years ago[IMPROVE] add check for modules insert/remove
Nikita Kalyazin [Wed, 10 Jul 2013 06:47:06 +0000 (10:47 +0400)]
[IMPROVE] add check for modules insert/remove

11 years ago[RPM] rename dynamic-analysis-manager -> swap-manager
Nikita Kalyazin [Wed, 10 Jul 2013 05:26:37 +0000 (09:26 +0400)]
[RPM] rename dynamic-analysis-manager -> swap-manager

Changes:
 - spec and manifest files renamed;
 - spec: version 2.1.1 -> 3.0, description updated;
 - manifest: domain name changed to swap.

11 years ago[IMPROVE] exec application with timer check
Vitaliy Cherepanov [Mon, 8 Jul 2013 17:14:44 +0000 (21:14 +0400)]
[IMPROVE] exec application with timer check

 - default waiting time is 6 sec

11 years ago[FIX] segmentation fault on disconnet without stop message
Vitaliy Cherepanov [Mon, 8 Jul 2013 12:30:36 +0000 (16:30 +0400)]
[FIX] segmentation fault on disconnet without stop message

11 years ago[IMPROVE] add debugs for sampling and replay threads
Vitaliy Cherepanov [Mon, 8 Jul 2013 08:45:00 +0000 (12:45 +0400)]
[IMPROVE] add debugs for sampling and replay threads

 - use: enable THREAD_SAMPLING_DEBUG and THREAD_REPLAY_DEBUG definitions
 - default disabled

11 years ago[IMPROVE] increase buffer size to 16 * 64Kb
Nikita Kalyazin [Sun, 7 Jul 2013 10:10:26 +0000 (14:10 +0400)]
[IMPROVE] increase buffer size to 16 * 64Kb

11 years ago[FIX] add check for system cpu freq
Nikita Kalyazin [Sun, 7 Jul 2013 10:06:13 +0000 (14:06 +0400)]
[FIX] add check for system cpu freq

11 years ago[FIX] add check for recv
Nikita Kalyazin [Sun, 7 Jul 2013 10:05:42 +0000 (14:05 +0400)]
[FIX] add check for recv

11 years ago[FIX] remove meaningless logs
Nikita Kalyazin [Sun, 7 Jul 2013 10:05:20 +0000 (14:05 +0400)]
[FIX] remove meaningless logs

11 years ago[REFACTOR] remove useless free_sys_info
Nikita Kalyazin [Sun, 7 Jul 2013 10:04:45 +0000 (14:04 +0400)]
[REFACTOR] remove useless free_sys_info

There is reset_system_info() doing exactly the same.

11 years ago[FIX] add reset system info
Nikita Kalyazin [Sun, 7 Jul 2013 10:03:59 +0000 (14:03 +0400)]
[FIX] add reset system info

11 years agoMerge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manag...
Nikita Kalyazin [Sun, 7 Jul 2013 09:37:04 +0000 (13:37 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol

11 years ago[FEATURE] ugly probe messages support
Nikita Kalyazin [Sun, 7 Jul 2013 09:34:59 +0000 (13:34 +0400)]
[FEATURE] ugly probe messages support

They will be sent by probe.so.
I added filtering for such messages and writing them to the buffer.

Thus, probe.so isn't writing to the buffer. Instead it sends probe
messages to manager.

11 years ago[IMPROVE] transfer thread: add splice write result check
Nikita Kalyazin [Sun, 7 Jul 2013 09:11:59 +0000 (13:11 +0400)]
[IMPROVE] transfer thread: add splice write result check

11 years ago[FIX] ioctl fix.
Vitaliy Cherepanov [Thu, 4 Jul 2013 16:13:38 +0000 (20:13 +0400)]
[FIX] ioctl fix.

 - transport start,stop,config,swap_inst_add,swap_inst_remove messages
 to driver
 - cat replays events from start message before send to drv
 - print buffer debug improved

11 years ago[FIX] add swap_message_parser.ko to insert and remove daemon functions
Vitaliy Cherepanov [Thu, 4 Jul 2013 13:34:49 +0000 (17:34 +0400)]
[FIX] add swap_message_parser.ko to insert and remove daemon functions

11 years ago[FIX] segmentaion fault
Vitaliy Cherepanov [Thu, 4 Jul 2013 10:24:09 +0000 (14:24 +0400)]
[FIX] segmentaion fault

 - try send corrupted data

11 years ago[FIX] release allocated memory
Vitaliy Cherepanov [Thu, 4 Jul 2013 10:17:26 +0000 (14:17 +0400)]
[FIX] release allocated memory

 - release sys_info structure in get_system_info
   in case fail get some system information

11 years ago[FIX] msg_t type change
Vitaliy Cherepanov [Thu, 4 Jul 2013 10:12:23 +0000 (14:12 +0400)]
[FIX] msg_t type change

 - char *payload changed to payload[0]

11 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Wed, 3 Jul 2013 14:15:12 +0000 (18:15 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

Conflicts:
daemon/da_protocol.c
daemon/transfer_thread.c

11 years ago[FIX] duplicated events from sampling thread
Nikita Kalyazin [Wed, 3 Jul 2013 13:49:46 +0000 (17:49 +0400)]
[FIX] duplicated events from sampling thread

11 years ago[FEATURE] add reconfigure
Nikita Kalyazin [Wed, 3 Jul 2013 13:49:19 +0000 (17:49 +0400)]
[FEATURE] add reconfigure

11 years ago[FUATERE] add ioctl send
Vitaliy Cherepanov [Wed, 3 Jul 2013 13:07:33 +0000 (17:07 +0400)]
[FUATERE] add ioctl send

 - ioctl add
 - debugs move to debug.c debug.h

11 years ago[FEATURE] add on/off of cpu/memory and recording features
Nikita Kalyazin [Wed, 3 Jul 2013 12:19:40 +0000 (16:19 +0400)]
[FEATURE] add on/off of cpu/memory and recording features

Also refactoring and style.

11 years ago[REFACTOR] extract method: exec_app
Nikita Kalyazin [Wed, 3 Jul 2013 11:31:55 +0000 (15:31 +0400)]
[REFACTOR] extract method: exec_app

11 years ago[FIX] transfer thread warnings
Nikita Kalyazin [Wed, 3 Jul 2013 09:32:27 +0000 (13:32 +0400)]
[FIX] transfer thread warnings

11 years ago[FIX] move replay_thread uninit
Nikita Kalyazin [Wed, 3 Jul 2013 09:32:06 +0000 (13:32 +0400)]
[FIX] move replay_thread uninit

11 years ago[FIX] warnings in system_info_get_value_*
Nikita Kalyazin [Wed, 3 Jul 2013 09:31:40 +0000 (13:31 +0400)]
[FIX] warnings in system_info_get_value_*

11 years ago[FIX] add send result check
Nikita Kalyazin [Wed, 3 Jul 2013 09:31:10 +0000 (13:31 +0400)]
[FIX] add send result check

11 years ago[FIX] spontaneous crashes: wrong free
Nikita Kalyazin [Wed, 3 Jul 2013 09:30:36 +0000 (13:30 +0400)]
[FIX] spontaneous crashes: wrong free

11 years ago[REFACTOR] _msg_t -> msg_reply_t
Nikita Kalyazin [Wed, 3 Jul 2013 09:29:06 +0000 (13:29 +0400)]
[REFACTOR] _msg_t -> msg_reply_t

11 years ago[CLEAN] remove useless stuff
Nikita Kalyazin [Wed, 3 Jul 2013 09:27:52 +0000 (13:27 +0400)]
[CLEAN] remove useless stuff

11 years ago[FIX] add checks when starting transfer thread
Nikita Kalyazin [Wed, 3 Jul 2013 07:38:50 +0000 (11:38 +0400)]
[FIX] add checks when starting transfer thread

11 years ago[FIX] move sampling stop after terminate app
Nikita Kalyazin [Wed, 3 Jul 2013 07:38:25 +0000 (11:38 +0400)]
[FIX] move sampling stop after terminate app

11 years ago[FIX] add kill app before profiling
Nikita Kalyazin [Wed, 3 Jul 2013 07:12:52 +0000 (11:12 +0400)]
[FIX] add kill app before profiling

11 years ago[FIX] target info: storage size mb -> b
Nikita Kalyazin [Tue, 2 Jul 2013 14:56:35 +0000 (18:56 +0400)]
[FIX] target info: storage size mb -> b

11 years ago[FIX] target info update
Nikita Kalyazin [Tue, 2 Jul 2013 14:49:44 +0000 (18:49 +0400)]
[FIX] target info update

11 years ago[FIX] get binary info (forgotten return id)
Nikita Kalyazin [Tue, 2 Jul 2013 14:48:18 +0000 (18:48 +0400)]
[FIX] get binary info (forgotten return id)

11 years ago[CLEAN] da_protocol.c
Nikita Kalyazin [Tue, 2 Jul 2013 10:09:53 +0000 (14:09 +0400)]
[CLEAN] da_protocol.c

11 years ago[FIX] uninit functions for prof session
Nikita Kalyazin [Tue, 2 Jul 2013 10:01:50 +0000 (14:01 +0400)]
[FIX] uninit functions for prof session

11 years ago[FIX] func count of args + args -> args (string)
Nikita Kalyazin [Tue, 2 Jul 2013 09:59:31 +0000 (13:59 +0400)]
[FIX] func count of args + args -> args (string)

Proto change from 2013/07/02

11 years ago[IMPROVE] install path: heuristic for Win like paths
Dmitry Bogatov [Tue, 2 Jul 2013 08:45:19 +0000 (12:45 +0400)]
[IMPROVE] install path: heuristic for Win like paths

11 years ago[FEATURE] install path extraction
Dmitry Bogatov [Tue, 2 Jul 2013 08:43:41 +0000 (12:43 +0400)]
[FEATURE] install path extraction

11 years ago[FEATURE] add MSG_TERMINATE generation
Nikita Kalyazin [Tue, 2 Jul 2013 07:55:04 +0000 (11:55 +0400)]
[FEATURE] add MSG_TERMINATE generation

11 years ago[FIX] us -> ns + refactoring
Nikita Kalyazin [Tue, 2 Jul 2013 07:54:23 +0000 (11:54 +0400)]
[FIX] us -> ns + refactoring

11 years ago[FIX] replay thread cancellation
Nikita Kalyazin [Tue, 2 Jul 2013 07:23:22 +0000 (11:23 +0400)]
[FIX] replay thread cancellation

Also:
 - build warnings;
 - start and stop when primary app appears and disappears.

11 years ago[FIX] update todos
Nikita Kalyazin [Tue, 2 Jul 2013 07:23:08 +0000 (11:23 +0400)]
[FIX] update todos

11 years ago[FIX] transfer thread minor fixes
Nikita Kalyazin [Tue, 2 Jul 2013 07:22:33 +0000 (11:22 +0400)]
[FIX] transfer thread minor fixes

11 years ago[FIX] error return values
Nikita Kalyazin [Tue, 2 Jul 2013 07:21:51 +0000 (11:21 +0400)]
[FIX] error return values

11 years ago[FIX] multistart fix (mostly transfer thread)
Nikita Kalyazin [Mon, 1 Jul 2013 16:03:36 +0000 (20:03 +0400)]
[FIX] multistart fix (mostly transfer thread)

 - removed redundant terminate_all notifications (though one of them
   still somehow comes to our daemonLoop() as "unknown socket";
 - added blocking reading from buffer at first;
 - do not exit daemonLoop() after stop command coming.

11 years ago[FIX] more correct modules removal
Nikita Kalyazin [Mon, 1 Jul 2013 16:02:36 +0000 (20:02 +0400)]
[FIX] more correct modules removal

11 years ago[FIX] remove text send to host
Nikita Kalyazin [Mon, 1 Jul 2013 16:02:09 +0000 (20:02 +0400)]
[FIX] remove text send to host

11 years ago[FIX] transfer thread minor fixes
Nikita Kalyazin [Mon, 1 Jul 2013 16:00:30 +0000 (20:00 +0400)]
[FIX] transfer thread minor fixes

11 years ago[FIX] memory related fd leak
Nikita Kalyazin [Mon, 1 Jul 2013 15:59:02 +0000 (19:59 +0400)]
[FIX] memory related fd leak

11 years ago[FIX] replay thread reset
Nikita Kalyazin [Mon, 1 Jul 2013 15:58:25 +0000 (19:58 +0400)]
[FIX] replay thread reset

11 years ago[FIX] recover mistakenly deleted array
Nikita Kalyazin [Mon, 1 Jul 2013 15:57:58 +0000 (19:57 +0400)]
[FIX] recover mistakenly deleted array

11 years ago[FIX] remove debug print
Nikita Kalyazin [Mon, 1 Jul 2013 06:06:28 +0000 (10:06 +0400)]
[FIX] remove debug print

11 years ago[FIX] Increase subbuf size
Nikita Kalyazin [Mon, 1 Jul 2013 06:06:14 +0000 (10:06 +0400)]
[FIX] Increase subbuf size

11 years ago[FIX] Add forgotten transfer thread
Nikita Kalyazin [Mon, 1 Jul 2013 06:05:38 +0000 (10:05 +0400)]
[FIX] Add forgotten transfer thread

11 years ago[FIX] add transfer thread (works with real buffer)
Nikita Kalyazin [Sun, 30 Jun 2013 14:38:42 +0000 (18:38 +0400)]
[FIX] add transfer thread (works with real buffer)

11 years ago[FIX] update replay thread init
Nikita Kalyazin [Sun, 30 Jun 2013 12:55:14 +0000 (16:55 +0400)]
[FIX] update replay thread init

Fix of b8a4abf9c8fbedafa5f568092d87c14eb0ee8c81

11 years ago[FIX] add insert buffer modules + refactor
Nikita Kalyazin [Sun, 30 Jun 2013 12:54:38 +0000 (16:54 +0400)]
[FIX] add insert buffer modules + refactor

11 years ago[REFACTOR] separate buffer code
Nikita Kalyazin [Sun, 30 Jun 2013 12:42:01 +0000 (16:42 +0400)]
[REFACTOR] separate buffer code

11 years ago[FIX] replay + refactoring
Nikita Kalyazin [Sun, 30 Jun 2013 11:27:15 +0000 (15:27 +0400)]
[FIX] replay + refactoring

11 years ago[FIX] add wrapper for replay thread
Nikita Kalyazin [Sun, 30 Jun 2013 09:38:39 +0000 (13:38 +0400)]
[FIX] add wrapper for replay thread

In 6275401408a39c745c7c800539251178af988052 it executed in main thread

11 years ago[FIX] remove clutter
Nikita Kalyazin [Sun, 30 Jun 2013 09:37:58 +0000 (13:37 +0400)]
[FIX] remove clutter

Introduced in 6275401408a39c745c7c800539251178af988052

11 years ago[FIX] warning war
Vitaliy Cherepanov [Fri, 28 Jun 2013 13:56:47 +0000 (17:56 +0400)]
[FIX] warning war

11 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Fri, 28 Jun 2013 11:46:47 +0000 (15:46 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

Conflicts:
daemon/da_protocol.h

11 years ago[FEATURE] add replay events
Vitaliy Cherepanov [Fri, 28 Jun 2013 11:42:07 +0000 (15:42 +0400)]
[FEATURE] add replay events

11 years ago[FIX] launch and kill tizen application
Nikita Kalyazin [Fri, 28 Jun 2013 11:34:47 +0000 (15:34 +0400)]
[FIX] launch and kill tizen application

Tested only for tizen applications.
Bugs:
 - calculator: segfault (it is so even for vanilla version);
 - yandex maps;
 - other applications if use without reboot.

Works:
 - setting;
 - browser;
 - contacts;
 - metro tizen.

Works with:
 - probe: 5cbcd39327e3bac3596bd217c0c05b65dbe07c2b

11 years ago[FIX] LOCALTEST build fix (system information)
Vitaliy Cherepanov [Wed, 26 Jun 2013 17:50:04 +0000 (21:50 +0400)]
[FIX] LOCALTEST build fix (system information)

    dummy values in system info structure are
    energy = 1;
wifi_status = 2;
bt_status = 3;
gps_status = 4;
brightness_status = 5;
camera_status = 6;
sound_status = 7;
audio_status = 8;
vibration_status = 9;
voltage_status = 0xa;
rssi_status = 0xb;
video_status = 0xc;
call_status = 0xd;
dnet_status = 0xe;
disk_read_size = 0x20;
disk_write_size = 0x21;
network_send_size = 0x22;
network_receive_size = 0x23;

11 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Wed, 26 Jun 2013 15:23:50 +0000 (19:23 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

11 years ago[FIX] MSG_SYSTEM message generation
Vitaliy Cherepanov [Wed, 26 Jun 2013 15:15:43 +0000 (19:15 +0400)]
[FIX] MSG_SYSTEM message generation

-system information generates by get_system_info function
get_system_info redesigned. function contend divides on subfuntions
(subfunction are fill_system_*)

-fix some data content fill for MSG_SYSTEM

-add debug for MSG_SYSTEM

11 years ago[FIX] protocol correction 26.06.2013
Vitaliy Cherepanov [Wed, 26 Jun 2013 14:12:30 +0000 (18:12 +0400)]
[FIX] protocol correction 26.06.2013

disk read size and write size in MSG_SYSTEM msg move to pos after DNet status

11 years ago[FIX] get_cpu_frequency function fix
Vitaliy Cherepanov [Wed, 26 Jun 2013 14:06:19 +0000 (18:06 +0400)]
[FIX] get_cpu_frequency function fix

disabled cores fix
cpu search by file <sys/devices/system/cpu/cpu*/online> present
and get freq from <sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_freq>

11 years ago[FIX] wrong sizeof: sizeof(msg) -> sizeof(*msg)
Nikita Kalyazin [Wed, 26 Jun 2013 07:58:04 +0000 (11:58 +0400)]
[FIX] wrong sizeof: sizeof(msg) -> sizeof(*msg)

Fix to d7a1eef25601fe1b7c297d3513a75eea5631fafb

11 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Mon, 24 Jun 2013 16:12:33 +0000 (20:12 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

11 years ago[FIX] real binary info
Nikita Kalyazin [Mon, 24 Jun 2013 16:12:13 +0000 (20:12 +0400)]
[FIX] real binary info

 - send_reply() intoduced;
 - elf.c and elf.h added.

11 years ago[FIX] unknown typo
Nikita Kalyazin [Mon, 24 Jun 2013 16:10:29 +0000 (20:10 +0400)]
[FIX] unknown typo

11 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Mon, 24 Jun 2013 16:08:55 +0000 (20:08 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

11 years ago[FIX] touch and key event send info
Vitaliy Cherepanov [Mon, 24 Jun 2013 16:07:49 +0000 (20:07 +0400)]
[FIX] touch and key event send info

11 years agoMerge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manag...
Nikita Kalyazin [Mon, 24 Jun 2013 13:07:29 +0000 (17:07 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol

11 years ago[FIX] real target info
Nikita Kalyazin [Mon, 24 Jun 2013 13:06:49 +0000 (17:06 +0400)]
[FIX] real target info

NOTICE: Network type is a string which is not consistent with the
current protocol.

11 years ago[FIX] remove NMSG_ACK_FLAG
Vitaliy Cherepanov [Mon, 24 Jun 2013 12:09:45 +0000 (16:09 +0400)]
[FIX] remove NMSG_ACK_FLAG

add switch case for conver msg flags to msg ack flags for response msg generate

11 years ago[FIX] HOST_BUILD define chage to LOCALTEST
Vitaliy Cherepanov [Mon, 24 Jun 2013 10:53:49 +0000 (14:53 +0400)]
[FIX] HOST_BUILD define chage to LOCALTEST

11 years ago[FIX] real storage size (target info)
Nikita Kalyazin [Mon, 24 Jun 2013 08:43:04 +0000 (12:43 +0400)]
[FIX] real storage size (target info)

11 years ago[FIX] remove MSG_SWAP_INST
Nikita Kalyazin [Mon, 24 Jun 2013 08:30:00 +0000 (12:30 +0400)]
[FIX] remove MSG_SWAP_INST

11 years ago[FIX] system memory -> int64
Nikita Kalyazin [Mon, 24 Jun 2013 08:13:36 +0000 (12:13 +0400)]
[FIX] system memory -> int64

According Jun 24, 2013

11 years ago[FIX] real data in system memory
Nikita Kalyazin [Sun, 23 Jun 2013 12:40:20 +0000 (16:40 +0400)]
[FIX] real data in system memory

These values are in kb (bytes can overflow 32bit variables).

11 years ago[FIX] MSG_SYSTEM works partially
Nikita Kalyazin [Sun, 23 Jun 2013 11:51:35 +0000 (15:51 +0400)]
[FIX] MSG_SYSTEM works partially

 - MSG_ERROR, MSG_RECORD, MSG_TERMINATE possibly broken

11 years ago[STYLE] Makefile
Nikita Kalyazin [Fri, 21 Jun 2013 13:10:52 +0000 (17:10 +0400)]
[STYLE] Makefile

11 years ago[FIX] Remove useless -I.
Nikita Kalyazin [Fri, 21 Jun 2013 13:06:04 +0000 (17:06 +0400)]
[FIX] Remove useless -I.

11 years ago[FIX] Some host build warnings
Nikita Kalyazin [Fri, 21 Jun 2013 12:46:00 +0000 (16:46 +0400)]
[FIX] Some host build warnings

11 years ago[FIX] Add meaningful error messages
Nikita Kalyazin [Fri, 21 Jun 2013 12:11:01 +0000 (16:11 +0400)]
[FIX] Add meaningful error messages

11 years ago[FIX] Move -O0 and -g flags to HOST_BUILD
Nikita Kalyazin [Fri, 21 Jun 2013 09:16:31 +0000 (13:16 +0400)]
[FIX] Move -O0 and -g flags to HOST_BUILD

11 years ago[FIX] parse typo
Nikita Kalyazin [Fri, 21 Jun 2013 09:05:48 +0000 (13:05 +0400)]
[FIX] parse typo