Alexander Aksenov [Tue, 5 Apr 2016 15:59:44 +0000 (18:59 +0300)]
[CLEAN] Remove useless code
Remove code that is related only with probe's dead code
Change-Id: Ic6311efa6bc640f01d331f4cd079ac55ea02a23f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 1 Mar 2016 11:49:21 +0000 (14:49 +0300)]
[IMPROVE] Add loader and UIHV modules support
Change-Id: I7a9c908605cc3ad447c8451d9fc6ef0258286ca3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 21 Jan 2016 19:29:02 +0000 (22:29 +0300)]
[FIX] UIHV: Writing data to file
Issue:
Previously, there was a dynamically allocated buffer of a
constant size that have been used for all of the UI elements
regardless of their count and used data size.
Sometimes this have led to buffer overflow.
Solution:
Now buffer is not used at all, the whole data is written directly
to a file.
Change-Id: I847321db086f1c8e667d2ba7d12572fb29a6897f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 28 Dec 2015 14:06:22 +0000 (17:06 +0300)]
[FIX] Target mem alloc send to host
With UIHV there are two SWAP libraries of different kind,
but manager treats them as the same library. This leads to several
errors.
Change-Id: Ib1afd9b4846084d2c2fd61201f98162cee3e5154
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Dmitry Kovalenko [Tue, 8 Sep 2015 11:51:43 +0000 (14:51 +0300)]
[FIX] wsi syms parsing
Change-Id: I7b51cf64e83e34d70ec75891d3f988426b04c016
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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
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
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>