platform/core/system/swap-probe.git
9 years ago[FIX] Add new capi support (private) 20/24620/1
Vasiliy Ulyanov [Thu, 17 Jul 2014 09:15:56 +0000 (13:15 +0400)]
[FIX] Add new capi support (private)

Change-Id: I8f04c6d38a12794ecd7959f3ef6a024ca7406a90
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[STYLE] fix coding style (capi_appfw) 93/23993/2
Vitaliy Cherepanov [Mon, 7 Jul 2014 09:39:25 +0000 (13:39 +0400)]
[STYLE] fix coding style (capi_appfw)

Change-Id: I031edaf4a3da02b02bc202e74c33cbd43df32512
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[COPYRIGHT] update capi copyright 87/23987/2
Vitaliy Cherepanov [Mon, 7 Jul 2014 09:34:03 +0000 (13:34 +0400)]
[COPYRIGHT] update capi copyright

Change-Id: I5196621411e79f60beddac34d7a4431667a15161
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] EFL app support: application life time 82/23982/2
Vitaliy Cherepanov [Mon, 7 Jul 2014 09:28:17 +0000 (13:28 +0400)]
[FIX] EFL app support: application life time

Change-Id: Iee13ff6e599462f5dce613e1450d4d6410aa492a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FEATURE] internal external call instrumentation 66/24466/5
Vitaliy Cherepanov [Tue, 15 Jul 2014 05:46:58 +0000 (09:46 +0400)]
[FEATURE] internal external call instrumentation

if the library is instrumented all ld probes for this lib will be packed
if regular feture is enabled but always feature is not

Change-Id: I07373c0dd69c15caf5c2305b6b416295af0eefe8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] change logs 64/24464/2
Vitaliy Cherepanov [Tue, 15 Jul 2014 05:39:47 +0000 (09:39 +0400)]
[IMPROVE] change logs

Change-Id: Ifb75cdfe17f2191d8a47404903fd2b4a32c2d4cb
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] add pid/tid info to debug information 21/24321/2
Vitaliy Cherepanov [Thu, 10 Jul 2014 11:48:38 +0000 (15:48 +0400)]
[IMPROVE] add pid/tid info to debug information

Change-Id: I32cb48ccbf4d02b22634a5504fbbeb9e36647d89
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] malloc call optimization 20/24320/3
Vitaliy Cherepanov [Thu, 10 Jul 2014 11:46:35 +0000 (15:46 +0400)]
[IMPROVE] malloc call optimization

Change-Id: Ieee2262d8a070a38449459c0aaaa25ddfdf7b042
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] get pid/tid for message probe generate 19/24319/1
Vitaliy Cherepanov [Thu, 10 Jul 2014 11:11:05 +0000 (15:11 +0400)]
[IMPROVE] get pid/tid for message probe generate

Change-Id: Id177ad619e8fe1b394096f31c2f416fd2428c9e7
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] fix pid tid get functions on fork 18/24318/1
Vitaliy Cherepanov [Thu, 10 Jul 2014 11:04:36 +0000 (15:04 +0400)]
[FIX] fix pid tid get functions on fork

Change-Id: I351119b8277ad9ec28847da17b557ec737e027aa
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[REFACTOR] exec functions debug 15/24315/1
Vitaliy Cherepanov [Thu, 10 Jul 2014 10:17:26 +0000 (14:17 +0400)]
[REFACTOR] exec functions debug

Change-Id: I9e031e2b5357a701e68a2e8e13c24682f4addc98
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FEATURE] add PRINTWRN support 11/24311/1
Vitaliy Cherepanov [Thu, 10 Jul 2014 09:21:01 +0000 (13:21 +0400)]
[FEATURE] add PRINTWRN support

Change-Id: I202bc5669f249ade1a7e8eab54c94546d37e83c3
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] app termination (app_efl_exit() => exit(0)) 57/23557/2
Vasiliy Ulyanov [Fri, 27 Jun 2014 09:53:44 +0000 (13:53 +0400)]
[FIX] app termination (app_efl_exit() => exit(0))

Change-Id: I7e65e7a8e1956b72ae66a856c573317dcf9f853e
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] application termination 25/23425/3
Vitaliy Cherepanov [Wed, 25 Jun 2014 09:40:42 +0000 (13:40 +0400)]
[FIX] application termination

fixed application termination without ld preloaded lib destructor

Change-Id: Ib52079a73f9ff4944fcc7c40ffaf14e761cfe3fc
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] Log improve 59/23359/3
Vitaliy Cherepanov [Tue, 24 Jun 2014 08:24:16 +0000 (12:24 +0400)]
[IMPROVE] Log improve

Change-Id: Ibb05405c62615a649e5413e38a3e2d8be74e2521
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] stack overflow when executing handlers code 73/23373/2
Vasiliy Ulyanov [Tue, 24 Jun 2014 10:06:55 +0000 (14:06 +0400)]
[FIX] stack overflow when executing handlers code

Use dynamic instead of stack memory for buffer alocation when packing events

Change-Id: I29aa979e65c0b587a31511e9d5622a3c1801bdb1
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
10 years ago[FEATURE] Osp: total remove 47/22347/3
Alexander Aksenov [Mon, 2 Jun 2014 08:22:29 +0000 (12:22 +0400)]
[FEATURE] Osp: total remove

Change-Id: Ib83add40060870775d666c959f2da35318d7cdca
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[STYLE] Spec: remove commented requires 83/22083/2
Alexander Aksenov [Thu, 29 May 2014 08:09:26 +0000 (12:09 +0400)]
[STYLE] Spec: remove commented requires

Change-Id: Id40c11e798618722218bc337a9b71822f1eb1d75
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years agoMerge "[FEATURE] Remove osp probes"
Dmitry Kovalenko [Thu, 29 May 2014 08:16:47 +0000 (01:16 -0700)]
Merge "[FEATURE] Remove osp probes"

10 years ago[FEATURE] Remove osp probes 95/21995/2
Alexander Aksenov [Wed, 28 May 2014 12:47:34 +0000 (16:47 +0400)]
[FEATURE] Remove osp probes

Change-Id: Iddaed6c97c8cc973d6fe9802a3e7af48b9defb62
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] pack return value error 04/21704/1
Vitaliy Cherepanov [Mon, 26 May 2014 14:33:37 +0000 (18:33 +0400)]
[FIX] pack return value error

Change-Id: I4215f12ac196f4a07018d43170b9a43a9f4f64a9
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[STYLE] add comments 02/21702/1
Vitaliy Cherepanov [Mon, 26 May 2014 14:28:09 +0000 (18:28 +0400)]
[STYLE] add comments

add comments to defines.

Change-Id: If86287641a7f62d9d29f0a758f47371c5c3395c2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[IMPROVE] Build: add provides swap-probe 80/20280/2
Alexander Aksenov [Wed, 30 Apr 2014 12:00:49 +0000 (16:00 +0400)]
[IMPROVE] Build: add provides swap-probe

Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Change-Id: I6aceb6b717db8a1c5496e1224e87f83dd2ac0b19

10 years ago[FIX] build with -Wunused-but-set-variable 80/21480/1
Vitaliy Cherepanov [Wed, 21 May 2014 10:01:18 +0000 (14:01 +0400)]
[FIX] build with -Wunused-but-set-variable

Change-Id: I9c68eda2a62391989c7d4ba31497720785381c0c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] application termination by manager request for common app type 08/20908/1
Vitaliy Cherepanov [Tue, 13 May 2014 17:55:24 +0000 (21:55 +0400)]
[FIX] application termination by manager request for common app type

add app_efl_main function call flag.
if app_efl_main was not called then terminate app by exit(0) call

Change-Id: Ia2397144b334005fcce12fce707f39583be22c86
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] gbs build error 74/20274/1
Vitaliy Cherepanov [Wed, 30 Apr 2014 09:47:52 +0000 (13:47 +0400)]
[FIX] gbs build error

add rm -f to rm headers before make

Change-Id: I6065856eed11fba3fdc17f5adbfd80c2b4f04700
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] string size limitation 56/20256/1
Vitaliy Cherepanov [Tue, 29 Apr 2014 14:52:10 +0000 (18:52 +0400)]
[PROTO] string size limitation

column          limit         description
File path       4K or ByFile  either in function argument or as protocol value
Shader sources  4K or ByFile  glGetShaderSource and glGetShaderiv probes
Http contents   1024 bytes
string type
arguments       256 bytes     there is not any case of string type yet

Change-Id: I4c5a940ae7f7d4831d41d226e701fd548cfa1777
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] add tread class name to thread probes 62/18662/2
Vitaliy Cherepanov [Thu, 27 Mar 2014 16:07:49 +0000 (20:07 +0400)]
[PROTO] add tread class name to thread probes

Change-Id: I0f079ddc2693b200c09bd074e2d337285f33b820
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] gbs build error 96/18296/2
Vitaliy Cherepanov [Thu, 20 Mar 2014 07:57:52 +0000 (11:57 +0400)]
[FIX] gbs build error

fix problem with unterminated #if

Change-Id: Ia2410b3f2659e1fd45a8545b12e4d75b4c435a47
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] implement pack array types for probe arguments 26/17926/4
Vitaliy Cherepanov [Wed, 12 Mar 2014 13:03:43 +0000 (17:03 +0400)]
[PROTO] implement pack array types for probe arguments

implemented 'F'(float array) 'D'(uint32_t array) 'W'(double array) types
   array format. example for float array:
        type     info/sample            size
        ---------------------------------------------------
        char     'F'                    (1byte),
        uint64_t original array pointer (8bytes),
        uint32_t elements count         (4 bytes),
        float    el #1                  (sizeof(float) bytes)
        ...
        float    el #n                  (sizeof(float) bytes)

Change-Id: I33f0bd6026b56d57e1554686ea38317cc705253f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[REFACTOR] gl probes refactor 48/17148/2
Vitaliy Cherepanov [Tue, 4 Mar 2014 09:41:00 +0000 (13:41 +0400)]
[REFACTOR] gl probes refactor

init lib and dlsym search moved to separate function
to minimize lib size

Change-Id: I895ebceab2ad32ef1155154c1e67a64b6192f58a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] add current context to all openGL probes 45/17145/3
Vitaliy Cherepanov [Tue, 4 Mar 2014 08:40:48 +0000 (12:40 +0400)]
[PROTO] add current context to all openGL probes

Change-Id: I1ddc0f1f5ab85932b01fc45a832705432a4dc9a8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FEATURE] add egl probes. 39/16939/6
Vitaliy Cherepanov [Thu, 27 Feb 2014 08:43:11 +0000 (12:43 +0400)]
[FEATURE] add egl probes.

Change-Id: Ia73055097f0ed201f7e67153fa2e8c5077546db4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] correct processing multi-process applications 82/15582/11
Vitaliy Cherepanov [Thu, 23 Jan 2014 16:14:24 +0000 (20:14 +0400)]
[FIX] correct processing multi-process applications

On fork call reconnect to swap daemon as separate process.
On call exec disconnect from swap daemon.
If exec returns error connect to swap daemon again.

Change-Id: I0f99b96507e2f1d52460fba5e4ed0eb997e39981
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] pack long shaders to file 48/14248/4
Vitaliy Cherepanov [Wed, 22 Jan 2014 14:43:31 +0000 (18:43 +0400)]
[PROTO] pack long shaders to file

Change-Id: Ia0528a5ab58a53f2cab02d50249da0d1170c8cee
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] gl probe pack event on dlopen if feature off 04/14904/1
Vitaliy Cherepanov [Mon, 13 Jan 2014 13:06:38 +0000 (17:06 +0400)]
[FIX] gl probe pack event on dlopen if feature off

Change-Id: I5b458f41fe380cd701aa5b64aedc03b0856d7b59
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] glGetError probe return value 73/14673/7
Vitaliy Cherepanov [Thu, 9 Jan 2014 13:37:44 +0000 (17:37 +0400)]
[FIX] glGetError probe return value

now glGetError function returns right value

Change-Id: I3f43b24c83388015b6567c446c59965006afe87a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] connect probe info 44/14144/4
Vitaliy Cherepanov [Tue, 24 Dec 2013 11:47:16 +0000 (15:47 +0400)]
[FIX] connect probe info

add unix socket handle (AF_UNIX) to get socket information

Change-Id: Iaffb29b793e558d26936f97ef291b4207d21540e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] internet application crash 90/13990/5
Vitaliy Cherepanov [Thu, 19 Dec 2013 16:00:00 +0000 (20:00 +0400)]
[FIX] internet application crash

The reason is call ecore_x_init before
register_orientation_event_listener function.

It was fixed by adding ecore_x_init and ecore_x_shutdown handlers.
So call register_orientation_event_listener on ecore_x_init first call.

Change-Id: I3757147ec0cbc20dbc52d33426c9dca88e170899
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[COPYRIGHT] update license
Anastasia Lyupa [Thu, 12 Dec 2013 08:53:14 +0000 (12:53 +0400)]
[COPYRIGHT] update license

original da port commits:
69ae52143016f258402e8f6395d93143c4fa9342
ce177810028c2635c04362dfb550b5e5cc9d8030

Change-Id: I0a4e5fcfd270d851be401a48483b20dc61871a14
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[FIX] fix http client fault
Vitaliy Cherepanov [Fri, 13 Dec 2013 11:25:55 +0000 (15:25 +0400)]
[FIX] fix http client fault

Change-Id: I5f89aa0511b0426051419231f867a0ead4c7cc48
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] build for armv7l
Vitaliy Cherepanov [Tue, 10 Dec 2013 10:34:18 +0000 (14:34 +0400)]
[FIX] build for armv7l

Change-Id: Ie36e441782dcaea3f97151c48d3038ad953fd232
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[IMPROVE] add debug to defines
Vitaliy Cherepanov [Thu, 5 Dec 2013 14:40:52 +0000 (18:40 +0400)]
[IMPROVE] add debug to defines

when use make -f makefile_preproc
PACK_COMMON_BEGIN define becomes
do {
    ...
} while(0)

but now it will be like
do {    /* PACK_COMMON_BEGIN */
    ...
} while(0)

Change-Id: Ib9c9bc13729ac5062031577cd982b37e9ed6a639
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] make headers
Vitaliy Cherepanov [Mon, 9 Dec 2013 14:16:52 +0000 (18:16 +0400)]
[FIX] make headers

Change-Id: I5fa63f9c18544e4d5e4f2a9ef0e78d111a376f45
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[IMPROVE] open GL native probes added
Vitaliy Cherepanov [Fri, 6 Dec 2013 11:49:20 +0000 (15:49 +0400)]
[IMPROVE] open GL native probes added

Change-Id: I5f5febd1c2533532f31f0d7dce2bd8ffe518afab
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] fix tizen open GL probes
Vitaliy Cherepanov [Fri, 6 Dec 2013 09:38:21 +0000 (13:38 +0400)]
[FIX] fix tizen open GL probes

Change-Id: I5b075a1d1352bd458537332ed17bbaeffb727a36

10 years ago[FIX] pack_string: correct null string handling
Nikita Kalyazin [Mon, 2 Dec 2013 05:00:15 +0000 (09:00 +0400)]
[FIX] pack_string: correct null string handling

Change-Id: Ic3d7ea27c78b820625958148e473da810efa2d2e
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] scenemanager: too small buffer
Nikita Kalyazin [Sun, 1 Dec 2013 11:55:09 +0000 (15:55 +0400)]
[FIX] scenemanager: too small buffer

Change-Id: I27df8e05ec49cb235468fe31b8a7b59aed6dde0b
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] missing log from destructor of tizen class
Anastasia Lyupa [Mon, 25 Nov 2013 08:21:39 +0000 (12:21 +0400)]
[FIX] missing log from destructor of tizen class

Port original DA commit:
d4db830c925b52d5df8f18baa1beadb77e7e159f

Change-Id: I5c7bf4057e4b6b44a43b420a6ffacb266059018c
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[REFACTOR] direct call from app determination
Nikita Kalyazin [Thu, 28 Nov 2013 09:26:08 +0000 (13:26 +0400)]
[REFACTOR] direct call from app determination

Change-Id: I2921bd85c47f663af10e10876e5bf77c4fa0699d
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[PROTO] filtering logic
Nikita Kalyazin [Wed, 27 Nov 2013 14:12:05 +0000 (18:12 +0400)]
[PROTO] filtering logic

Involves:
 - regular option flags;
 - non-filtering option flags;
 - bFiltering.

Change-Id: Ice513a9ccffb492a2b8e584a705fbac1d058f256
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[IMPROVE] tizen_controls.cpp (OPT_UI)
Anastasia Lyupa [Tue, 19 Nov 2013 13:46:19 +0000 (17:46 +0400)]
[IMPROVE] tizen_controls.cpp (OPT_UI)

add PRE_PROBEBLOCK, POST_PROBEBLOCK checks
fix return type in Container::RemoveControl

check whether AddControl is called inside wrapper
AddControl or not, send only one log

original da port commit: 2be5e9fa3e3def3c72ad997bfc89f03ca22ce07b

Change-Id: Ia30d5a1b679b3d7f8c25b5e1e183d331728cb3c9
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[IMPROVE] add MSG_ERR support
Vitaliy Cherepanov [Mon, 25 Nov 2013 09:33:52 +0000 (13:33 +0400)]
[IMPROVE] add MSG_ERR support

Change-Id: I9c5c4d8bf24949c8c86b9693d11c3c591c66cb5d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] app segfault if OPT_NETWORK_ALWAYS enabled
Vitaliy Cherepanov [Fri, 22 Nov 2013 13:20:12 +0000 (17:20 +0400)]
[FIX] app segfault if OPT_NETWORK_ALWAYS enabled

increase local buffer size

Change-Id: I0ee23cbcf72a37b1cb9cb0f0385fef47efb99a9f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] add new features for no filtering, enable 64bit features
Anastasia Lyupa [Mon, 18 Nov 2013 15:51:26 +0000 (19:51 +0400)]
[PROTO] add new features for no filtering, enable 64bit features

Change-Id: I7b96750c60bf08b69abeeabe8001823c4cc42445
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[FIX] Fix buffer overflow crash
Dmitry Bogatov [Wed, 20 Nov 2013 11:29:07 +0000 (15:29 +0400)]
[FIX] Fix buffer overflow crash

This is temporary solution: it still will crash on
filenames, longer than PATH_MAX.

Change-Id: Ifb818eab7c34bd9e1e93bbcb4b558b5b7026b519
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] workaround for va_arg on arm
Nikita Kalyazin [Fri, 15 Nov 2013 08:13:37 +0000 (12:13 +0400)]
[FIX] workaround for va_arg on arm

Change-Id: I91c131d78fefbc5d1bbdb8dc4201c13eb3b9b387
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[PROTO] add return type for socket probes
Vitaliy Cherepanov [Tue, 12 Nov 2013 08:32:21 +0000 (12:32 +0400)]
[PROTO] add return type for socket probes

Change-Id: Ibb64089b8a1fee90ea10a6bd2aa8d44edcd69ea9
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] actualize return types for tizenapi
Nikita Kalyazin [Wed, 13 Nov 2013 09:09:45 +0000 (13:09 +0400)]
[PROTO] actualize return types for tizenapi

Files concerned:
 - probe_tizenapi/tizen_controls.cpp
 - probe_tizenapi/tizen_file.cpp
 - probe_tizenapi/tizen_sync.cpp
 - probe_tizenapi/tizen_thread.cpp

Change-Id: I27e44a6109450847c07e750580fd882898e6fca5
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] Build for ARM target
Dmitry Bogatov [Wed, 13 Nov 2013 08:27:35 +0000 (12:27 +0400)]
[FIX] Build for ARM target

Change-Id: I4667238848b634ef2fa322dae8318bfb7e3b47e2
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] appState argument type ("p" -> "x")
Nikita Kalyazin [Tue, 12 Nov 2013 07:58:47 +0000 (11:58 +0400)]
[FIX] appState argument type ("p" -> "x")

AppState appState is an enum actually.

Change-Id: I3ddf27e15d6fb8cd05fa48b3ea0d7c352b374e3b
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[PROTO] actualize return type for tizen_lifecycle
Nikita Kalyazin [Tue, 12 Nov 2013 07:55:53 +0000 (11:55 +0400)]
[PROTO] actualize return type for tizen_lifecycle

Change-Id: I6aacd9d917fab8a4b8b4034fac0e607a3dc45600
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[PROTO] MSG_PROBE: replace return by return type, return value pair
Anastasia Lyupa [Thu, 31 Oct 2013 12:00:58 +0000 (16:00 +0400)]
[PROTO] MSG_PROBE: replace return by return type, return value pair

It's a draft.
Now new packing function calls are commented.

TODO: add correct return type packing to
PACK_COMMON_END and PACK_RETURN_END calls
in probe_socket/ and probe_tizenapi/

Change-Id: I1238b2a22530620f53e16a18cebd379639f58463
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[FIX] argument types conformance
Nikita Kalyazin [Sun, 10 Nov 2013 09:50:23 +0000 (13:50 +0400)]
[FIX] argument types conformance

"x", "p" arguments are wrapped with type casting.
Otherwise they are saved as 32-bit ones and poison next arguments.

Change-Id: I3ed635a0b7f1a7cc5c3fc09154ca138466300fea
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] libc memory alloc probes collection
Dmitry Bogatov [Thu, 7 Nov 2013 11:24:56 +0000 (15:24 +0400)]
[FIX] libc memory alloc probes collection

Move from hooks to overloading, since hooks are deprecated.

Change-Id: I0632ab0580d4f1f1304eee829ace302b0a22233c
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] Absolute filenames
Dmitry Bogatov [Fri, 8 Nov 2013 09:04:06 +0000 (13:04 +0400)]
[FIX] Absolute filenames

Change-Id: Ib3fb05ea833e02fbd3a49f7c89f9b0b88b1e3d72
Fix: bc19c3728beae88801914b7ba975c53b31fce46e
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[REFACTOR] Redesign Makefile
Dmitry Bogatov [Thu, 7 Nov 2013 06:29:27 +0000 (10:29 +0400)]
[REFACTOR] Redesign Makefile

Reasons:
  + Clear rules due use of predefined capabilities of GNU Make
  + Separation of compilation and linking
    * Avoid work duplication while compiling `capi` and `tizen`
    * Potencial for paralleling compilation
    * Potencial for per-file flags and defines

Change-Id: I3c4a606734a1cb2851fb4ece465317fac7f837f9
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[PROTO] add message size to msg_probe_network
Vitaliy Cherepanov [Thu, 7 Nov 2013 13:41:13 +0000 (17:41 +0400)]
[PROTO] add message size to msg_probe_network

Change-Id: I928e266abe3c8d21826072d44e304c9db93ef13f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] gProbeDepth modification when child thread running
Alexander Aksenov [Thu, 7 Nov 2013 13:14:04 +0000 (17:14 +0400)]
[FIX] gProbeDepth modification when child thread running

Now gProbeDepth variable is changed only if thread API tracing is
activated

Change-Id: Id495d5bfcfd92f2f12acf563162ae53850e3696a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[REFACTOR] Refactor creating recv thread
Dmitry Bogatov [Wed, 6 Nov 2013 07:55:31 +0000 (11:55 +0400)]
[REFACTOR] Refactor creating recv thread

Change-Id: Ic68cbba577ccf7dd0884329a1a1152e853fd6b9a
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[REFACTOR] Refactor getting app start time
Dmitry Bogatov [Wed, 6 Nov 2013 07:49:57 +0000 (11:49 +0400)]
[REFACTOR] Refactor getting app start time

Change-Id: I2e3099a700d5281e1517b28f0923cd4c533f5864
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[REFACTOR] Refactor timerfd initialization
Dmitry Bogatov [Wed, 6 Nov 2013 07:33:51 +0000 (11:33 +0400)]
[REFACTOR] Refactor timerfd initialization

Change-Id: If9dc4f94edce99ddac6b812da68c60926b7c2cd7
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[PROTO] add MSG_GET_SCREENSHOT support
Vitaliy Cherepanov [Wed, 6 Nov 2013 08:17:15 +0000 (12:17 +0400)]
[PROTO] add MSG_GET_SCREENSHOT support

Change-Id: I3fe6ac0a3a9a4e587d49d7f98dd5bcad752987c2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] Remove postBlockBegin() from pthread_self
Alexander Aksenov [Wed, 6 Nov 2013 12:29:53 +0000 (16:29 +0400)]
[FIX] Remove postBlockBegin() from pthread_self

Cause it is already included in AFTER_PACK_ORIGINAL_THREAD define

Change-Id: Ia1f9bcf718a48aa3bc2a3fedbb16f8822420c2aa
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[PROTO] File probes sends absolute filename
Dmitry Bogatov [Wed, 23 Oct 2013 07:27:33 +0000 (11:27 +0400)]
[PROTO] File probes sends absolute filename

Change-Id: I810cccdcd17718256054c4d4e99ced2aad4f4636
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] read and write for non regular/socket fd
Nikita Kalyazin [Fri, 1 Nov 2013 07:36:49 +0000 (11:36 +0400)]
[FIX] read and write for non regular/socket fd

This concerns the situation of invalid fd.  fstat also returns false
(regular/socket fd) in such cases.

Change-Id: I3af55ad524ce2e0d19b7e298a224e736af3a30bc
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[IMPROVE] add cache for pid
Nikita Kalyazin [Thu, 31 Oct 2013 10:07:26 +0000 (14:07 +0400)]
[IMPROVE] add cache for pid

As it's done for tid

Change-Id: Ieecf7ce5cc7f82bd1a9e1ad3bc078278152ab573
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] memory leaks (new [])
Nikita Kalyazin [Thu, 31 Oct 2013 11:16:26 +0000 (15:16 +0400)]
[FIX] memory leaks (new [])

Change-Id: I35aab19289d4e40e74a2c5374f2b6d90c0b779e9
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[REFACTOR] More modular Makefile
Dmitry Bogatov [Wed, 30 Oct 2013 08:49:31 +0000 (12:49 +0400)]
[REFACTOR] More modular Makefile

Reason: simplify control of included probes
by scripting tools (e.g just removing line with sed(1))

Change-Id: I3fdedc4e95a3b9681ad572b19db9f79e867dc6e7
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] Fix arm build
Dmitry Bogatov [Wed, 30 Oct 2013 08:55:53 +0000 (12:55 +0400)]
[FIX] Fix arm build

Change-Id: I7a6a7c80d980686496ee374e8db6afd14b75ae61

10 years ago[FIX] Internet app closing during file inst
Anastasia Lyupa [Tue, 29 Oct 2013 09:46:32 +0000 (13:46 +0400)]
[FIX] Internet app closing during file inst

It is a temporary solution

Change-Id: I22cf5fcb056251635c553ee84a8bb7eeb358369f
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[STYLE] Fix compiler warnings
Dmitry Bogatov [Mon, 28 Oct 2013 09:47:50 +0000 (13:47 +0400)]
[STYLE] Fix compiler warnings

Patch is checked with checkpatch.pl and edited accordingly.
Point of note: there is no reason for pthread_t be integral type.

Change-Id: I32e63ce8a74ee94ac4d62629bba339edb4a8d804
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] Stop takes long time
Vitaliy Cherepanov [Mon, 21 Oct 2013 10:10:24 +0000 (14:10 +0400)]
[FIX] Stop takes long time

merge dynamic-analysis-probe
eaaa5255eb87e8a887fdb170a263f5066d1f5689
70343d43a50d1f49fb60607c6167a2f706ccb2c8

Change-Id: I70471af6f4a4c8862087cf4787334f6801b2887f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] message id update (probe starting from 0x0101)
Nikita Kalyazin [Fri, 11 Oct 2013 10:19:15 +0000 (14:19 +0400)]
[PROTO] message id update (probe starting from 0x0101)

Change-Id: I8878d5cc474ccafebc388989d77109859b201820
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[STYLE] Remove all trailing whitespaces
Dmitry Bogatov [Mon, 7 Oct 2013 08:30:53 +0000 (12:30 +0400)]
[STYLE] Remove all trailing whitespaces

Change-Id: Ie529f50f01ecb915ef0eeda27d6d8736ce588598

10 years ago[RPM] add API ID map to probe RPM
Nikita Kalyazin [Fri, 4 Oct 2013 05:06:02 +0000 (09:06 +0400)]
[RPM] add API ID map to probe RPM

It is installed at /usr/lib/da_api_map.

Change-Id: Ie0941e8f475558a2ab98a2e14ed6c216e03bc95d
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FEATURE] add tizen http probes
Vitaliy Cherepanov [Thu, 26 Sep 2013 12:11:14 +0000 (16:11 +0400)]
[FEATURE] add tizen http probes

- merge dynamic-analysis-probe c336179244e6a0fbd70408587a7c2d9443b5170f
- remove unused variable inp warning
- update copyright tizen_socket

Change-Id: I18e88ba65329a56e4be5731473516edd25f0371e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FEATURE] add tizen network socket probes
Vitaliy Cherepanov [Wed, 25 Sep 2013 12:12:48 +0000 (16:12 +0400)]
[FEATURE] add tizen network socket probes

- merge dynamic-analysis-probe (c336179244e6a0fbd70408587a7c2d9443b5170f)
- some changes in api_names.txt format
  you can add line like <name1>###<name2>
  so <name1> will be used for defines generation (include/api_id_mapping.h)
  and <name2> will be used for decode lists generation:
  (include/api_id_list.h, include/id_list)
  use this feature to decode ugly names
  for example <_ZN5Tizen3Net7Sockets6Socket5CloseEv###Socket::Close> line
  will be tranformed to
  include/id_list: <525 Socket::Close>
  include/api_id_list.h: <"Socket::Close",>
  include/api_id_mapping.h: <#define API_ID__ZN5Tizen3Net7Sockets6Socket5CloseEv 525>

Change-Id: I372318367f0cbcf38e603bbeb7ca0ba38d433609
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] GL: add library init event packing
Anastasia Lyupa [Wed, 25 Sep 2013 11:48:14 +0000 (15:48 +0400)]
[PROTO] GL: add library init event packing

da-probe: commit 27ba48118bdf41875b3b257d061c5d6b5be0a401

Change-Id: I753b53c4b0887943945173ed19b001df9dd378e4
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[FIX] additional Makefile fix for renaming : tizen -> capi, osp -> tizen
Vitaliy Cherepanov [Mon, 23 Sep 2013 09:48:08 +0000 (13:48 +0400)]
[FIX] additional Makefile fix for renaming : tizen -> capi, osp -> tizen

additional fix for commit 8f91637f134d08d0ceda7c58ed2287b418d58a71
- da_probe_osp.so -> da_probe_capi.so
- tizen flags -DOSPAPP -> -DTIZENAPP

Change-Id: Ia01c234ea47f8a4b1a7ca0e044fd34c38f6d603b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[REFACTOR] renaming : tizen -> capi, osp -> tizen
Vitaliy Cherepanov [Fri, 20 Sep 2013 15:17:13 +0000 (19:17 +0400)]
[REFACTOR] renaming : tizen -> capi, osp -> tizen

merge dynamic-analysis-probe
(commit 64df7f4b5e5b1ff8c810c765e647161ef6f46924)
- change terms appropriately : tizen -> capi, osp -> tizen
- change directory name, file name, variable/flag name inside source
code

Change-Id: I18c738ec741151e4cb80dfe303b2e0f2ae7522be
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] Send probes only for regular files or descriptors
Dmitry Bogatov [Fri, 20 Sep 2013 11:57:14 +0000 (15:57 +0400)]
[PROTO] Send probes only for regular files or descriptors

Affected functions:
  creat
  dup
  dup2
  fchmod
  fchown
  fcntl
  fdatasync
  fstat
  fsync
  ftruncate
  futimens
  lockf
  lseek
  open
  openat

Change-Id: I846aecb520169a9a5d4e3738fb1b3199311b1648
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] Correctly decrement counter in case of irregular descriptor
Dmitry Bogatov [Fri, 20 Sep 2013 12:30:52 +0000 (16:30 +0400)]
[FIX] Correctly decrement counter in case of irregular descriptor

Change-Id: I6d0e5a7ad2c39cfa255cdca721265dec53855355
See-also: 272fced7a209be0528725870a135393d9fc43e58
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FEATURE] add network probes
Vitaliy Cherepanov [Fri, 20 Sep 2013 09:43:05 +0000 (13:43 +0400)]
[FEATURE] add network probes

Changes to merge (dynamic-analysis-probe. develop branch):
Network probe: c336179244e6a0fbd70408587a7c2d9443b5170f
probe: 9f94a9db5c59241a4cf8fd6f8d2941a0ad914912

Change-Id: I60df03dabc9047b9b0025de0c2c4d967ae41120b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[PROTO] Send probes from {r,v,}{read,write} only for socket and reg files
Dmitry Bogatov [Fri, 20 Sep 2013 09:53:27 +0000 (13:53 +0400)]
[PROTO] Send probes from {r,v,}{read,write} only for socket and reg files

See-also: 02637c31710324818e36a0455c6f79c0def786ea
Change-Id: I66760615a24c02e2ae7054dcc745db0d3ab7341d
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[IMPROVE] write START/END probe macro for files like in da-probe
Anastasia Lyupa [Thu, 19 Sep 2013 12:40:45 +0000 (16:40 +0400)]
[IMPROVE] write START/END probe macro for files like in da-probe

improve 82a7637e17582f058abff4027cbd429d9c54b8ef
da-probe commit 65352634ef85b4cec1a86ad34157099adc7bef70

Change-Id: Ic64abcb391ad932134377a3f8abdcb3b58f547bf
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[PROTO] opengl probes: elapsed time in nsec (8 bytes)
Nikita Kalyazin [Thu, 19 Sep 2013 15:50:08 +0000 (19:50 +0400)]
[PROTO] opengl probes: elapsed time in nsec (8 bytes)

Change-Id: Iae78d19f6996f8f7b6ef250d75a951ad82d2e931
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years agoMerge "[FIX] eglSwapBuffers probe fix"
Nikita Kalyazin [Thu, 19 Sep 2013 14:53:57 +0000 (14:53 +0000)]
Merge "[FIX] eglSwapBuffers probe fix"

10 years agoMerge "[FIX] warning of implicit real_pthread_* declaration"
Nikita Kalyazin [Thu, 19 Sep 2013 08:06:20 +0000 (08:06 +0000)]
Merge "[FIX] warning of implicit real_pthread_* declaration"

10 years ago[PROTO] bada_file.cpp:
Anastasia Lyupa [Wed, 18 Sep 2013 11:26:54 +0000 (15:26 +0400)]
[PROTO] bada_file.cpp:

 - add FD_API_READ_START, FD_API_WRITE_START probes
 - remove ret == E_SUCCESS checking from postBlock

according to da-probe commit 65352634ef85b4cec1a86ad34157099adc7bef70

Change-Id: Ice2a15a620d55dde6f34083b28b42213d5e7c5b6
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>