platform/core/system/swap-manager.git
8 years ago[FIX] UIHV: screenshot geometry 85/60685/3
Alexander Aksenov [Fri, 25 Dec 2015 13:04:24 +0000 (16:04 +0300)]
[FIX] UIHV: screenshot geometry

Now for objects with negative coordinates only visible part
is stored.

Change-Id: I6d8689409e09be21293d0b51716c7df32c5dc455
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] UIHV: add build flags 84/60684/3
Alexander Aksenov [Thu, 24 Dec 2015 15:29:33 +0000 (18:29 +0300)]
[FIX] UIHV: add build flags

Add -mno-unaligned-access -mfloat-abi=soft to fix
unaligned access.

Change-Id: I1a2c522391bcedd84c419bf650efe5a181c9ccf3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] UIHV: build for ARM 83/60683/2
Alexander Aksenov [Thu, 24 Dec 2015 09:23:37 +0000 (12:23 +0300)]
[FIX] UIHV: build for ARM

Add -fPIC flag for UIHV object files building.

Change-Id: Id0d37be92be36bc265bc44c7fb7456acb4abd773
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[PROTO] Increment protocol verion 82/60682/3
Alexander Aksenov [Tue, 22 Dec 2015 13:43:06 +0000 (16:43 +0300)]
[PROTO] Increment protocol verion

4.0 -> 4.1

Change-Id: I57a3383ce0172c1f7a0200b777b07e415fe0e56b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] UIHV: Fixes for release 81/60681/2
Alexander Aksenov [Tue, 22 Dec 2015 12:06:30 +0000 (15:06 +0300)]
[FIX] UIHV: Fixes for release

Issues:
- Screenshots feature failed;
- evas_render() calls failed;
- da_manger segmentation faults.

Solutions:
- Message is sent to all targets: both to the probe and uihv libraries;
- evas_render() calls temporary removed;
- Null-pointer dereference removed;

Change-Id: Ia48896e72322e738c9b27823aa20355209d641fc
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Function name fix 35/65335/1
Alexander Aksenov [Fri, 8 Apr 2016 11:37:05 +0000 (14:37 +0300)]
[FIX] Function name fix

terminate_all_target() -> terminate_all()

Change-Id: I203c6c52e6e65d4ac4f435663f6e95c529484852
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FEATURE] start ui viewer implementation 85/42785/79 SRR_20160331
Anastasia Lyupa [Thu, 2 Jul 2015 08:41:57 +0000 (11:41 +0300)]
[FEATURE] start ui viewer implementation

current protocol version : v0.6

add ui viewer lib files,
build it with da_manager,
set up connection with da_manager,
get ui hierarchy,
get ui properties for an object,
get ui rendering time

Change-Id: I5dd5fd22126fdc9dfc0faa4ca50ea1275c28fcb1
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
8 years ago[FIX] incorrect path to BT coefficient 82/56782/1
Vyacheslav Cherkashin [Tue, 12 Jan 2016 13:49:13 +0000 (16:49 +0300)]
[FIX] incorrect path to BT coefficient

Change-Id: I38fbce8936257eefbe3d8c671cb164bb7085f023
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] added bluetooth & wifi consumption 54/55654/2
Vitaliy Cherepanov [Mon, 28 Dec 2015 10:22:52 +0000 (13:22 +0300)]
[FIX] added bluetooth & wifi consumption

Added coefficients for calculation energy consumption

Change-Id: Ia6b3c2eb8706c9593778fdecca127a40ea8ce81c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FEATURE] add wifi and bt energy to SYSTEM_INFO 66/55566/1
Vitaliy Cherepanov [Fri, 25 Dec 2015 14:48:53 +0000 (17:48 +0300)]
[FEATURE] add wifi and bt energy to SYSTEM_INFO

Change-Id: I34477d1ca114882d33a35891667bb925933fbe06
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Svace issues 69/55169/1
Vitaliy Cherepanov [Tue, 22 Dec 2015 08:41:02 +0000 (11:41 +0300)]
[FIX] Svace issues

-----------------------------------------------------
| WGID  | Type                      | File          |
|----------------------------------------------------
| 24915 | NEGATIVE_CODE_ERROR       | da_protocol.c |
| 25135 | TOCTTOU_SEQUENCE          | da_protocol.c |
| 25452 | DEREF_AFTER_NULL          | da_protocol.c |
| 25453 | DEREF_AFTER_NULL          | da_protocol.c |
| 26296 | SIGNED_TO_BIGGER_UNDIGNED | sys_stat.c    |
| 26856 | NOCAST.INTEGER_OVERFLOW   | sys_stat.c    |
|----------------------------------------------------

Change-Id: I08d791b3fb592b1f56d7ecf8ad853f7f423bb2a8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] exit of "already running" processes 63/52663/4 tizen_2.4_uihv
Anatolii Nikulin [Wed, 25 Nov 2015 11:22:46 +0000 (14:22 +0300)]
[FIX] exit of "already running" processes

Send message APP_MSG_STOP_WITHOUT_KILL
for stopping instrumentation of already running applications
without exit

Change-Id: Idb74c8b9d232fd8bde84e97e3d91a7fcd419916d
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[IMPROVE] Preload: Generate ignore binaries list 79/52179/4
Alexander Aksenov [Mon, 16 Nov 2015 08:53:20 +0000 (11:53 +0300)]
[IMPROVE] Preload: Generate ignore binaries list

Issue:
Binaries ignored for preloading execution were hardcoded
in modules. This causes errors when binary names are changed.

Solution:
Now ignored binaries pathes are found on manager compile time
and are passed to kernel via debugfs.

Change-Id: Ic81e44dcde2ceff951163f602dff52ca16bc77d0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] deadlock in da_manager 86/52286/1
Anatolii Nikulin [Fri, 20 Nov 2015 10:48:45 +0000 (13:48 +0300)]
[FIX] deadlock in da_manager

Change-Id: If0cf631ef695c1db94762034a5c6e4adb73a6524
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[REFACTOR] move scripts to /usr/bin 28/52128/2
Dmitry Kovalenko [Thu, 19 Nov 2015 08:09:46 +0000 (11:09 +0300)]
[REFACTOR] move scripts to /usr/bin

Add prefix "swap_" to all scripts
Move scripts to /usr/bin
Add full paths to modules in start script

Change-Id: I50c4f487c780dec6d2fc5c43dca851c7c042fe97
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] msg_start parsing error for already runnig app 66/51866/2
Vitaliy Cherepanov [Mon, 16 Nov 2015 15:20:27 +0000 (18:20 +0300)]
[FIX] msg_start parsing error for already runnig app

error if PID=""
if PID is "" we should instrument all applications

Change-Id: I2e1ff602f1d31d5832d8859ca47a97027e4d0beb
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] remove load/unload swap_task_data.ko module 51/51251/1
Vyacheslav Cherkashin [Thu, 5 Nov 2015 17:27:45 +0000 (20:27 +0300)]
[IMPROVE] remove load/unload swap_task_data.ko module

Change-Id: I4db66a5c99c7d7d930bb491d4168ab39e8c876df
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FEATURE] already running 43/50543/1 submit/tizen/20151105.065919 submit/tizen/20151105.080754
Vyacheslav Cherkashin [Thu, 29 Oct 2015 17:15:02 +0000 (20:15 +0300)]
[FEATURE] already running

add loading/unloading swap_taskctx.ko

Change-Id: I935c61b31f48127deccf64bb034629b8363293af
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[IMPROVE] WSP data via debugfs 27/50427/1
Alexander Aksenov [Wed, 7 Oct 2015 09:54:04 +0000 (12:54 +0300)]
[IMPROVE] WSP data via debugfs

Previously webapp and ewebkit paths were hardcoded in modules,
now they are found out during manager compilation.

Change-Id: I3e43b4b3eeacde7e499a7b7796f42cf42dce17be
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] prevent issues 70/49170/1 early_boot_daemon
Vitaliy Cherepanov [Wed, 7 Oct 2015 15:33:56 +0000 (18:33 +0300)]
[FIX] prevent issues

----------------------------------------------------------------------|
| CID    | Type                     | File      | Function            |
|---------------------------------------------------------------------|
|451069  | DC.SECURE_CODING_STRTOK  | wsi.c     | wsi_set_smack_rules |
|451062  | DC.SECURE_CODING_SPRINTF | wsi.c     | wsi_set_profile     |
|451061  | DC.SECURE_CODING_SPRINTF | utils.c   | exec_app_common     |
|451060  | DC.SECURE_CODING_SPRINTF | wsi.c     | init_wsi_conn       |
|451050  | ALLOC_FREE_MISMATCH      | buffer.c  | insert_buf_modules  |
|447744  | DC.SECURE_CODING_USLEEP  | thread.c  | replay_thread       |
|---------------------------------------------------------------------|

Change-Id: Idb5ad86f483b27cca37566ac4250d9205412630f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] WSI workaround 86/48986/1
Alexander Aksenov [Fri, 2 Oct 2015 13:14:59 +0000 (16:14 +0300)]
[FIX] WSI workaround

For long start applications

Change-Id: I79ed550ad3b0204f88ad77b1663afed1575b79d9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] wsi no probes comming 84/48984/2
Vitaliy Cherepanov [Fri, 2 Oct 2015 12:54:11 +0000 (15:54 +0300)]
[FIX] wsi no probes comming

Change-Id: I5f901ed554f114739321734a60e9c6fc1461a0d6
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issue 17/48917/3
Vitaliy Cherepanov [Thu, 1 Oct 2015 12:27:18 +0000 (15:27 +0300)]
[FIX] prevent issue

---------------------------------------------------------------------------------|
| CID    | Type          | File                       | Function                 |
|--------------------------------------------------------------------------------|
| 482185 | dead code     | daemon/wsi.c               | all                      |
|--------------------------------------------------------------------------------|

Change-Id: I2a7d81ad1b859eefa7e8abbcf047372ead858b69
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] add application to ANR exclude list 49/48849/2
Vyacheslav Cherkashin [Wed, 30 Sep 2015 16:51:47 +0000 (19:51 +0300)]
[IMPROVE] add application to ANR exclude list

Change-Id: I7228f50b4c24c04231aa7847f8ca88a31d69915e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Disabling probes features 42/48842/1
Alexander Aksenov [Wed, 30 Sep 2015 10:53:46 +0000 (13:53 +0300)]
[FIX] Disabling probes features

Nofeature probes were also deleted from probe lists sended to the modules.
Now it is fixed.

Change-Id: Ieef1a305b806bf89ed6b505f40d97f08fa7e7a2f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Leaky implementaion of parse_app_inst_list. 82/48782/2
Vitaliy Cherepanov [Tue, 29 Sep 2015 11:40:33 +0000 (14:40 +0300)]
[FIX] Leaky implementaion of parse_app_inst_list.

Change-Id: I52dd11da990895df1c6fa1c2ef89c2bc5cdc99e4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] da_manager fault on wsi stop if wsi start was not call 51/48751/7
Vitaliy Cherepanov [Sat, 26 Sep 2015 15:23:39 +0000 (18:23 +0300)]
[FIX] da_manager fault on wsi stop if wsi start was not call

Change-Id: I0deae2ece2b8067158b14cc704e10b86660b5533
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] wsi crash, deadlock 04/48704/7
Vitaliy Cherepanov [Fri, 25 Sep 2015 07:06:06 +0000 (10:06 +0300)]
[FIX] wsi crash, deadlock

Change-Id: I18174cc7071b6d3283db33996dbc02cff87d6d36
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] deadlock 03/48703/4
Vitaliy Cherepanov [Fri, 25 Sep 2015 07:02:14 +0000 (10:02 +0300)]
[FIX] deadlock

deadlock on stop instrumentation (target threads)

Change-Id: I97b6a9ebe4fcb54fd67d4d0a34ab2b16426a7611
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] applications termination after instrumentition 80/48680/1
Vitaliy Cherepanov [Thu, 24 Sep 2015 15:04:03 +0000 (18:04 +0300)]
[FIX] applications termination after instrumentition

kill application if it was not connected by socket with da_manager

Change-Id: Id9ee92047c584c6af9b877cdf59f3b4743d7dd85
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] generate dlopen address 88/46988/3
Vyacheslav Cherkashin [Thu, 27 Aug 2015 19:01:53 +0000 (22:01 +0300)]
[FIX] generate dlopen address

Change-Id: I925f29cdb31b7de7bfec84ba6c01a86119cc3a30
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] MSG_GET_REAL_PATH ack 39/48539/1 root_dep_remove
Vitaliy Cherepanov [Tue, 22 Sep 2015 13:31:37 +0000 (16:31 +0300)]
[FIX] MSG_GET_REAL_PATH ack

Change-Id: I919bacfaf7d6193f2fe11cf077fd10c9bbdb8ffe
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] ack for unknown message 66/48166/1
Vitaliy Cherepanov [Tue, 15 Sep 2015 09:56:58 +0000 (12:56 +0300)]
[FIX] ack for unknown message

Change-Id: I548c0decfd50c063bfeec7f8a294ae8177662a2f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[PROTO] add MSG_GET_REAL_PATH message support 36/48036/1
Vitaliy Cherepanov [Fri, 11 Sep 2015 10:01:14 +0000 (13:01 +0300)]
[PROTO] add MSG_GET_REAL_PATH message support

Change-Id: I46123a338ab9dad9f7026dc4b109be2cf15f7033
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Add libwebsocket dependency in spec 40/47940/2
Alexander Aksenov [Thu, 10 Sep 2015 07:55:13 +0000 (10:55 +0300)]
[FIX] Add libwebsocket dependency in spec

Change-Id: Ia596d5c60e779f9273c38969b989be9a52e2fc17
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] wsi syms parsing 60/47760/1
Dmitry Kovalenko [Tue, 8 Sep 2015 11:51:43 +0000 (14:51 +0300)]
[FIX] wsi syms parsing

Change-Id: I7b51cf64e83e34d70ec75891d3f988426b04c016

8 years ago[FIX] build. call-manager 27/47327/1
Vitaliy Cherepanov [Wed, 2 Sep 2015 09:51:05 +0000 (12:51 +0300)]
[FIX] build. call-manager

Change-Id: I549d781a34f8d0f802bee5d58b710200aa72c30e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issue 69/47269/1
Vitaliy Cherepanov [Tue, 1 Sep 2015 15:01:58 +0000 (18:01 +0300)]
[FIX] prevent issue

---------------------------------------------------------------------------------|
| CID    | Type          | File                       | Function                 |
|--------------------------------------------------------------------------------|
| 476236 | Resource leak | daemon/cpp/elf/FileElf.cpp | FileElf::doGetAddrPlt386 |
|--------------------------------------------------------------------------------|

Change-Id: If2c6dd82d4540d4cb4caeb07405a47b646cf3917
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issues 40/47040/2
Anatolii Nikulin [Fri, 28 Aug 2015 10:18:06 +0000 (13:18 +0300)]
[FIX] prevent issues

Change-Id: If321129c9178fc616535e2ad2e1822dbd6870f3d
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] start.sh: full path for insmod call 32/46832/2
Vitaliy Cherepanov [Wed, 26 Aug 2015 10:36:33 +0000 (13:36 +0300)]
[FIX] start.sh: full path for insmod call

Change-Id: Icd665f27536bbb11d67961c1583f72241106a948
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] Add old json support in case of wearable 81/46981/1
Alexander Aksenov [Thu, 27 Aug 2015 13:13:06 +0000 (16:13 +0300)]
[IMPROVE] Add old json support in case of wearable

Change-Id: Iabcb35f787e177849f27d3244440a3c7f968e75f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] Add Tizen 2.4 wearable support 80/46980/1
Alexander Aksenov [Thu, 27 Aug 2015 10:02:15 +0000 (13:02 +0300)]
[IMPROVE] Add Tizen 2.4 wearable support

Changed build requires and some scripts

Change-Id: Ib686526a86f6f8eb545cb3e2a9f375ae5616ab82
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Check container feature 79/46979/1
Alexander Aksenov [Tue, 25 Aug 2015 13:23:45 +0000 (16:23 +0300)]
[FIX] Check container feature

Change-Id: I05cb93b777ba028b14253573b9e41f27f7f7bcfc
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] killing apps for TV 52/46752/3
Vyacheslav Cherkashin [Tue, 25 Aug 2015 12:15:34 +0000 (15:15 +0300)]
[FIX] killing apps for TV

Change-Id: I3203ff19729d7fce12125648227a5b9516a18787
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Remove Makefile 49/46549/1
Alexander Aksenov [Fri, 21 Aug 2015 11:42:59 +0000 (14:42 +0300)]
[FIX] Remove Makefile

Change-Id: I52d078f506fb8ec8b943c9c19c36fa9f6f0f28ac
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] Remove debug pkgs dependency for Rainbow 33/46533/3
Alexander Aksenov [Fri, 21 Aug 2015 08:53:50 +0000 (11:53 +0300)]
[IMPROVE] Remove debug pkgs dependency for Rainbow

Change-Id: I4b2e058c3c4595d61877a69d27869c855776144c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] Add plt syms search for x86 75/46475/5
Alexander Aksenov [Fri, 21 Aug 2015 08:53:04 +0000 (11:53 +0300)]
[IMPROVE] Add plt syms search for x86

Change-Id: I7daef682d4e95204c10d8fec74c97342712ee92b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] add tool for ELF parsing 74/46474/1
Konstantin Baladurin [Thu, 9 Jul 2015 14:12:28 +0000 (17:12 +0300)]
[IMPROVE] add tool for ELF parsing

Change-Id: Iefc5e85d6c4df64e973a5cab9d21e445a6479b7e
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] skip line function 84/45584/6
Vitaliy Cherepanov [Fri, 7 Aug 2015 13:34:17 +0000 (16:34 +0300)]
[FIX] skip line function

fix possible fail on reading proc files

Change-Id: I883cc7a1902c54360fdc912e64d5f8d13bc7e54e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] preload disabling feature 07/45207/5
Vitaliy Cherepanov [Mon, 3 Aug 2015 13:09:06 +0000 (16:09 +0300)]
[FIX] preload disabling feature

Change-Id: I1b1ba2a5dd3a1668831e015dd70293bad20a0292
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] 5sec application start delay 96/44896/7
Vitaliy Cherepanov [Wed, 29 Jul 2015 07:05:55 +0000 (10:05 +0300)]
[FIX] 5sec application start delay

Change-Id: I33ca71b90a0eea5a35c2e16d86dcf164cfa0438a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] web application instrumentation 62/44862/5
Vitaliy Cherepanov [Tue, 28 Jul 2015 13:12:13 +0000 (16:12 +0300)]
[FIX] web application instrumentation

disable wsi on stop instrumentation

Change-Id: Ia05341aa223222eeafe80bcd0fb83987f694eecb
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issue 93/45093/3
Vitaliy Cherepanov [Fri, 31 Jul 2015 09:55:47 +0000 (12:55 +0300)]
[FIX] prevent issue

---------------------------------------------------------------------------------------|
| CID    | Type                          | File              | Function                |
|--------------------------------------------------------------------------------------|
| 453611 | Dereference null return value | daemon/sys_stat.c | get_device_network_type |
|--------------------------------------------------------------------------------------|

Change-Id: Icca85037dedbc86692579c1ab00130f6cb52bb39
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[LISENCE] cheange to Apache-2.0 89/45089/1
Vyacheslav Cherkashin [Fri, 31 Jul 2015 09:32:31 +0000 (12:32 +0300)]
[LISENCE] cheange to Apache-2.0

Change-Id: I63b49ee162c9d5247fc3dc02975b773d1aabb655
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] build WSP_SUPPORT 64/44764/1
Vyacheslav Cherkashin [Mon, 27 Jul 2015 12:07:03 +0000 (15:07 +0300)]
[FIX] build WSP_SUPPORT

Change-Id: Ib5d503e07eab782024ea0beb85d1d7f0f8230d79
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] using stop.sh whitout root environment 94/44694/1
Vyacheslav Cherkashin [Fri, 24 Jul 2015 22:33:50 +0000 (01:33 +0300)]
[FIX] using stop.sh whitout root environment

Change-Id: I06aa8331567b35241a1e8769ec0b7893537fbab0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Start app on web profiling 26/44426/3
Vyacheslav Cherkashin [Tue, 21 Jul 2015 18:23:51 +0000 (21:23 +0300)]
[FIX] Start app on web profiling

Move port obtaining to separate thread

Change-Id: Idea7367d56168af8cc3adecb1b57267d41ee8b9e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Build for TV and Wearable 82/44382/2
Dmitry Kovalenko [Tue, 21 Jul 2015 09:07:11 +0000 (12:07 +0300)]
[FIX] Build for TV and Wearable

Change-Id: I45c14cb0ea6c783abbccf871584d9a4a7eb62526
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] Fixed LOG_ONCE in swap_debug.h 47/44347/1
Dmitry Kovalenko [Tue, 21 Jul 2015 05:52:31 +0000 (08:52 +0300)]
[FIX] Fixed LOG_ONCE in swap_debug.h

multiline defines should be in do-while block

Change-Id: Id3fea0516d57237a5e70b80223e1c25ea94ecb9e
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] add support of new call-manager API 60/44260/2
Konstantin Baladurin [Mon, 20 Jul 2015 09:33:59 +0000 (12:33 +0300)]
[FIX] add support of new call-manager API

Change-Id: I560b5849a707e521d12db33bb8b604bf912c2f5b
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
8 years ago[FIX] CPU load value 96/44196/2
Vitaliy Cherepanov [Fri, 17 Jul 2015 15:43:57 +0000 (18:43 +0300)]
[FIX] CPU load value

Change-Id: Ica9ecf08f8242c4f87953536f42c5184a4564b6f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] MSG_GET_TARGET_INFO_ACK 27/43627/3
Vitaliy Cherepanov [Sun, 12 Jul 2015 20:10:44 +0000 (23:10 +0300)]
[FIX] MSG_GET_TARGET_INFO_ACK

fix device network type

Change-Id: I1deb5237e3003761fb85f53ff01448e3c5413e08
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] replay events timing 81/44181/2
Vitaliy Cherepanov [Fri, 17 Jul 2015 11:59:56 +0000 (14:59 +0300)]
[FIX] replay events timing

Change-Id: I6a9b8a702955583566b69849df8aaea1a4d3600b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] disable WSP for tv profile 75/44175/2
Vyacheslav Cherkashin [Fri, 17 Jul 2015 10:46:32 +0000 (13:46 +0300)]
[FIX] disable WSP for tv profile

Change-Id: I4deb344c67def3734ff36a1c07de2d3e6450f070
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[IMPROVE] add WSP_SUPPORT build flag 74/44174/2
Vyacheslav Cherkashin [Fri, 17 Jul 2015 10:39:55 +0000 (13:39 +0300)]
[IMPROVE] add WSP_SUPPORT build flag

Change-Id: I817d1a23530ab5deaf13bc567d3470a2d2f5e69a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[IMPROVE] Add checker of supported features in FeatureManager 65/44165/2
Vyacheslav Cherkashin [Fri, 17 Jul 2015 09:51:50 +0000 (12:51 +0300)]
[IMPROVE] Add checker of supported features in FeatureManager

Change-Id: I09a08f002b0e7f1cd5c4d3a2729f3abf00a915bd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] workaround: ignore main() function address 47/44147/2
Vyacheslav Cherkashin [Thu, 16 Jul 2015 16:57:51 +0000 (19:57 +0300)]
[FIX] workaround: ignore main() function address

Change-Id: I252e38d0b3111e96977d68ed3c1c853e98e21122
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Change 'echo' by '/bin/echo' 17/44017/1
Dmitry Kovalenko [Thu, 16 Jul 2015 07:55:09 +0000 (10:55 +0300)]
[FIX] Change 'echo' by '/bin/echo'

This fixes issues on new binaries

Change-Id: If262c6445cd11f5bf4906b15349e4ff58d726432
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] Preload probes setup 23/43623/1
Vasiliy Ulyanov [Sun, 12 Jul 2015 12:57:10 +0000 (15:57 +0300)]
[FIX] Preload probes setup

Do not return immediately if some of the binaries are not found
on target. Otherwise the probes might not be setup properly (e.g.
if the wrong binary appears in the middle of the list).

Change-Id: I9c99f9def6922fdba11d623fe6e574ceda10ca9a
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
8 years ago[FIX] nsp stages determination 12/43512/1
Vyacheslav Cherkashin [Thu, 9 Jul 2015 17:29:44 +0000 (20:29 +0300)]
[FIX] nsp stages determination

Change-Id: Ib612c82974bcac9c75cf95201ce5c88d23e43249
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Preload flags checking 01/43001/2
Alexander Aksenov [Mon, 6 Jul 2015 17:24:36 +0000 (20:24 +0300)]
[FIX] Preload flags checking

Change-Id: I1a158850aea71f5d93f3609ae1b65ea5314b549a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] replay events 89/43089/1
Anastasia Lyupa [Tue, 7 Jul 2015 18:38:29 +0000 (21:38 +0300)]
[FIX] replay events

Change-Id: I5bdcf52ee4d0f6b067736b126a3ec7f55ad14a9a
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
9 years ago[FIX] Build with new json-c 85/43085/1
Dmitry Kovalenko [Tue, 7 Jul 2015 14:40:12 +0000 (17:40 +0300)]
[FIX] Build with new json-c

Change-Id: I6a189c070d66c8fe18f523ccbbcf64aecb741c05
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years agoRevert "[FIX] Fix: Build with new json" 55/43055/1
Dmitry Kovalenko [Tue, 7 Jul 2015 10:48:33 +0000 (03:48 -0700)]
Revert "[FIX] Fix: Build with new json"

This reverts commit 7f32c281ed8698684aae8bc5cd69843bd4ded6dd.

Change-Id: Iacee0db73c79525d00dba5029c508779dbbb4204

9 years ago[FIX] Fix: Build with new json 53/43053/1
Dmitry Kovalenko [Tue, 7 Jul 2015 10:40:52 +0000 (13:40 +0300)]
[FIX] Fix: Build with new json

Change-Id: I1c7dde2a21975df2ea9fb283e417db6ad73977d9
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[FIX] fix prevent 48/43048/1
Konstantin Baladurin [Tue, 7 Jul 2015 10:19:08 +0000 (13:19 +0300)]
[FIX] fix prevent

---------------------------------------------------------------------------
| CID    | Type          | File                    | Function             |
|--------------------------------------------------------------------------
| 451167 | Resource leak | da_protocol_inst.c      | add_preload_probes   |
|--------------------------------------------------------------------------
| 452808 | Resource leak | da_protocol_inst.c      | add_preload_probes   |
---------------------------------------------------------------------------

Change-Id: Ifd9b743ace327538508bf47ef736defab24d9774
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
9 years ago[FIX] Build with new json 21/42921/1
Dmitry Kovalenko [Mon, 6 Jul 2015 05:16:04 +0000 (08:16 +0300)]
[FIX] Build with new json

Change-Id: Ie12b37e4f9dedbbf3d265b477a980d8387cabb4d
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[IMPROVE] Preload: Breakpoint probe msg saving 36/42536/3
Alexander Aksenov [Fri, 27 Feb 2015 12:44:06 +0000 (15:44 +0300)]
[IMPROVE] Preload: Breakpoint probe msg saving

Change-Id: Ifcc1cb1fc73b4e19b498c76b3cefe010a0213bf8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] checking features for ld probes 04/42604/3
Anastasia Lyupa [Tue, 30 Jun 2015 12:17:51 +0000 (15:17 +0300)]
[FIX] checking features for ld probes

Change-Id: I5b8d863c0757a02ea90d19fc98ab9b6c63686020
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
9 years ago[FIX] fix double free and null pointer dereference 67/42667/1
Konstantin Baladurin [Wed, 1 Jul 2015 08:12:46 +0000 (11:12 +0300)]
[FIX] fix double free and null pointer dereference

Fix double free in free_lib function and null pointer derefence in
add_preload_probes function

Change-Id: I8753408c6bd655f40ffbdf58a290149ec329ea12
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
9 years ago[FIX] re:Prevent issue FORWARD_NULL 84/42584/1
Dmitry Kovalenko [Tue, 30 Jun 2015 09:57:03 +0000 (12:57 +0300)]
[FIX] re:Prevent issue FORWARD_NULL

Change-Id: Id779461b8d3807cd0f14f5ddd081054560867036
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[FIX] Prevent issue FORWARD_NULL 79/42579/1
Dmitry Kovalenko [Tue, 30 Jun 2015 09:07:00 +0000 (12:07 +0300)]
[FIX] Prevent issue FORWARD_NULL

Change-Id: If87cc8431a20f0f098a8c09b32b8ac149ba7ed65
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[FIX] enable features for second start profiling 85/42485/1
Vyacheslav Cherkashin [Mon, 29 Jun 2015 09:24:28 +0000 (12:24 +0300)]
[FIX] enable features for second start profiling

Change-Id: I017870082eaa0c74f77dcadc5b07b9654e8cb5d8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] prevent issue 18/42418/1
Konstantin Baladurin [Mon, 29 Jun 2015 05:36:53 +0000 (08:36 +0300)]
[FIX] prevent issue

--------------------------------------------------------------------------------------------
| CID    | Type                          | File               | Function                   |
|------------------------------------------------------------------------------------------|
| 451167 | Resource leak                 | da_protocol_inst.c | add_preload_probes         |
--------------------------------------------------------------------------------------------

Change-Id: Ibf76e1eb1959ff633c54b034023a40f3332bd082
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
9 years ago[FIX] Preload: getting linker path 04/42204/2
Alexander Aksenov [Wed, 24 Jun 2015 10:52:39 +0000 (13:52 +0300)]
[FIX] Preload: getting linker path

Change-Id: Ifc8408db4ad430d5707e500290def24c78a81b81
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] build fix 07/42207/1
Konstantin Baladurin [Wed, 24 Jun 2015 11:40:04 +0000 (14:40 +0300)]
[FIX] build fix

add missing ';'

Change-Id: I4005f5d73675f249f82a6f907d4fba0d1da22f00
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
9 years ago[FIX] prevent issue 02/42202/2
Konstantin Baladurin [Wed, 24 Jun 2015 10:52:36 +0000 (13:52 +0300)]
[FIX] prevent issue

------------------------------------------------------------------------------------
| CID    | Type                        | File               | Function             |
|----------------------------------------------------------------------------------|
| 351955 | Untrusted value as argument | da_protocol.c      | recv_msg_from_sock   |
|----------------------------------------------------------------------------------|

Change-Id: Ia54fd4f724ed22509f00005114ab701ca897c2dd
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
9 years ago[FIX] prevent issues 34/42034/9
Konstantin Baladurin [Mon, 22 Jun 2015 08:51:44 +0000 (11:51 +0300)]
[FIX] prevent issues

--------------------------------------------------------------------------------------------
| CID    | Type                          | File               | Function                   |
|------------------------------------------------------------------------------------------|
| 451239 | Uninitialized scalar variable | da_inst.c          | ld_add_probes_by_feature   |
|------------------------------------------------------------------------------------------|
| 451189 | Resource leak                 | FileElf.cpp        | makeRelocMap               |
|------------------------------------------------------------------------------------------|
| 451185 | Resource leak                 | FileElf.cpp        | makeRelocMap               |
|------------------------------------------------------------------------------------------|
| 451183 | Resource leak                 | FileElf.cpp        | getAddrPlt                 |
|------------------------------------------------------------------------------------------|
| 451178 | Resource leak                 | FileElf.cpp        | readSectionsInfo           |
|------------------------------------------------------------------------------------------|
| 451172 | Resource leak                 | da_protocol_inst.c | parse_app_inst_list        |
|------------------------------------------------------------------------------------------|
| 451168 | Resource leak                 | da_protocol_inst.c | add_preload_probes         |
|------------------------------------------------------------------------------------------|
| 451167 | Resource leak                 | da_protocol_inst.c | add_preload_probes         |
|------------------------------------------------------------------------------------------|
| 451125 | Null pointer dereferences     | wsi.c              | wsi_set_smack_rules        |
|------------------------------------------------------------------------------------------|
| 451123 | Null pointer dereferences     | da_protocol_inst.c | feature_add_func_inst_list |
|------------------------------------------------------------------------------------------|
| 451122 | Null pointer dereferences     | wsi.c              | send_request               |
|------------------------------------------------------------------------------------------|
| 451121 | Null pointer dereferences     | da_protocol_inst.c | feature_add_func_inst_list |
|------------------------------------------------------------------------------------------|
| 451076 | Deleting void pointer         | FileElf.cpp        | putSection                 |
--------------------------------------------------------------------------------------------

Change-Id: If21d9b2983b3c97d6fa94761f49334f975c94b1b
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
9 years agoRevert "[FIX] startup profiling for basic app" 39/41939/2
Anastasia Lyupa [Fri, 19 Jun 2015 08:04:16 +0000 (01:04 -0700)]
Revert "[FIX] startup profiling for basic app"

This reverts commit d4b14ad6e1859d0974f295f8364678f5b14ea4fc.

Because launchpad_preloading_preinitializing_daemon was removed.

Change-Id: Id6ffaef87f283049515cf6564161508fa6fd9d0e

9 years ago[FIX] start.sh for builtin modules 03/41903/1
Dmitry Kovalenko [Fri, 19 Jun 2015 05:25:40 +0000 (08:25 +0300)]
[FIX] start.sh for builtin modules

Change-Id: I6fbf0eaf62d2c64de0559111f81527dcc79f293a
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[FIX] startup profiling for basic app 36/41536/7
Anastasia Lyupa [Tue, 16 Jun 2015 10:56:32 +0000 (13:56 +0300)]
[FIX] startup profiling for basic app

when app is launched by launchpad_preloading_preinitializing_daemon,
not launchpad-process-pool

Change-Id: I92185c259a53264c9cebae76c4ad16b3d1932c37
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
9 years ago[IMPROVE] plt functions search 79/41379/1
Vyacheslav Cherkashin [Sat, 13 Jun 2015 22:25:34 +0000 (01:25 +0300)]
[IMPROVE] plt functions search

if plt is hidden then search it dynamicaly (ARM)

Change-Id: I2f8215e76bf11f6a65c7146cc0cc29cf3daf2c45
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] Building for TV 78/41378/1
Dmitry Kovalenko [Sat, 13 Jun 2015 21:35:19 +0000 (00:35 +0300)]
[FIX] Building for TV

Change-Id: I1dece368682c5f93742dde0085f98a57bb8a9ca5
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years agoMerge branch 'tizen_2.4_dev' into tizen_2.4 31/41231/1
Dmitry Kovalenko [Thu, 11 Jun 2015 18:23:16 +0000 (21:23 +0300)]
Merge branch 'tizen_2.4_dev' into tizen_2.4

Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Conflicts:
daemon/da_inst.c
daemon/da_protocol.c
daemon/da_protocol_inst.c
daemon/input_events.c
daemon/utils.c
scripts/start.sh

Change-Id: I87ccf885eec04e460f89c735ead969fb4ddf2b08

9 years agoMerge branch 'tizen_2.4_pre' into tizen_2.4 18/41218/1
Dmitry Kovalenko [Thu, 11 Jun 2015 16:21:01 +0000 (19:21 +0300)]
Merge branch 'tizen_2.4_pre' into tizen_2.4

Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Conflicts:
daemon/start.sh
daemon/threads.c
daemon/utils.c

Change-Id: I168a867a8a9410e17a190a6c139bf522266bc36e

9 years ago[FIX] segmentation fault on replay events 99/40499/4
Vitaliy Cherepanov [Thu, 4 Jun 2015 10:46:46 +0000 (13:46 +0300)]
[FIX] segmentation fault on replay events

Change-Id: Ia54f8db12ff65ec07b9137ddbe38f6997a08b6fe
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FEATURE] native setup profiling implement 61/40961/5
Vyacheslav Cherkashin [Wed, 10 Jun 2015 10:42:19 +0000 (13:42 +0300)]
[FEATURE] native setup profiling implement

Change-Id: If7945d80108486b0d943790798fc6cb7cf61ea44
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[IMPROVE] create AppInst* 60/40960/3
Vyacheslav Cherkashin [Wed, 10 Jun 2015 10:33:02 +0000 (13:33 +0300)]
[IMPROVE] create AppInst*

Change-Id: I4fef70c75c3142a7a3dd869011a6f7892848ec07
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[REFACTOR] move *.cpp files to daemon/cpp/ 59/40959/2
Vyacheslav Cherkashin [Mon, 1 Jun 2015 16:48:19 +0000 (19:48 +0300)]
[REFACTOR] move *.cpp files to daemon/cpp/

Change-Id: I8efbd1cc2b45e8dcf929870c8f3b774e2f4d1a73
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[REFACTOR] add process MSG_GET_TARGET_INFO function 15/40515/3
Vitaliy Cherepanov [Thu, 4 Jun 2015 13:20:44 +0000 (16:20 +0300)]
[REFACTOR] add process MSG_GET_TARGET_INFO function

Change-Id: I11b7fe4cceabd6bcdc3aefb25e683dfeb320f29d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>