Dmitry Kovalenko [Tue, 11 Apr 2017 11:31:26 +0000 (14:31 +0300)]
Use %license macro instead of 'cp'
Change-Id: I56e8b63bca04c81ee88bacb22b25964f5741adff
Dmitry Kovalenko [Mon, 10 Apr 2017 05:38:54 +0000 (08:38 +0300)]
Temporary disable NSP due to removing __do_app() from app-core
Change-Id: Id40eea696866c3e54461f4e9b1a105490a5ba306
Dmitry Kovalenko [Mon, 27 Feb 2017 09:46:33 +0000 (12:46 +0300)]
Remove swap-modules dependecy
Because of swap-modules is going to be built-in
Change-Id: I70f972f08bc0f2044e4edc279a2a46d1d365b6d1
Dmitry Kovalenko [Fri, 13 Jan 2017 08:23:36 +0000 (11:23 +0300)]
Disable WSI and WSP for MCD products
Change-Id: I25f35510ce582fadbf6775ead733ba7cbc793b1a
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Wed, 11 Jan 2017 11:41:49 +0000 (14:41 +0300)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I0c9143ad99fcb28c1f5c595d86dae221f9b27b0e
Gihun Chang [Mon, 2 Jan 2017 06:42:11 +0000 (15:42 +0900)]
Remove the dependency to debug repository
Change-Id: I3f35d064516b82b2baa404636797d4e6cbe8a4cc
Vitaliy Cherepanov [Mon, 9 Jan 2017 12:28:40 +0000 (15:28 +0300)]
UIHV: ignore SIGPIPE on send() call
add MSG_NOSIGNAL to send function
Change-Id: I6fb8bfdd396ca47fa7119e6550f658681cb4122d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
MyungJoo Ham [Fri, 30 Dec 2016 06:44:55 +0000 (15:44 +0900)]
DO NOT HARDCODE LIBDIR
Never ever do that again.
It breaks the build in other system.
Change-Id: I941345e686bc87230b8ca84427a0a60fd386ff10
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Anatolii Nikulin [Tue, 27 Dec 2016 15:43:39 +0000 (18:43 +0300)]
Destroy wayland queue using for capturing screenshots
Change-Id: I348a4e8213718d8a40d371f77057d4e9bdbf6d6b
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Wed, 21 Dec 2016 12:59:38 +0000 (15:59 +0300)]
For wsi socket show errno messages
Change-Id: Ib9df29ba6b8e1f341dd8298ec723ba2636e6b8fd
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Fri, 23 Dec 2016 12:08:06 +0000 (15:08 +0300)]
Fix extracting WSP data from chromium-efl for TV
Change-Id: I12accfc4d945c4e7a1f58e960d7314acfafe8321
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Ivan Baravy [Thu, 10 Nov 2016 18:00:44 +0000 (21:00 +0300)]
Build with -Wno-deprecated-declarations: readdir_r
Remove unused variable: ui_viewer_utils.c:TMP_BUF_SIZE
Change-Id: I0d16ea1736824eaecaeb3d37b5cc90f5b9d99911
Jaehun Jeong [Wed, 9 Nov 2016 10:41:42 +0000 (19:41 +0900)]
Fix build break with gcc6x
Change-Id: I85cb07b5a73983bab8bce9e6fdd4f81c8af9c121
Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
Dmitry Kovalenko [Tue, 20 Dec 2016 11:16:24 +0000 (14:16 +0300)]
Fix possible buffer overrun in fscanf
Change-Id: Ie1992c82210a591b50fc9356672cbd9615b249e8
Dmitry Kovalenko [Tue, 13 Dec 2016 07:40:22 +0000 (10:40 +0300)]
Fix SVACE issue
check json_object_array_get_idx() function return value
additionaly:
check json_tokener_parse() functions return value
Change-Id: I8eb59663a6c77c7ae0f6aa19478cbae905a78c19
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Thu, 8 Dec 2016 13:32:10 +0000 (16:32 +0300)]
Already running profiling support.
Change-Id: I6942146ce47d18ac7e374daf8554b938d57c678f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 7 Dec 2016 16:25:27 +0000 (19:25 +0300)]
UIHV: Fix data_buf initialization
Previously data_buf was NULL for log.length > 0 &&
log.length < sizeof(log.data)
Svace issue.
Change-Id: I74004cef90c2c7b05397af3b7256292a07928e85
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 7 Dec 2016 15:02:12 +0000 (18:02 +0300)]
Add checking maximum raw message size
It's max size is the same as in writer module.
Svace issue.
Change-Id: Icc5d34e67533ab675af35cd2398daf5b9be860d3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 7 Dec 2016 14:00:58 +0000 (17:00 +0300)]
Fix checking dlsym address
Svace issue
Change-Id: I571691fe830dfc589e4cf324e4c3522981b1e585
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 7 Dec 2016 14:00:23 +0000 (17:00 +0300)]
Fix checking error on gem init
Svace issue
Change-Id: I26918bfd866a1d2ba998225bc1d5b16ce0c22b11
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Thu, 17 Nov 2016 09:25:20 +0000 (12:25 +0300)]
Add initial version of reformated SWAP protocol document
Protocol is in reStructuredText format.
It can be used as it is or converted to html using docutils (Makefile included )
Change-Id: I73b2dd65c7adf9fd45547c4e038cb5ea53a94f8e
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Wed, 7 Dec 2016 13:30:43 +0000 (16:30 +0300)]
Add copyright about code copied from wayland
Change-Id: Iadcfcb7e15b6e349367083c9414b6e6dac828304
Anatolii Nikulin [Wed, 30 Nov 2016 15:04:26 +0000 (18:04 +0300)]
Add removing GOT patcher probes on stop
Change-Id: Ib49e36020d2ead7ffaf68cd3df9c11566c8f34e8
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Wed, 30 Nov 2016 14:39:39 +0000 (17:39 +0300)]
Enable Web startup profiling
Change-Id: I9938acefe6515d23d117ee1e3d71c558abb9438b
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Thu, 10 Nov 2016 11:39:57 +0000 (14:39 +0300)]
Update memps from mainstream
Change-Id: I45753fcd754a4403109f2262486363679c0a5cd9
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Dmitry Kovalenko [Thu, 24 Nov 2016 06:26:34 +0000 (09:26 +0300)]
Fix SVACE issues
- Don't check result of strstr()
- No_unlock
Change-Id: Ie65032e435cb4e5a5c8c087a9628f66d31f5fcac
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Tue, 22 Nov 2016 15:39:40 +0000 (18:39 +0300)]
nsp: workaround for elm_run@plt search
Now it is found during execution
Change-Id: Id62b56f8bbceb7a6c2062884d2ea959b7902a105
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Mon, 31 Oct 2016 14:34:01 +0000 (17:34 +0300)]
Update memps functionality
Change-Id: Ifdf5b265f85ecc4c7a05bd9d4650c777ba5c020f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 9 Nov 2016 12:34:58 +0000 (15:34 +0300)]
GOT patcher: add profiling by apps comm
Change-Id: I5c07280b566e6fab29bfe83ed7aa7bb852df2cc3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Mon, 7 Nov 2016 12:01:20 +0000 (15:01 +0300)]
Fix memory leak in reset_app_inst()
exe_path wasn't free on stop.
Change-Id: I50333bf1af793cd6aa28ae5e61310aa7ba0cee61
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 7 Nov 2016 11:48:09 +0000 (14:48 +0300)]
Fix memory leak in process_msg_get_real_path()
Using buffer on stack instead of dynamic memory allocation
for second argument of realpath().
Change-Id: Iff861b5821f77a806eb2ea62403ab34c31a510be
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Thu, 3 Nov 2016 09:18:41 +0000 (12:18 +0300)]
Add strict PATH environment variable into swap_init_gtp.sh
Change-Id: I9e8d6d51a71fd5e9cea34fccfeebbcf3dd0d1eab
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Anatolii Nikulin [Thu, 6 Oct 2016 11:44:46 +0000 (14:44 +0300)]
fix duplicate probes on da_probe_tizen.so
on each start we check probes list for library "da_probe_tizen.so",
and add necessary probes
Change-Id: Ia277c633ea8d41307428439c61ba4f808f838d3f
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Wed, 2 Nov 2016 08:03:04 +0000 (11:03 +0300)]
Fix wayland multithreaded issue
Our thread creates its own private queue for taking screenshots
instead of using wayland default queue, because it may lead to deadlocks
Change-Id: I76027f318660c1c02da533832525c3b3ea55f4ca
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Mon, 31 Oct 2016 08:18:52 +0000 (11:18 +0300)]
Fix stopping Web application
We send KILL with "owner" id
Change-Id: I50b040fcdaa4aa6a372f87a27d59b621719a8f2e
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Alexander Aksenov [Tue, 25 Oct 2016 13:16:19 +0000 (16:16 +0300)]
GOT patcher: add pthread's data initialization
Issue:
Now GOT patcher module uses probes on pthread init function, so
it needs data about pthread's path and __pthread_initialize_minimal()
offset.
Solution:
Add to swap_gtp_init.sh generation getting and writing neccessary
information.
Change-Id: If0b8f50d1ccb981d3e6a5e62df14a1a7b50659f6
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 1 Sep 2016 12:01:32 +0000 (15:01 +0300)]
GOT patcher: correct type for type and info msg
Change-Id: I4d056723ef832a4c20e1f3eaea47d809e2245a86
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 1 Sep 2016 12:00:37 +0000 (15:00 +0300)]
UIHV: consistent max size of the message
Now it is the same as in probe lib
Change-Id: I775f35f4d4d60613233386238738a1852fcb7bf7
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 26 Aug 2016 16:10:47 +0000 (19:10 +0300)]
GOT patcher: fix libraries handling
Previosly libraries were handled as applications and were added
to GOT patcher module as target binaries.
Change-Id: I33cd33088fbaf9fbcd6c537f5ffc1a2e69adddef
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 20 Apr 2016 14:55:57 +0000 (17:55 +0300)]
GOT patcher: implement initial version
Change-Id: I0e3461e75c5e25cb551a7888377cf1dc61bf49af
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Wed, 19 Oct 2016 17:49:20 +0000 (20:49 +0300)]
fix UIHV screenshot of object placed out of screen
Change-Id: Ib2bf26aae6284f604c635352d87a69bde7fb9202
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 19 Oct 2016 08:18:12 +0000 (11:18 +0300)]
fix application crash during taking UIHV screenshot
Application crash reason is touching ecore objects from separate thread.
This commit moves getting ecore objects information and screenshot
generation to ecore animator callback which calls from main thread.
Change-Id: I6678a4c03f0dc50dc2fb8c50f7d8b654fb696830
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Anatolii Nikulin [Fri, 14 Oct 2016 15:13:14 +0000 (18:13 +0300)]
Fix WSI build for TV targets
Obtain necessary info from binary instead of debug info
Change-Id: Ic235e6b81933d0c55a902cb48c54f52feeb49e2d
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Anatolii Nikulin [Thu, 8 Sep 2016 09:50:12 +0000 (12:50 +0300)]
Rework WSI
Replace webkit by libchromium, add function to get websoket ID,
update to new libwebsocket API
Change-Id: I2ab20fe23fb04114a42649ba901693de8a6cd38a
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Maxim Ostapenko [Thu, 1 Sep 2016 16:12:08 +0000 (19:12 +0300)]
Reserve one bit for LSan in enum feature_code_0.
Change-Id: Ia498747f34b9a8e29b78c2adcc0d4f53e1379b6b
Signed-off-by: Maxim Ostapenko <m.ostapenko@samsung.com>
Maxim Ostapenko [Wed, 31 Aug 2016 08:48:36 +0000 (11:48 +0300)]
Add ld.so and libdl.so to ignored objects.
We need this to avoid errors when libc.so calls free on pointer,
allocated by libdl.so with malloc.
Change-Id: I6b1c1a9db60dd44ac88d81a8c1943849eb1d423e
Signed-off-by: Maxim Ostapenko <m.ostapenko@samsung.com>
Maxim Ostapenko [Mon, 22 Aug 2016 16:04:06 +0000 (19:04 +0300)]
Wait for acknowlegenment before closing t->socket.
Wait for acknowlegenment before closing t->socket to ensure that APP_MSG_STOP
message was handled by da_probe_tizen.so.
Change-Id: Iffcfe076a820dec746777156c43a1eff23120be2
Signed-off-by: Maxim Ostapenko <m.ostapenko@samsung.com>
Gihun Chang [Mon, 12 Sep 2016 04:13:02 +0000 (13:13 +0900)]
Specify the PATH for gen_nsp_data.sh to find parse_elf
correctly.
Change-Id: I89f442c39f1cacf42019beef63b2823d364fc6d6
Dmitry Kovalenko [Fri, 9 Sep 2016 08:30:21 +0000 (11:30 +0300)]
Fix svace issue 'unreachable code'
Change-Id: I4a943dee5f2d3676e640a034300679395fc99895
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Thu, 14 Apr 2016 08:10:12 +0000 (11:10 +0300)]
Implement protocol version 4.2
Depends on modules: Implement protocol version 4.2
add 3D and GEM pss memory to system info.
Change-Id: I5b64836a5efb8259f3128af1acbba5b21fccb41f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Anatolii Nikulin [Fri, 15 Jul 2016 13:17:27 +0000 (16:17 +0300)]
fix UIHV start/stop
Depends on modules:rework UIHV init/deinit
Add enable/disable command for UIHV
Change-Id: I13daf3d9bcba8a7c8161b6fe5011e3428d7a5bf4
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Fri, 15 Jul 2016 06:15:42 +0000 (09:15 +0300)]
add missed header file
Change-Id: Ia7d3cbb36b5d655612b5d27a138d97a77e58a119
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Fri, 8 Jul 2016 10:57:59 +0000 (13:57 +0300)]
fix uihv screenshots
Use tbm buffers instead of shared memory
Change-Id: Iee460eeec2d30d51109b3f49c626263af126477c
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Wed, 6 Jul 2016 11:29:36 +0000 (14:29 +0300)]
fix svace issue
Change-Id: I80318f70ccf55403ef9eb7c73e41f1d02cf5c300
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Dmitry Kovalenko [Mon, 4 Jul 2016 04:07:53 +0000 (07:07 +0300)]
Add sctirct path to WSP dummy script
Change-Id: I09315b0518dff27fe3f3b54a1b7311249f4f445b
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Fri, 1 Jul 2016 11:23:26 +0000 (04:23 -0700)]
Merge "Add strict PATH environment variable into init scripts" into tizen
Anatolii Nikulin [Fri, 1 Jul 2016 09:19:52 +0000 (12:19 +0300)]
[FIX] nsp functions for TV
Change-Id: Ica29ab2c335c13c09fd03cb4fe199015cc673f83
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Dmitry Kovalenko [Fri, 1 Jul 2016 04:37:14 +0000 (07:37 +0300)]
Add strict PATH environment variable into init scripts
This change guarantee execution aux programs only from trusted paths.
Even most of programs has absolute path in scripts this change
will prevent security issues in further changes.
Change-Id: I108f5246c6af29eb8f3f4bff278b38941ad208f8
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Anatolii Nikulin [Thu, 30 Jun 2016 12:40:32 +0000 (15:40 +0300)]
[FIX] web application launch
Change-Id: I9384ae586a89797f6bd9a687948ac406e24e31ef
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Wed, 29 Jun 2016 13:54:11 +0000 (16:54 +0300)]
[FIX] change nsp functions
Change-Id: I6457058d3c1120fc0c378cd65426aac8e6edb691
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Dmitry Kovalenko [Fri, 27 May 2016 10:39:24 +0000 (13:39 +0300)]
[FIX] Enable UIHV for Tizen 3.0
Fix UIHV library access rights
return index_prop.priority field
Change-Id: Ib3c0c7004662c606deb62b87c6f4cd16882ea57b
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Fri, 17 Jun 2016 09:32:01 +0000 (12:32 +0300)]
[FIX] set floor domain name
Change-Id: I9effdfaa4c74c81a6b0fc40f51bc7f109796962f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 15 Jun 2016 16:44:24 +0000 (19:44 +0300)]
[FIX] Svace issues
|-------------------------------------------------------|
| WGID | Type | File |
|-------------------------------------------------------|
| 84792 | TAINTED_INT.MIGHT | ui_viewer_lib.c |
| 84797 | TAINTED_INT.MIGHT | ui_viewer_lib.c |
|-------------------------------------------------------|
Change-Id: I04f1266b6dbd37d1b7a934df2b9354c44958503e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Tue, 17 May 2016 16:54:15 +0000 (19:54 +0300)]
[IMPROVE] add handling IFUNC for ld_probes
Change-Id: I1cb6563d6ea0cfdd06574dc70e1f17d25f3017d5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Anatolii Nikulin [Fri, 27 May 2016 10:11:40 +0000 (13:11 +0300)]
[FIX] Svace issues
|-------------------------------------------------------|
| WGID | Type | File |
|-------------------------------------------------------|
| 83591 | NO_UNLOCK | ui_viewer_utils.c |
| 83589 | STATIC_OVERFLOW.SCANF | ui_viewer_lib.c |
| 83587 | PROC_USE.VULNERABLE | ui_viewer_data.c |
| 83586 | PROC_USE.VULNERABLE | ui_viewer_utils.c |
| 83594 | NO_EFFECT | ui_viewer.c |
|-------------------------------------------------------|
Change-Id: I3c4f6a4a22836d541c083ad89c3694df889ffc47
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Dmitry Kovalenko [Wed, 25 May 2016 12:32:08 +0000 (15:32 +0300)]
[FIX] Remove warnings
Change-Id: I2f86f046106ca027cafcec946668db29bfb8249b
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Anatolii Nikulin [Mon, 23 May 2016 11:25:50 +0000 (14:25 +0300)]
[FIX] Svace issues
-----------------------------------------------------
| WGID | Type | File |
|----------------------------------------------------
| 72423 | MEMORY_LEAK | da_protocol.c |
| 78692 | PROC_USE.VULNERABLE | utils.c |
|---------------------------------------------------|
Change-Id: I4896f7aa780cf331d36f729ca1e9b4993c4c0ab4
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Dmitry Kovalenko [Wed, 18 May 2016 10:56:14 +0000 (13:56 +0300)]
[FIX] Build for Tizen 3.0
Change-Id: I460a01ab49e1ad8e2f06fc819dd6b228acd9459d
Dmitry Kovalenko [Tue, 17 May 2016 14:40:59 +0000 (17:40 +0300)]
Merge branch 'tizen_2.4_dev' into tizen
Change-Id: I99cee869615515119a202964305f8a01203ea043
Dmitry Kovalenko [Mon, 16 May 2016 06:22:30 +0000 (09:22 +0300)]
[FIX] Build for TV
Remove app-core-efl-debuginfo dependecy
Change-Id: I5a42363272ce7a001098cbae1636461c5e847c32
Vitaliy Cherepanov [Fri, 15 Apr 2016 15:45:50 +0000 (18:45 +0300)]
[FIX] remove build warnings
Change-Id: I0ce47e4309303e4c74a1ad8e216447a33829ca4f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Fri, 13 May 2016 14:41:15 +0000 (17:41 +0300)]
[CLEAN] UIHV: remove APP_MSG_MAPS_INST_LIST
Change-Id: I92efb069e851e84b08718c060258b0cd2d1c8ad8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
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>
Anatolii Nikulin [Thu, 5 May 2016 07:06:51 +0000 (10:06 +0300)]
[FIX] Run target application as owner
Change-Id: I31475e006c1c70e027dbaf4c35cf868f3ebd5daf
Signed-off-by: Anatolii Nikulin <nikulin.a@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>
Dmitry Kovalenko [Wed, 20 Apr 2016 06:01:10 +0000 (09:01 +0300)]
[FIX] Fix build warning for emulators
Change-Id: I62399951f661cd7361001891d77930c9dde4c3c8
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Mon, 18 Apr 2016 10:50:48 +0000 (13:50 +0300)]
[FIX] change hard-coded path for VD
Change-Id: Ib635cf422da947e52751846a632c2e78216cce32
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 15 Apr 2016 15:45:50 +0000 (18:45 +0300)]
[FIX] remove build warnings
Change-Id: I0ce47e4309303e4c74a1ad8e216447a33829ca4f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Kovalenko [Fri, 15 Apr 2016 06:56:11 +0000 (09:56 +0300)]
[FIX] Build for TV
Change-Id: I5d98d85fb82cd164bee69590729d5ca455841b79
Signed-off-by: Dmitry Kovalenko <d.kovalenko@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 [Wed, 10 Feb 2016 12:44:22 +0000 (15:44 +0300)]
Merge branch 'tizen_2.4_dev' into tizen
Conflicts:
scripts/gen_preload_header.sh
scripts/swap_start.sh
Change-Id: I5536610f3156ba18547f53ffe5a78572d546646d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 9 Feb 2016 11:29:37 +0000 (14:29 +0300)]
[FIX] NSP support for Tizen 3.0
Change libappcore-efl.so path
Change-Id: I9342d860f792a6612c74453bbca9149cbcc10370
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@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>
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>
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>
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>
Vyacheslav Cherkashin [Thu, 19 Nov 2015 10:24:13 +0000 (13:24 +0300)]
[FIX] build for tizen_3.0
unsupported features:
- NSP
- WSP
- WSI
Change-Id: I148b715586d3af6ee79d6284363b8014a7ba7c1c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@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>