Vitaliy Cherepanov [Wed, 30 Jul 2014 08:22:00 +0000 (12:22 +0400)]
[FIX] opengl api
Change-Id: I7828ca4af6b4f4985ea43a6e17be7ed6459ea714
Vasiliy Ulyanov [Mon, 4 Aug 2014 06:25:40 +0000 (10:25 +0400)]
[FIX] conditional build for new capi_appfw
Change-Id: I0c605dadebc89155dc35d0cd03ad00c3cf951da1
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vitaliy Cherepanov [Fri, 25 Jul 2014 08:38:58 +0000 (12:38 +0400)]
[FEATURE] add evas_gl_ probes
Change-Id: If427748901885dc2ae44e06f36f9ac59e1d8d86b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Fri, 1 Aug 2014 05:53:45 +0000 (09:53 +0400)]
[FIX] build for new projects with PRIVATE_CAPI_APPFW
Change-Id: I1f1117fbe491dda02e69feaac407da4fc0a49e72
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vitaliy Cherepanov [Tue, 22 Jul 2014 12:38:19 +0000 (16:38 +0400)]
[FIX] restore opengl probes
Change-Id: I4395a963d91c35f1170fa9e56bcbf5efa0942c68
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Mon, 21 Jul 2014 09:26:43 +0000 (13:26 +0400)]
[FIX] include paths (capi-system-runtime-info)
Change-Id: I7849c71f3710f70f595fd1a606cd4c4f1ce3237c
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Tue, 8 Jul 2014 13:50:43 +0000 (17:50 +0400)]
[FEATURE] File analysis: implement symlinks resolution
Change-Id: I27d4991a4d0e81dc6fa7c0567b62ac14cef6ba48
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vasiliy Ulyanov [Wed, 21 May 2014 06:47:45 +0000 (10:47 +0400)]
[FEATURE] File analysis: add file lock msg types
Change-Id: I731f95f97da0744d66733d610c6d5d061be0e01c
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Dmitry Kovalenko [Thu, 29 May 2014 08:16:47 +0000 (01:16 -0700)]
Merge "[FEATURE] Remove osp probes"
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Vitaliy Cherepanov [Fri, 6 Dec 2013 09:38:21 +0000 (13:38 +0400)]
[FIX] fix tizen open GL probes
Change-Id: I5b075a1d1352bd458537332ed17bbaeffb727a36
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Dmitry Bogatov [Wed, 30 Oct 2013 08:55:53 +0000 (12:55 +0400)]
[FIX] Fix arm build
Change-Id: I7a6a7c80d980686496ee374e8db6afd14b75ae61
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>
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>
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>
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>
Dmitry Bogatov [Mon, 7 Oct 2013 08:30:53 +0000 (12:30 +0400)]
[STYLE] Remove all trailing whitespaces
Change-Id: Ie529f50f01ecb915ef0eeda27d6d8736ce588598
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>
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>
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>
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>
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>
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>
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>