platform/core/system/swap-probe.git
8 years ago[IMPROVE] Implement screenshot and orientation event features 40/70740/1 accepted/tizen/common/20160526.150514 accepted/tizen/ivi/20160602.021551 accepted/tizen/mobile/20160602.021511 accepted/tizen/tv/20160602.021543 accepted/tizen/wearable/20160602.021524 submit/tizen/20160526.101038
Anatolii Nikulin [Thu, 19 May 2016 14:26:33 +0000 (17:26 +0300)]
[IMPROVE] Implement screenshot and orientation event features

We take screenshot using Wayland API,
for orientation events we use Tizen sensors API

Change-Id: Ib80b322d61d41e4f952d0d0ece513ed30e4898d2
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years agoMerge branch 'tizen_2.4_dev' into tizen 59/70159/1 accepted/tizen/common/20160525.155748 accepted/tizen/ivi/20160525.003335 accepted/tizen/mobile/20160525.003309 accepted/tizen/tv/20160525.003328 accepted/tizen/wearable/20160525.003320 submit/tizen/20160524.083432
Dmitry Kovalenko [Tue, 17 May 2016 14:22:21 +0000 (17:22 +0300)]
Merge branch 'tizen_2.4_dev' into tizen

Change-Id: Ib4cee57f1ac18ffd2879d8f7f9abd3a34c7f0d22

8 years ago[FIX] remove build warnings 76/69476/2 tizen_2.4_dev
Vitaliy Cherepanov [Fri, 15 Apr 2016 15:41:21 +0000 (18:41 +0300)]
[FIX] remove build warnings

Change-Id: I795b61c520063b2adb883a9daae6a4e12d96d41d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[REFACTOR] Place all probes macro in the same header 00/66600/1
Alexander Aksenov [Wed, 13 Apr 2016 09:19:28 +0000 (12:19 +0300)]
[REFACTOR] Place all probes macro in the same header

Change-Id: I871eae18a09275cccc3e0e62c12f7f7abebe628c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[REFACTOR] Rename recv_thread 99/66599/1
Alexander Aksenov [Fri, 8 Apr 2016 09:36:31 +0000 (12:36 +0300)]
[REFACTOR] Rename recv_thread

Change-Id: Ib141bbe4b992c38ea6b4933068a344b92431bf0b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[REFACTOR] Rename createSocket 98/66598/1
Alexander Aksenov [Fri, 8 Apr 2016 09:17:28 +0000 (12:17 +0300)]
[REFACTOR] Rename createSocket

Change-Id: I574304fd4d1a98683a16bd6df3db5dbf71d3cb57
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[CLEAN] Remove some more dead code 83/64783/5
Alexander Aksenov [Mon, 4 Apr 2016 15:42:24 +0000 (18:42 +0300)]
[CLEAN] Remove some more dead code

Removed:
- struct probeInfo and its interface macros;
- getCurrentTime();
- enum MonitorType;
- enum BlockLocation;
- postBlockEnd() (empty);
- gProbeDepth (unused);
- __appendTypeLog();
- getBacktraceString();
- some commented code;
- dautil.h (contains debug that is useless);

setProbePoint() replaced with inc_current_event_index(),
because it was the only usage of this function.

Change-Id: I08efc7a84a759d1585b20a8e907a851cb764e1ff
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[CLEAN] Remove dead code 71/64671/3
Alexander Aksenov [Thu, 31 Mar 2016 13:29:07 +0000 (16:29 +0300)]
[CLEAN] Remove dead code

Removed because it is never used now:
- getting app map address;
- backtraces;
- screen capture initialization;
- symbol hash table;
- ui object hash table;
- object hash table;
- detector hash table;
- map list (used for filtering callers);
- app start time storing;
- pack uicontrol and pack scene;
- handling APP_MSG_MAPS_INST_LIST message.

Change-Id: Ie93c1ea717e6b9bf0fad6fe362264a46bdd234a0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] remove build warnings 84/66184/6 accepted/tizen/common/20160420.141815 accepted/tizen/ivi/20160421.010745 accepted/tizen/mobile/20160421.010803 accepted/tizen/tv/20160421.010736 accepted/tizen/wearable/20160421.010753 submit/tizen/20160419.093641 submit/tizen/20160420.052257
Vitaliy Cherepanov [Fri, 15 Apr 2016 15:41:21 +0000 (18:41 +0300)]
[FIX] remove build warnings

Change-Id: I795b61c520063b2adb883a9daae6a4e12d96d41d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[LICENSE] Fix wrong license headers (gpl->lgpl) 78/66078/1 accepted/tizen/common/20160415.162542 accepted/tizen/ivi/20160415.084140 accepted/tizen/tv/20160415.084135 accepted/tizen/wearable/20160415.084127 submit/tizen/20160415.065220
Dmitry Kovalenko [Fri, 15 Apr 2016 05:24:32 +0000 (08:24 +0300)]
[LICENSE] Fix wrong license headers (gpl->lgpl)

Change-Id: I643b8b3bca9057dd640394c3f89ac259ebd6d1da
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FEATURE] start ui viewer implementation 91/46091/13
Anastasia Lyupa [Tue, 11 Aug 2015 08:09:04 +0000 (11:09 +0300)]
[FEATURE] start ui viewer implementation

Change-Id: Ibce8e500c5172ae76aa94858ef2104c5d1775c5c
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
8 years ago[FIX] Map file parsing 12/61912/2 SRR_20160331 accepted/tizen/common/20160315.221031 accepted/tizen/ivi/20160314.105716 accepted/tizen/mobile/20160314.105625 accepted/tizen/tv/20160314.105643 accepted/tizen/wearable/20160314.105656 submit/tizen/20160314.042129
Dmitry Kovalenko [Fri, 11 Mar 2016 06:25:27 +0000 (09:25 +0300)]
[FIX] Map file parsing

Add checking for length of device path

Change-Id: Ia1e9faeec5beee1de5db826f6f865ca5d61f878c
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] Probe names 82/61782/1
Anatolii Nikulin [Thu, 10 Mar 2016 11:54:08 +0000 (14:54 +0300)]
[FIX] Probe names

Change-Id: I83a7c84e99e83a0c2760c74adeaad5f3f54f1257
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] preloading da_probe_tizen.so 00/59200/2
Vyacheslav Cherkashin [Wed, 10 Feb 2016 18:46:09 +0000 (21:46 +0300)]
[FIX] preloading da_probe_tizen.so

Remove symbols dependency

Change-Id: Ie036049c661a769954971bcfbf77f2c671a3373e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years agoMerge branch 'tizen_2.4_dev' into tizen 99/59199/2
Vyacheslav Cherkashin [Wed, 10 Feb 2016 12:38:04 +0000 (15:38 +0300)]
Merge branch 'tizen_2.4_dev' into tizen

Conflicts:
probe_socket/libdasocket.c

Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Change-Id: I21ecf3c00ea118e027e239884647cab7319309b6

8 years ago[FIX] Svace issues 59/57759/1
Vitaliy Cherepanov [Fri, 22 Jan 2016 11:24:27 +0000 (14:24 +0300)]
[FIX] Svace issues

Change-Id: I7018b1c62d23b615eb7012a7d840e3651f2e337a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Svace issues 57/57757/1
Vitaliy Cherepanov [Fri, 22 Jan 2016 10:57:02 +0000 (13:57 +0300)]
[FIX] Svace issues

Change-Id: I07d8d84dfe5e4b4445d6a71f120e6b0f48a26cf7
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Build Dependency 17/55417/1 accepted/tizen/common/20160128.122200 accepted/tizen/ivi/20160218.023735 accepted/tizen/mobile/20151229.073456 accepted/tizen/tv/20151229.073607 accepted/tizen/wearable/20151229.073638 submit/tizen/20151229.043310 submit/tizen_common/20160127.161648 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Mun, Gwan-gyeong [Wed, 23 Dec 2015 13:27:36 +0000 (22:27 +0900)]
[FIX] Build Dependency
      change explicit mesa dependency.

Change-Id: I0cf206b982a4553be336b84c63eaf56ddfea6a17
Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
8 years ago[FIX] Svace issues 87/55187/1 accepted/tizen/mobile/20151222.225148 accepted/tizen/tv/20151222.225201 accepted/tizen/wearable/20151222.225221 submit/tizen/20151222.145839 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Vitaliy Cherepanov [Tue, 22 Dec 2015 08:09:10 +0000 (11:09 +0300)]
[FIX] Svace issues

-----------------------------------------------------
| WGID  | Type                    | File            |
|---------------------------------------------------|
| 25081 | STATIC_OVERFLOW.SCANF   | damaps.c        |
| 25089 | UNCHECKED_FUNC_RES.LIB  | da_io_posix.c   |
| 25090 | UNCHECKED_FUNC_RES.LIB  | da_io_posix.c   |
| 25091 | UNCHECKED_FUNC_RES.LIB  | da_io_posix.c   |
| 25092 | UNCHECKED_FUNC_RES.LIB  | da_io_posix.c   |
| 25093 | UNCHECKED_FUNC_RES.LIB  | da_io_posix.c   |
| 25826 | BAD_SIZEOF              | libdasocket.c   |
| 26075 | BAD_SIZEOF              | libdasocket.c   |
| 27349 | OVERFLOW_UNDER_CHECK    | da_chart.c      |
| 27350 | OVERFLOW_UNDER_CHECK    | da_chart.c      |
-----------------------------------------------------

Change-Id: I0a807506ac5b1cbce6a137c5a11b612de9ddc0a2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Svace issues 19/54719/1
Hyeongsik Min [Thu, 17 Dec 2015 10:44:03 +0000 (19:44 +0900)]
[FIX] Svace issues

WGID : 619584
Checker: SIGNED_TO_BIGGER_UNSIGNED
File:
/home/abuild/rpmbuild/BUILD/swap-probe-total_3.0/probe_socket/libdasocket.c
Line: 242

WGID : 619587
Checker: SIGNED_TO_BIGGER_UNSIGNED
File:
/home/abuild/rpmbuild/BUILD/swap-probe-total_3.0/probe_socket/libdasocket.c
Line: 344

WGID : 619586
Checker: SIGNED_TO_BIGGER_UNSIGNED
File:
/home/abuild/rpmbuild/BUILD/swap-probe-total_3.0/probe_socket/libdasocket.c
Line: 307

WGID : 619585
Checker: SIGNED_TO_BIGGER_UNSIGNED
File:
/home/abuild/rpmbuild/BUILD/swap-probe-total_3.0/probe_socket/libdasocket.c
Line: 272

Change-Id: I9b1cc48d088d3cee46bda33c95c8fa6ffba65b0e
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
8 years ago[FEATURE] OpenGL ES 3.0 implement new functions 85/53185/3
Vitaliy Cherepanov [Wed, 2 Dec 2015 11:46:41 +0000 (14:46 +0300)]
[FEATURE] OpenGL ES 3.0 implement new functions

Change-Id: I2684d99920e5ba8b677e78396633b8b5bf8eb135
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] acceleration build for arm7l and aarch64 79/53079/1 accepted/tizen/mobile/20151203.075402 accepted/tizen/tv/20151203.075420 accepted/tizen/wearable/20151203.075435 submit/tizen/20151203.065637
Vyacheslav Cherkashin [Tue, 1 Dec 2015 14:24:50 +0000 (17:24 +0300)]
[IMPROVE] acceleration build for arm7l and aarch64

Change-Id: Ib9bc50806f24f18b0dc37b079ff81cf3d6e10bb4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] disable signal SIGPIPE 68/52668/2 tizen_2.4_uihv
Anatolii Nikulin [Wed, 25 Nov 2015 11:51:10 +0000 (14:51 +0300)]
[FIX] disable signal SIGPIPE

Use flag MSG_NOSIGNAL in send() to supress signal SIGPIPE
when send message to socket, closed by other side

Change-Id: I0c4bfe90ded211f55fc5eebf5c4e4223d9d47a9f
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] exit of "already running" processes 67/52667/2
Anatolii Nikulin [Wed, 25 Nov 2015 11:33:45 +0000 (14:33 +0300)]
[FIX] exit of "already running" processes

Add message APP_MSG_STOP_WITHOUT_KILL to stop application
without exit

Change-Id: I0068e47f1238d21c46445260a1990ce483cd0ffc
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] build dependency (Emile.h) 71/52571/2 accepted/tizen/mobile/20151125.125251 accepted/tizen/tv/20151125.125306 accepted/tizen/wearable/20151125.125321 submit/tizen/20151125.062050
Vyacheslav Cherkashin [Tue, 24 Nov 2015 11:17:17 +0000 (14:17 +0300)]
[FIX] build dependency (Emile.h)

Change-Id: I80d1d24f38386569eb56545fff845a34b7d671a5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] build for tizen_3.0 69/52169/2 submit/tizen/20151123.110430
Vyacheslav Cherkashin [Tue, 17 Nov 2015 17:04:43 +0000 (20:04 +0300)]
[FIX] build for tizen_3.0

unsupported feature:
  - screenshots

Change-Id: I717286f21e6db998e0a2ff181cbc56de81670bf6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago [FIX] prevent issues 48/51948/2
Vitaliy Cherepanov [Tue, 17 Nov 2015 11:33:45 +0000 (14:33 +0300)]
 [FIX] prevent issues

--------------------------------------------------------------------
| CID   | Type            | File            | Function             |
|------------------------------------------------------------------|
|41289  | check ret value | dacapture.c     | captureScreen        |
|41288  | check ret value | libdaprobe.c    | application_exit     |
|------------------------------------------------------------------|

Change-Id: I60ee49ed58521949a174ced44256142976c6068a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Probes count generation 51/49651/1 submit/tizen/20151105.071836 submit/tizen/20151105.080754
Alexander Aksenov [Fri, 16 Oct 2015 11:54:29 +0000 (14:54 +0300)]
[FIX] Probes count generation

Previously it less than probes count

Change-Id: Ic56eb155c3b5301329f464120a1897cf9da41728
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FEATURE] add OpenGL3.0 ES prototypes 22/46622/3
Vitaliy Cherepanov [Tue, 18 Aug 2015 13:15:35 +0000 (16:15 +0300)]
[FEATURE] add OpenGL3.0 ES prototypes

Change-Id: I1de3ae44ba5a0f7c71e9d09dc8c61850530370c9
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] OpenGl c_probe prototypes 77/49477/1
Vitaliy Cherepanov [Tue, 13 Oct 2015 16:36:16 +0000 (19:36 +0300)]
[IMPROVE] OpenGl c_probe prototypes

Added C aliases for C++ functions

Change-Id: Ib456faef2d66ac898806eedb034dd1ae89db39e0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issues 05/49205/3
Vitaliy Cherepanov [Thu, 8 Oct 2015 11:15:35 +0000 (14:15 +0300)]
[FIX] prevent issues

--------------------------------------------------------------------
| CID   | Type            | File            | Function             |
|------------------------------------------------------------------|
|486087 | out of bounds   | btsym.c         | da_backtrace_symbols |
|486088 | buffer size wrn | btsym.c         | da_backtrace_symbols |
|------------------------------------------------------------------|

Change-Id: If32fa95a69101dcc1fc05b6f4d07cacdf15d7f9d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issues 69/49169/1
Vitaliy Cherepanov [Wed, 7 Oct 2015 15:02:05 +0000 (18:02 +0300)]
[FIX] prevent issues

 -----------------------------------------------------------------------|
| CID   | Type                      | File         | Function           |
|-----------------------------------------------------------------------|
|452748 |DC.SECURE_CODING_STRCAT    | btsym.c      | da_backtrace_symbol|
|452682 |DC.SECURE_CODING_STRCPY    | btsym.c      | da_backtrace_symbol|
|452674 |DC.SECURE_CODING_BACKTRACE | libdaprobe.c | getBacktraceString |
|452625 |DC.SECURE_CODING_SPRINTF   | btsym.c      |                    |
|452589 |DC.SECURE_CODING_SPRINTF   | btsym.c      |                    |
|452571 |DC.SECURE_CODING_USLEEP    | damaps.c     |  print_list_sorted |
|-----------------------------------------------------------------------|

Change-Id: Ib27b74d14a011b4e9b8d4f41b0d7e9f7ae3810f8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issues 06/49106/1
Vitaliy Cherepanov [Tue, 6 Oct 2015 11:59:52 +0000 (14:59 +0300)]
[FIX] prevent issues

-----------------------------------------------------------
| CID   | Type          | File            | Function      |
|---------------------------------------------------------|
| 41294 | resource leak | lib_parse_elf.c | get_plt_addrs |
|---------------------------------------------------------|

Change-Id: I2092a963b75ba5280cef6ac801d41c1e34866454
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] bounds violation in fread() 60/48660/2
Anatolii Nikulin [Thu, 24 Sep 2015 09:06:35 +0000 (12:06 +0300)]
[FIX] bounds violation in fread()

Change-Id: Id5b93c213b7312494c308f911cc5289f1ac41eec
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] disable compile optimization 59/48659/2
Anatolii Nikulin [Thu, 24 Sep 2015 09:02:47 +0000 (12:02 +0300)]
[FIX] disable compile optimization

Change-Id: I8a91689ec60d7ece04422f768c877bedc58152c5
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] Supporting all funcs with the same name 94/48294/1
Alexander Aksenov [Thu, 17 Sep 2015 08:54:15 +0000 (11:54 +0300)]
[FIX] Supporting all funcs with the same name

Previously, probes were set only on the firstly found
function, so, if you have several functions with the same
name (for expl  fopen()) only one of them was profilied.

Change-Id: If26529ed5d319314f52907f6bcc541f5015ca8ba
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] prevent issue 70/47270/2
Vitaliy Cherepanov [Tue, 1 Sep 2015 15:04:25 +0000 (18:04 +0300)]
[FIX] prevent issue

---------------------------------------------------------------------------------------------------
| CID    | Type                          | File            | Function                             |
|-------------------------------------------------------------------------------------------------|
| 452564 | Out-of-bounds access          | libdauserfunc.c | profil_count                         |
| 452761 | Structurally dead code        | gesture.c       | __n_finger_tap_pack                  |
| 452764 | Structurally dead code        | damaps.c        | read_mapping_line                    |
| 452763 | Structurally dead code        | damaps.c        | update_is_instrument_lib_attr_nolock |
| 452718 | Dereference null return value | damaps.c        | maps_make                            |
| 452641 | Dereference null return value | damaps.c        | realloc_array                        |
| 476233 | Logically dead code           | parse_elf.c     | main                                 |
| 476234 | Dereference null return value | lib_parse_elf.c | get_got_plt_addrs                    |
---------------------------------------------------------------------------------------------------

Change-Id: I3d703757d2105699253176d20d1b464cfe1d70a3
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issues 43/47043/2 root_dep_remove
Anatolii Nikulin [Fri, 28 Aug 2015 11:00:12 +0000 (14:00 +0300)]
[FIX] prevent issues

Change-Id: Ie025cdadbec9cbd1b026a8bd8cd835cc3b53ebfd
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] Parse elf build deps 14/47014/1
Dmitry Kovalenko [Fri, 28 Aug 2015 06:25:24 +0000 (09:25 +0300)]
[FIX] Parse elf build deps

Change-Id: I9a5de1694854dfac85c2bbc660aac4d35a1697b9

8 years ago[IMPROVE] Add Tizen 2.4 wearable gbs support 68/46968/1
Alexander Aksenov [Thu, 27 Aug 2015 09:42:31 +0000 (12:42 +0300)]
[IMPROVE] Add Tizen 2.4 wearable gbs support

Change-Id: Ic70116a00f4011baab63a89024cbe21f4908e621
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Parsing lib symbols 67/46967/1
Alexander Aksenov [Thu, 27 Aug 2015 09:17:41 +0000 (12:17 +0300)]
[FIX] Parsing lib symbols

Now it works for functions like malloc$ as well as
for malloc@@GLIBC...

Change-Id: Icb4bd26915ba3295abf63865122dabae6518c314
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] Add ARM .plt support for parse script 17/46717/1
Alexander Aksenov [Fri, 21 Aug 2015 14:37:34 +0000 (17:37 +0300)]
[IMPROVE] Add ARM .plt support for parse script

Change-Id: I47f6b48dddd6e6f2fe9a4fe971c7bb2228be95fa
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] Separate elf parser on lib and bin 73/46473/1
Alexander Aksenov [Tue, 18 Aug 2015 14:13:33 +0000 (17:13 +0300)]
[IMPROVE] Separate elf parser on lib and bin

Change-Id: I8e239a0dc177644b3a523a81f259eecc424ba089
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] add tool for ELF parsing 72/46472/1
Konstantin Baladurin [Thu, 9 Jul 2015 13:00:59 +0000 (16:00 +0300)]
[IMPROVE] add tool for ELF parsing

Change-Id: I39d0f954b0d471fe0d559d99a870f2625bc72a1d
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
8 years ago[FIX] Probes in newly created threads 88/45488/1
Alexander Aksenov [Thu, 6 Aug 2015 12:52:26 +0000 (15:52 +0300)]
[FIX] Probes in newly created threads

Previously the second exit from pthread_create (exit in new thread)
was not handled correctly and this lead to messages missing.

Change-Id: Iec271ea99f8c843b329b4bdfc5b04b5778fadcca
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[CLEAN] Remove autogenerated appfw config 73/45273/2
Alexander Aksenov [Tue, 4 Aug 2015 08:47:18 +0000 (11:47 +0300)]
[CLEAN] Remove autogenerated appfw config

It was used only in app_efl_main, but app_efl_main was
removed some time ago.

Change-Id: Ie3ff5f6dc874005715a9d0b07490627dbb43dd98
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[LICENSE] change to LGPL-2.1+ 82/45082/1
Vitaliy Cherepanov [Fri, 31 Jul 2015 08:53:32 +0000 (11:53 +0300)]
[LICENSE] change to LGPL-2.1+

Change-Id: I42ac2a0d2caf4e7a596c04e48ab1abdad62e3b03
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] Use caller address from userspace 24/44424/3
Vitaliy Cherepanov [Tue, 21 Jul 2015 15:06:10 +0000 (18:06 +0300)]
[FIX] Use caller address from userspace

OpenGL Tizen probe caller address

Change-Id: I2d77950405ebea22325b9725d45e5fa5468f78c6
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] OpenGL: evas_gl_* calls 80/44180/1
Vasiliy Ulyanov [Fri, 17 Jul 2015 11:41:01 +0000 (14:41 +0300)]
[FIX] OpenGL: evas_gl_* calls

- evas_gl_* functions should be searched for in libevas not
in libelementary
- evas_gl_context_api_get added to api_names

Change-Id: Ic2f09ad047643651c24fb4f8bd38ef7bbfa28b0b
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] Wrong GLES library in buildroot 09/43909/2
Vasiliy Ulyanov [Wed, 15 Jul 2015 07:52:21 +0000 (10:52 +0300)]
[FIX] Wrong GLES library in buildroot

We need to explicitly require the same GLES package as we
have on a target device to avoid parsing wrong libraries (by
default a virtual dummy package is installed in buildroot)

Change-Id: Iee7d50148a0fde10c19db4ae2721adc570362946
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] OpenGL always probing 35/43835/1
Vasiliy Ulyanov [Tue, 14 Jul 2015 10:51:20 +0000 (13:51 +0300)]
[FIX] OpenGL always probing

Added libelementary in api_names.txt

Change-Id: I71d5fe0736ad0dfd2761fe859f4436b151c4e106
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] tizen opengl probes 26/43626/1
Vitaliy Cherepanov [Sun, 12 Jul 2015 17:04:06 +0000 (20:04 +0300)]
[FIX] tizen opengl probes

Change-Id: I84f989fa2f8b50c81058bccf3b1d1a8571bc7d00
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[PROTO] da_event.h compatibility with 2.3 56/43356/2
Alexander Aksenov [Wed, 8 Jul 2015 09:20:48 +0000 (12:20 +0300)]
[PROTO] da_event.h compatibility with 2.3

Change-Id: Ica2a2db7932e6300721b2ecdf62e5b98aeabd05e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Screenshots taken on evas_object_show() 65/43065/1
Alexander Aksenov [Tue, 7 Jul 2015 11:43:14 +0000 (14:43 +0300)]
[FIX] Screenshots taken on evas_object_show()

Change-Id: I9d64df1c001e21964b964092cd0b82166f875f6b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Total heap allocation data 06/42906/2
Alexander Aksenov [Thu, 2 Jul 2015 11:21:15 +0000 (14:21 +0300)]
[FIX] Total heap allocation data

Change-Id: I47b38b97713e75b1faef3aee8d3ab8cf0da8dc52
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] fix prevent 75/42875/2
Konstantin Baladurin [Fri, 3 Jul 2015 10:16:44 +0000 (13:16 +0300)]
[FIX] fix prevent

-----------------------------------------------------------------
| CID    | Type             | File     | Function               |
|---------------------------------------------------------------|
| 452697 | STRING_OVERFLOW  | btsym.c  | da_backtrace_symbols   |
-----------------------------------------------------------------

Change-Id: I96997b5a779ce04a1344caed586f315690c00429
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
9 years ago[FIX] fix prevent 63/42863/2
Konstantin Baladurin [Fri, 3 Jul 2015 08:15:55 +0000 (11:15 +0300)]
[FIX] fix prevent

-----------------------------------------------------------------
| CID    | Type             | File     | Function               |
|---------------------------------------------------------------|
| 452697 | STRING_OVERFLOW  | btsym.c  | da_backtrace_symbols   |
-----------------------------------------------------------------

Change-Id: Ifa7071f249f06d93e0e40f5f234153ad25a4d67c
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
9 years ago[IMPROVE] Breakpoint probe msg saving 34/42534/2
Alexander Aksenov [Fri, 27 Feb 2015 12:43:27 +0000 (15:43 +0300)]
[IMPROVE] Breakpoint probe msg saving

Change-Id: I7a1d3b0c07108edf620f8e9166327240fd354545
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] gesture probe event 65/42365/1
Vitaliy Cherepanov [Fri, 26 Jun 2015 12:10:55 +0000 (15:10 +0300)]
[FIX] gesture probe event

Change-Id: I18f5d452a7ba12c2f75caf1bd06678c1548f3261
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] opengl glGetError 20/41420/1
Vitaliy Cherepanov [Mon, 15 Jun 2015 08:16:24 +0000 (11:16 +0300)]
[FIX] opengl glGetError

Change-Id: Iab17ad23831250d1dc26490cf3deb37a235af2ba
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] header generation for ARM 80/41380/1
Vyacheslav Cherkashin [Sat, 13 Jun 2015 22:35:25 +0000 (01:35 +0300)]
[FIX] header generation for ARM

ARM build system has additinoal libraries in /emul/* so skip it

Change-Id: Iaa07f849ce3f4f77ec709f558f266e4a0ab9838a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
9 years ago[FIX] fork ld handler 14/41214/1
Vitaliy Cherepanov [Thu, 11 Jun 2015 15:46:07 +0000 (18:46 +0300)]
[FIX] fork ld handler

Change-Id: I3af8ac22f16398553fdc11369ddd8b18a517a37d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] build for 2.4 13/41213/1
Vitaliy Cherepanov [Thu, 11 Jun 2015 15:45:25 +0000 (18:45 +0300)]
[FIX] build for 2.4

Change-Id: I335ccf47e674afcc374e5f4793afee510682a53f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] error discription in gen_headers.py 12/41212/1
Vitaliy Cherepanov [Thu, 11 Jun 2015 15:18:09 +0000 (18:18 +0300)]
[IMPROVE] error discription in gen_headers.py

Change-Id: I557c2092c52ebe4434b16f1d8fda7228be9ee3f4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] orientation events 95/40995/5
Vitaliy Cherepanov [Wed, 10 Jun 2015 16:27:51 +0000 (19:27 +0300)]
[FIX] orientation events

Change-Id: I158bffd6d55ff66653e5c5198c02e169562cd284
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[REFACTOR] application msg id 33/39933/3
Vitaliy Cherepanov [Tue, 26 May 2015 14:39:33 +0000 (17:39 +0300)]
[REFACTOR] application msg id

Change-Id: I8910e55e1f75f387983eb89b70158b27713d76be
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] Makes third-party funcs called as callbacks 49/40849/4
Alexander Aksenov [Tue, 9 Jun 2015 12:02:46 +0000 (15:02 +0300)]
[IMPROVE] Makes third-party funcs called as callbacks

Removes probe lib dependencies on the other platform libraries,
all third-party functions are dlsymmed now.

Change-Id: I73627e5b8fb88289006b8b5b43cf0aef0446679a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[IMPROVE] using mask for function api names 26/40826/8
Vitaliy Cherepanov [Tue, 9 Jun 2015 10:28:48 +0000 (13:28 +0300)]
[IMPROVE] using mask for function api names

Change-Id: Ib641ee6a4533b672846aaf3679eb82ada387838f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] Rename handlers funcs 18/40518/15
Alexander Aksenov [Thu, 4 Jun 2015 14:16:15 +0000 (17:16 +0300)]
[IMPROVE] Rename handlers funcs

Change-Id: Ice07d9b12cf5b3f229ba6886a0c37547ede4ee2d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Add right yagl package in requires 34/40434/6
Alexander Aksenov [Wed, 27 May 2015 16:49:05 +0000 (19:49 +0300)]
[FIX] Add right yagl package in requires

Change-Id: I926f010797818e2d88f8b31b29275b1a07d17bb0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[IMPROVE] Replace headers generation script 33/40433/6
Alexander Aksenov [Wed, 27 May 2015 09:11:17 +0000 (12:11 +0300)]
[IMPROVE] Replace headers generation script

Replace bash script with python one

Change-Id: Ie8a0fcbe7a396874a6e6d42f819c2a00f95400d8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Probe names. 10/39410/10
Alexander Aksenov [Wed, 13 May 2015 13:12:47 +0000 (16:12 +0300)]
[FIX] Probe names.

Change-Id: I7c705b0cb755ca370cb2cb7f12260f3361d076c1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Getting user events from all callers 09/39409/6
Alexander Aksenov [Wed, 13 May 2015 12:36:47 +0000 (15:36 +0300)]
[FIX] Getting user events from all callers

Change-Id: I2e95022f7a13a04580b470666d12050f58cfa142
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Script maps generation 08/39408/6
Alexander Aksenov [Wed, 22 Apr 2015 09:50:56 +0000 (12:50 +0300)]
[FIX] Script maps generation

Change-Id: Ic9b31b2be69598d0af54d6969abaa4f780397cd9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Add call type support for memory probes 07/39407/7
Alexander Aksenov [Mon, 6 Apr 2015 09:14:48 +0000 (12:14 +0300)]
[FIX] Add call type support for memory probes

Change-Id: I51f761c19ed0f6ff27a39a64f1ca4ac6ce64ef85
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[IMPROVE] Add probe name and flag in api_names.txt 06/39406/13
Alexander Aksenov [Thu, 2 Apr 2015 09:49:27 +0000 (12:49 +0300)]
[IMPROVE] Add probe name and flag in api_names.txt

Now format of strings is the following:

target_func_name,  handler_func_name,  preload_probe_type

Change-Id: If56dcbf3c7a29de498b069fe704c5f8461483f29
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] Looking for a same func in several libs. 61/39061/7
Alexander Aksenov [Thu, 26 Mar 2015 13:41:54 +0000 (16:41 +0300)]
[FIX] Looking for a same func in several libs.

Now #lib in api_names.txt should include full library path. If the funcs are
supposed to be in different libs, set libs path and use asterisk.

Change-Id: If91adc28fcd5c51c22b00073bca919f089ae0f68
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[REFACTOR] Generating probes 60/39060/2
Alexander Aksenov [Tue, 17 Mar 2015 13:54:31 +0000 (16:54 +0300)]
[REFACTOR] Generating probes

Change-Id: I09cb0cd7a2b279f536d75311d488de221953db56
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[IMPROVE] Add direct GL calls support 59/39059/2
Alexander Aksenov [Wed, 11 Mar 2015 09:43:42 +0000 (12:43 +0300)]
[IMPROVE] Add direct GL calls support

Change-Id: I0a508919a9bdf53298c80af0740fe3c8e8125d69
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FEATURE] add gesture layer callback probes 77/39477/1
Vitaliy Cherepanov [Fri, 30 Jan 2015 11:58:03 +0000 (14:58 +0300)]
[FEATURE] add gesture layer callback probes

Change-Id: I0290573d504d59ee2a1a1ec50f781317e594b422
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] scanf probe for libc 2.7 68/39468/1
Vitaliy Cherepanov [Fri, 17 Apr 2015 09:31:15 +0000 (12:31 +0300)]
[FIX] scanf probe for libc 2.7

Change-Id: Id62bf38f7140872bcf22ea2e7bff56070a3394a4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] make clean 67/39467/1
Vitaliy Cherepanov [Fri, 17 Apr 2015 09:28:28 +0000 (12:28 +0300)]
[FIX] make clean

Change-Id: I06b4c7b644e789ba78439868c3b638ec17eb00f1
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] orientation value in MSG_SCREENSHOT 65/39465/1
Vitaliy Cherepanov [Wed, 8 Apr 2015 10:29:22 +0000 (13:29 +0300)]
[FIX] orientation value in MSG_SCREENSHOT

Change-Id: Iab3d7976e685fdd5308242ab036e4a9fc92fd79e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[PROTO] implement protocol version 4.0 37/38737/2
Vitaliy Cherepanov [Mon, 27 Apr 2015 12:18:27 +0000 (15:18 +0300)]
[PROTO] implement protocol version 4.0

Change-Id: I6efd9321d46638aad0fa17485cb4534efd00b07b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years agoMerge branch 'tizen_2.4' into tizen_2.4_dev 89/38789/1
Anastasia Lyupa [Tue, 28 Apr 2015 13:22:35 +0000 (16:22 +0300)]
Merge branch 'tizen_2.4' into tizen_2.4_dev

Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Conflicts:
probe_capi/capi_appfw.c

Change-Id: I624f41975009e38a89b20727f779a78cdfb2441f

9 years ago[FEATURE] Preload: Implement 18/34818/2 new_protocol
Alexander Aksenov [Tue, 5 Aug 2014 12:32:24 +0000 (16:32 +0400)]
[FEATURE] Preload: Implement

Change-Id: Ib1df346ca4dc26b328b8e6f85a87d073d1d1d007
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] build ecore probes for 2.4 09/36009/1
Vitaliy Cherepanov [Fri, 27 Feb 2015 09:59:09 +0000 (12:59 +0300)]
[FIX] build ecore probes for 2.4

Change-Id: I5ea387bbbdc263728ba6e12eae7879492744bcd1
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] build for i586 spin mobile 2.4 82/33882/1
Vitaliy Cherepanov [Wed, 14 Jan 2015 11:22:14 +0000 (14:22 +0300)]
[FIX] build for i586 spin mobile 2.4

error "unresolvable ecore-input-evas"

Change-Id: I5cee3dca41ea36349dce7936579205f4f2418863
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] dastout license 44/32944/2 master
Alexander Aksenov [Tue, 30 Dec 2014 12:46:02 +0000 (15:46 +0300)]
[FIX] dastout license

Change-Id: I188d0aea319a0cc7a9ff22625a03568ea69a8760
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years agoMerge "[IMPROVE] Add MIT license"
Vyacheslav Cherkashin [Tue, 30 Dec 2014 13:02:57 +0000 (05:02 -0800)]
Merge "[IMPROVE] Add MIT license"

9 years ago[IMPROVE] Add MIT license 43/32943/1
Alexander Aksenov [Tue, 30 Dec 2014 12:41:48 +0000 (15:41 +0300)]
[IMPROVE] Add MIT license

Change-Id: I0b196d56a754a3b2dd18d63330b3bba292cbc555
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] malloc probing from ld lib 40/31740/4
Vitaliy Cherepanov [Tue, 9 Dec 2014 08:21:43 +0000 (11:21 +0300)]
[FIX] malloc probing from ld lib

replace malloc by real_malloc call

Change-Id: I34afa51e5190d6ce903d73676bd26889862f6064
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years agoMerge branch 'master' into new_protocol 39/32739/1
Dmitry Kovalenko [Tue, 23 Dec 2014 10:22:41 +0000 (13:22 +0300)]
Merge branch 'master' into new_protocol

Change-Id: I6a755b39bdac9465e8f3c9e3fdd61ebf94e16f4c
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
9 years ago[FEATURE] VBO buffer size implement 63/32063/9
Vitaliy Cherepanov [Mon, 15 Dec 2014 09:39:21 +0000 (12:39 +0300)]
[FEATURE] VBO buffer size implement

implement the probe against buffer size of the next API
glBindBuffer(),glBufferData(),glBufferSubData(),glDeleteBuffers()

glGetBufferParameteriv:
(GL_ARRAY_BUFFER, GL_BUFFER_SIZE, &nBufferSize)
(GL_ARRAY_BUFFER, GL_BUFFER_USAGE, &nBufferUsageSize)
(GL_ELEMENT_ARRAY_BUFFER, GL_BUFFER_SIZE,&nElementBufferSize)
(GL_ELEMENT_ARRAY_BUFFER, GL_BUFFER_USAGE,&nElementBufferUsageSize)

nBufferSize, nBufferUsageSize, nElementBufferSize, nElementBufferUsageSize
send buffer info to GLContextValue(String) in openg probe format.

Change-Id: Ib7815eae56247536dfa08749f90404eea1c093f5
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[CLEAN] rm comments 99/32699/1
Vitaliy Cherepanov [Mon, 22 Dec 2014 15:38:14 +0000 (18:38 +0300)]
[CLEAN] rm comments

Change-Id: Ic218c2b3e84e218d5fb7389d367b0b6699f6a06c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years agoRevert "[CLEAN] rm unused code and rm comments" 98/32698/1
Vitaliy Cherepanov [Mon, 22 Dec 2014 15:34:39 +0000 (18:34 +0300)]
Revert "[CLEAN] rm unused code and rm comments"

This reverts commit 49dc7a7ec8664920c844e5017b249f738ddb98d4.

Change-Id: I4401c9a0fa852a615337255cb34bd91bbac8aa4f

9 years ago[FIX] prevent issue 51/31251/1
Vitaliy Cherepanov [Wed, 3 Dec 2014 08:37:17 +0000 (11:37 +0300)]
[FIX] prevent issue

+-------+-------------------------------+---------------------+--------------+
| ID    | Type                          | file                | function     |
+-------+-------------------------------+---------------------+--------------+
| 98281 | Resource leak                 | helper/damaps.c     | maps_make    |
| 70307 | Calling risky function        | helper/libdaprobe.c | createSocket |
+-------+-------------------------------+---------------------+--------------+

Change-Id: Ia5e8d562a47dc5e2a9ecdafc740b225ef7bb3e75
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] prevent issue 01/31101/1
Vitaliy Cherepanov [Mon, 1 Dec 2014 10:50:36 +0000 (13:50 +0300)]
[FIX] prevent issue

+------+-------------------------------+-----------------+-----------+
|ID    | Type                          | file            | function  |
+------+-------------------------------+-----------------+-----------+
|70094 | Dereference before null check | helper/damaps.c | maps_make |
+------+-------------------------------+-----------------+-----------+

Change-Id: Ie772f73313deb8b37698f8d877b265d6a08bb097
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] prevent issue 64/30964/1 vd_sync_28112014
Vitaliy Cherepanov [Thu, 27 Nov 2014 15:23:37 +0000 (18:23 +0300)]
[FIX] prevent issue

Prevent TV

Change-Id: Iddf2b2b3d3e1275e29d3bdf4f1351507bcc562c4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] smack access to screenshots 90/29990/3 Tizen_SDK_2.3
Vitaliy Cherepanov [Thu, 6 Nov 2014 15:50:19 +0000 (18:50 +0300)]
[FIX] smack access to screenshots

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