Dmitry Bogatov [Tue, 27 Aug 2013 13:43:55 +0000 (17:43 +0400)]
[FIX] Enforce usage of debug binary for 'get_build_dir'
Nikita Kalyazin [Tue, 20 Aug 2013 05:42:34 +0000 (09:42 +0400)]
[FIX] wrong app arguments strip
Fix for
40fa9c37f665eb60442bf53ae5730f17ef6cda98.
If there are no arguments, invalid app path is returned.
Dmitry Bogatov [Mon, 19 Aug 2013 11:46:44 +0000 (15:46 +0400)]
[FIX] wrong pid in log
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:23 +0000 (09:16 +0400)]
[IMPROVE] move modules removing to terminate function
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:22 +0000 (09:16 +0400)]
[IMPROVE] eliminate global variable
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:21 +0000 (09:16 +0400)]
[REFACTOR] set smack labels in separate function
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:20 +0000 (09:16 +0400)]
[REFACTOR] replace code with standard function
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:19 +0000 (09:16 +0400)]
[REFACTOR] split `targetEventHandler' into independent cases
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:18 +0000 (09:16 +0400)]
[IMPROVE] call cleanup functions on signals
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:17 +0000 (09:16 +0400)]
[REFACTOR] make function naming more consistent
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:16 +0000 (09:16 +0400)]
[REFACTOR] improve function naming
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:15 +0000 (09:16 +0400)]
[REFACTOR] remove level of indentaion in `main'
All error logging is already performed in initializeManager.
Nikita Kalyazin [Mon, 19 Aug 2013 06:57:57 +0000 (10:57 +0400)]
[IMPROVE] run app with arguments
It is possible to pass exe path with arguments, e.g:
"/usr/bin/expedite -e fb -t 1 -c 10".
They are stripped by strip_args() to check if the executable exists.
Vitaliy Cherepanov [Tue, 13 Aug 2013 07:43:00 +0000 (11:43 +0400)]
[FIX] daemon terminate on control msg protocol errors fix
Vitaliy Cherepanov [Mon, 12 Aug 2013 13:40:08 +0000 (17:40 +0400)]
[IMPROVE] add user space inst check in parse start message
Vitaliy Cherepanov [Mon, 12 Aug 2013 08:17:42 +0000 (12:17 +0400)]
[FIX] free allocated memory if parse user space fail
Nikita Kalyazin [Sat, 10 Aug 2013 08:02:40 +0000 (12:02 +0400)]
[FIX] feature check (forgotten function sampling)
fix to
5648cb29b512d81025a86fd4b1cd115ae7e6daec
Vitaliy Cherepanov [Fri, 9 Aug 2013 13:06:54 +0000 (17:06 +0400)]
[IMPROVE] message config check add
Vitaliy Cherepanov [Fri, 9 Aug 2013 07:36:55 +0000 (11:36 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Vitaliy Cherepanov [Fri, 9 Aug 2013 07:34:46 +0000 (11:34 +0400)]
[IMPROVE] remove unnecessary file descriptor checking
Nikita Kalyazin [Thu, 8 Aug 2013 14:35:19 +0000 (18:35 +0400)]
[FIX] app start time received in usecs
Vitaliy Cherepanov [Thu, 8 Aug 2013 14:50:37 +0000 (18:50 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Vitaliy Cherepanov [Thu, 8 Aug 2013 14:43:43 +0000 (18:43 +0400)]
[IMPROVE] message application information check add
Nikita Kalyazin [Thu, 8 Aug 2013 14:35:19 +0000 (18:35 +0400)]
[FIX] app start time received in usecs
Vitaliy Cherepanov [Wed, 7 Aug 2013 15:26:23 +0000 (19:26 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Vitaliy Cherepanov [Wed, 7 Aug 2013 15:25:39 +0000 (19:25 +0400)]
[PROTO] add disk reads and writes to sytem message
Nikita Kalyazin [Wed, 7 Aug 2013 13:58:30 +0000 (17:58 +0400)]
[IMPROVE] return 0 if no video status file
Nikita Kalyazin [Wed, 7 Aug 2013 13:39:21 +0000 (17:39 +0400)]
[FIX] print_buf() info param type
Nikita Kalyazin [Wed, 7 Aug 2013 13:38:55 +0000 (17:38 +0400)]
[FIX] forgotten header
Nikita Kalyazin [Wed, 7 Aug 2013 13:38:30 +0000 (17:38 +0400)]
[FIX] forgotten prototype in header
Nikita Kalyazin [Wed, 7 Aug 2013 13:38:03 +0000 (17:38 +0400)]
[FIX] wrong return type and comment
Nikita Kalyazin [Wed, 7 Aug 2013 13:37:37 +0000 (17:37 +0400)]
[FIX] wrong return type
Vitaliy Cherepanov [Wed, 7 Aug 2013 13:34:49 +0000 (17:34 +0400)]
[FIX] video status fixed in system messages
Vitaliy Cherepanov [Wed, 7 Aug 2013 11:04:01 +0000 (15:04 +0400)]
[FIX] get value from file at first open in get_file_status
Vitaliy Cherepanov [Wed, 7 Aug 2013 10:49:38 +0000 (14:49 +0400)]
[FIX] build fix. printBuf undefined
Vitaliy Cherepanov [Wed, 7 Aug 2013 08:00:10 +0000 (12:00 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Vitaliy Cherepanov [Wed, 7 Aug 2013 07:54:50 +0000 (11:54 +0400)]
[IMPROVE] debug changes
- printBuf tell function name wich call it
- fix parce debug
Nikita Kalyazin [Wed, 7 Aug 2013 06:01:34 +0000 (10:01 +0400)]
[IMPROVE] flush_buf is always called with system trace period
Nikita Kalyazin [Tue, 6 Aug 2013 15:54:47 +0000 (19:54 +0400)]
[IMPROVE] remove warning when no process to kill
This is ok, if the application is not running.
Vitaliy Cherepanov [Tue, 6 Aug 2013 07:52:38 +0000 (11:52 +0400)]
[FIX] segmentation fault (double free on disconnect)
Vitaliy Cherepanov [Mon, 5 Aug 2013 16:06:04 +0000 (20:06 +0400)]
[IMPROVE] get_device_network_type improve
Vitaliy Cherepanov [Mon, 5 Aug 2013 15:54:02 +0000 (19:54 +0400)]
[FIX] fix segmentation fault on GetTargetInfo message
Vitaliy Cherepanov [Fri, 2 Aug 2013 06:56:04 +0000 (10:56 +0400)]
[FIX] fix build with out DEVICE_ONLY cpp flag
Vitaliy Cherepanov [Thu, 1 Aug 2013 12:01:01 +0000 (16:01 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Conflicts:
daemon/sys_stat.c
Vitaliy Cherepanov [Thu, 1 Aug 2013 11:44:25 +0000 (15:44 +0400)]
[IMPROVE] data files for generation MSG_SYSTEM are open permanetly
- open files in init_system_file_descriptors
- files descriptors are in daemon.fd structure
Nikita Kalyazin [Thu, 1 Aug 2013 05:54:55 +0000 (09:54 +0400)]
[PROTO] flush buffer every time msg system is stored
Nikita Kalyazin [Tue, 30 Jul 2013 14:25:32 +0000 (18:25 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Nikita Kalyazin [Tue, 30 Jul 2013 14:23:25 +0000 (18:23 +0400)]
[PROTO] implement new features layout
Nikita Kalyazin [Tue, 30 Jul 2013 14:22:27 +0000 (18:22 +0400)]
[STYLE] terminate_all_target: alignment
Nikita Kalyazin [Tue, 30 Jul 2013 14:21:42 +0000 (18:21 +0400)]
[CLEAN] remove obsolete comments
Nikita Kalyazin [Tue, 30 Jul 2013 14:20:47 +0000 (18:20 +0400)]
[FIX] add check on dynamic data in MSG_SYSTEM
Nikita Kalyazin [Tue, 30 Jul 2013 14:19:58 +0000 (18:19 +0400)]
[FIX] pack_* macros
Vitaliy Cherepanov [Tue, 30 Jul 2013 12:46:20 +0000 (16:46 +0400)]
[FIX] audio status file name change (for MSG_SYSTEM)
Vitaliy Cherepanov [Mon, 29 Jul 2013 14:09:42 +0000 (18:09 +0400)]
[PROTO] MSG_SYSTEM format changed
Vitaliy Cherepanov [Mon, 29 Jul 2013 11:48:11 +0000 (15:48 +0400)]
[FEATURE] get_partition_sector_size function added
Vitaliy Cherepanov [Mon, 29 Jul 2013 10:13:23 +0000 (14:13 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Vitaliy Cherepanov [Mon, 29 Jul 2013 10:09:27 +0000 (14:09 +0400)]
[FIX] file descriptor leak fix
- get_network_stat close desc added
Nikita Kalyazin [Mon, 29 Jul 2013 09:14:25 +0000 (13:14 +0400)]
[CLEAN] remove useless debug (DEBUG_GSI)
Nikita Kalyazin [Mon, 29 Jul 2013 09:03:41 +0000 (13:03 +0400)]
[PROTO] implement new feature flags
Nikita Kalyazin [Fri, 26 Jul 2013 14:11:42 +0000 (18:11 +0400)]
[PROTO] update da_command version
Vitaliy Cherepanov [Fri, 26 Jul 2013 08:16:38 +0000 (12:16 +0400)]
[FIX] implement disk read/write, network send/recv data to message system
Vitaliy Cherepanov [Thu, 25 Jul 2013 14:03:19 +0000 (18:03 +0400)]
[FIX] actual shared mem value in MSG_SYSTEM message
Vitaliy Cherepanov [Thu, 25 Jul 2013 09:22:24 +0000 (13:22 +0400)]
[REFACTOR] add functions start_app_launch_timer stop_app_launch_timer
Vitaliy Cherepanov [Wed, 24 Jul 2013 16:42:30 +0000 (20:42 +0400)]
[FIX] build fix
- sendACKToHost function now is public
Nikita Kalyazin [Wed, 24 Jul 2013 10:00:47 +0000 (14:00 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Nikita Kalyazin [Wed, 24 Jul 2013 10:00:02 +0000 (14:00 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Conflicts:
daemon/daemon.c
Vitaliy Cherepanov [Wed, 24 Jul 2013 09:27:38 +0000 (13:27 +0400)]
[CLEAN] sendACKCodeToHost function remove
- old string protocol function sendACKCodeToHost remove
Vitaliy Cherepanov [Wed, 24 Jul 2013 09:04:26 +0000 (13:04 +0400)]
[PROTO] daemon exit criteria change
- There should be only 2 cases, when the daemon exits:
- 1. If there is no connection from host during 5 min after launch, then
exit.
- 2. If the host disconnected.
- In all other cases daemon must report an error and continue the loop.
proto discussion on 2013/07/18
Nikita Kalyazin [Wed, 24 Jul 2013 07:41:58 +0000 (11:41 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Nikita Kalyazin [Wed, 24 Jul 2013 07:37:02 +0000 (11:37 +0400)]
Merge singleton fix related changes into swap_protocol
Conflicts:
daemon/main.c
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:51 +0000 (14:33 +0400)]
[FIX] Fix more compiler warnings
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:50 +0000 (14:33 +0400)]
[STYLE] Remove all trailing whitespaces
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:49 +0000 (14:33 +0400)]
[REFACTOR] Refactor epoll set initialization.
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:48 +0000 (14:33 +0400)]
[REFACTOR] Refactor host server socket creation
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:47 +0000 (14:33 +0400)]
[REFACTOR] Refactor target sockets and sigmask initialization
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:46 +0000 (14:33 +0400)]
[FIX] Fix duplicate instance issue
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:45 +0000 (14:33 +0400)]
[IMPROVE] Increase launch timeout
Reason: 6 seconds are not enough on emulator,
huge value poses no treat as long application
actually launches.
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:44 +0000 (14:33 +0400)]
[CLEAN] Remove unused constant
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:43 +0000 (14:33 +0400)]
[FIX] Fix compiler warnings
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:42 +0000 (14:33 +0400)]
[REFACTOR] Simplify Makefile
Vitaliy Cherepanov [Tue, 23 Jul 2013 12:22:55 +0000 (16:22 +0400)]
[FIX] response to control socket on ioctl error
- if ioctl_send_msg failed then send ACK to host with
error code ERR_CANNOT_START_PROFILING
Vitaliy Cherepanov [Tue, 23 Jul 2013 11:54:58 +0000 (15:54 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Vitaliy Cherepanov [Tue, 23 Jul 2013 11:53:07 +0000 (15:53 +0400)]
[FIX] transfer thread exit fix
- if splice is failed then close pipe and exit thread
Vyacheslav Cherkashin [Tue, 23 Jul 2013 07:05:06 +0000 (11:05 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Vyacheslav Cherkashin [Tue, 23 Jul 2013 06:56:06 +0000 (10:56 +0400)]
[PROTO] expand field 'use_features' 8 --> 16 byte
Nikita Kalyazin [Mon, 22 Jul 2013 11:07:16 +0000 (15:07 +0400)]
[PROTO] remove app type from process info
Dmitry Bogatov [Fri, 19 Jul 2013 13:49:59 +0000 (17:49 +0400)]
[REFACTOR] Simplify `initialize_log' function
Vitaliy Cherepanov [Mon, 22 Jul 2013 10:30:33 +0000 (14:30 +0400)]
[FIX] fix prevent error
- merge tizen 2.2 (commit
eba26853bd9fb9fa6b278541a9784e011e76b587)
Vitaliy Cherepanov [Mon, 22 Jul 2013 08:10:40 +0000 (12:10 +0400)]
[STYLE] some long code lines divided
Vitaliy Cherepanov [Mon, 22 Jul 2013 07:39:45 +0000 (11:39 +0400)]
[FIX] add getversion command in da_command
- merge (commit
953a7c778bee4ae07e42b6a9407c412d22965ead)
- add getversion command for future compatibility
- remove unnecessary command (runevent)
Vitaliy Cherepanov [Fri, 19 Jul 2013 14:13:16 +0000 (18:13 +0400)]
Vitaliy Cherepanov [Fri, 19 Jul 2013 14:11:01 +0000 (18:11 +0400)]
[FIX] tizen 2.2 merge
-change some capi related system info (commit
5804417c4554b592660c5b2830e5ca90046ae70d,
cb9a92e5db205f3f6fa26af18cf84e5c6082dec4,
a6398a8438a9003cbaef5e3e63c6eae20bc7cca6)
- some constants are not available anymore.
- SYSTEM_INFO_KEY_BLUETOOTH_SUPPORTED, SYSTEM_INFO_KEY_CAMERA_COUNT,
SYSTEM_INFO_KEY_GPS_SUPPORTED, SYSTEM_INFO_KEY_NETWORK_TYPE,
SYSTEM_INFO_KEY_WIFI_SUPPORTED
- we change this apis to other apis.
Vitaliy Cherepanov [Thu, 18 Jul 2013 16:35:24 +0000 (20:35 +0400)]
[FIX] change is_same_app_process function (commit
b075358bc9a451f6fd34ae33530e51529fcd4bd2)
- merge with tizen 2.2
- previously, in /proc/<pid>/cmdline, exe file and non-exe file is
treated as different process.
- now, we compare 'appPath' and '/proc/<pid>/cmdline' with the name to
remove the extensions
Vitaliy Cherepanov [Wed, 17 Jul 2013 16:55:52 +0000 (20:55 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol
Vitaliy Cherepanov [Wed, 17 Jul 2013 16:53:48 +0000 (20:53 +0400)]
[FIX] startup application time fix
- process info message start time field fix
Nikita Kalyazin [Tue, 16 Jul 2013 07:48:58 +0000 (11:48 +0400)]
Merge branch 'proto_1' into swap_protocol
Vitaliy Cherepanov [Mon, 15 Jul 2013 16:50:21 +0000 (20:50 +0400)]
[FIX] complile with DEB_PRINTBUF disabled fix
Nikita Kalyazin [Mon, 15 Jul 2013 15:59:02 +0000 (19:59 +0400)]
[IMPROVE] insmod/rmmod via start/stop scripts
Vitaliy Cherepanov [Mon, 15 Jul 2013 13:17:12 +0000 (17:17 +0400)]
[FIX] change LOGE definition
Vitaliy Cherepanov [Mon, 15 Jul 2013 11:48:02 +0000 (15:48 +0400)]
[FIX] by default enabled WRN and ERR debugs
- to enable debugs make target "debug"