4 * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
8 * Jaewon Lim <jaewon81.lim@samsung.com>
9 * Woojin Jung <woojin2.jung@samsung.com>
10 * Juyoung Kim <j0.kim@samsung.com>
11 * Anastasia Lyupa <a.lyupa@samsung.com>
13 * This library is free software; you can redistribute it and/or modify it under
14 * the terms of the GNU Lesser General Public License as published by the
15 * Free Software Foundation; either version 2.1 of the License, or (at your option)
18 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
19 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
21 * License for more details.
23 * You should have received a copy of the GNU Lesser General Public License
24 * along with this library; if not, write to the Free Software Foundation, Inc., 51
25 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
29 * - Samsung RnD Institute Russia
33 #ifndef __PROBEINFO_H__
34 #define __PROBEINFO_H__
50 #define VT_SSIZE_T 'x'
51 #define VT_SOCKLEN_T 'd'
52 #define VT_UINT16_T 'd'
53 #define VT_UINT32_T 'd'
54 #define VT_UINT64_T 'x'
58 /* #define LC_MEMORY 1 */
59 /* #define LC_UICREATE 2 */
60 /* #define LC_UIEVENT 3 */
61 /* #define LC_USERFUNC 4 */
62 /* #define LC_RESOURCE 5 */
63 /* #define LC_LIFECYCLE 6 */
64 /* #define LC_SNAPSHOT 7 */
65 /* #define LC_SCENE 8 */
66 /* #define LC_DEVICE 9 */
67 /* #define LC_ALLOCMEM 10 */
68 /* #define LC_SAMPLE 11 */
69 /* #define LC_THREAD 12 */
70 /* #define LC_CUSTOM 13 */
71 /* #define LC_SYNC 14 */
72 /* #define LC_SOCKET 15 */
73 /* #define LC_GLES20 16 */
77 #define FD_API_CLOSE 1
78 #define FD_API_READ_START 2
79 #define FD_API_READ_END 3
80 #define FD_API_WRITE_START 4
81 #define FD_API_WRITE_END 5
82 #define FD_API_DIRECTORY 6
83 #define FD_API_PERMISSION 7
84 #define FD_API_OTHER 8
86 #define FD_API_RECEIVE 10
87 #define FD_API_OPTION 11
88 #define FD_API_MANAGE 12
89 #define FD_API_LOCK_START 14
90 #define FD_API_LOCK_END 15
93 #define SOCKET_API_FD_OPEN 0
94 #define SOCKET_API_FD_CLOSE 1
95 #define SOCKET_API_RECV_START 2
96 #define SOCKET_API_RECV_END 3
97 #define SOCKET_API_SEND_START 4
98 #define SOCKET_API_SEND_END 5
99 #define SOCKET_API_BIND 6
100 #define SOCKET_API_LISTEN 7
101 #define SOCKET_API_CONNECT 8
102 #define SOCKET_API_ACCEPT_START 9
103 #define SOCKET_API_ACCEPT_END 10
104 #define SOCKET_API_EVENT_START 11
105 #define SOCKET_API_EVENT_END 12
106 #define SOCKET_API_OTHER 13
107 #define HTTP_API_SESSION_CONSTRUCT 14
108 #define HTTP_API_SESSION_CLOSE 15
109 #define HTTP_API_TRANSACTION_OPEN 16
110 #define HTTP_API_TRANSACTION_CLOSE 17
111 #define HTTP_API_ALLOCATION 18
112 #define HTTP_API_SUBMIT 19
113 #define HTTP_API_REQUEST 20
114 #define HTTP_API_RESPONSE 21
115 #define HTTP_API_OTHER 22
116 #define HTTP_API_CLOSE 23
119 #define MEMORY_API_ALLOC 0
120 #define MEMORY_API_FREE 1
121 #define MEMORY_API_MANAGE 2
123 //#define SNAPSHOT_API_WIN 0
124 //#define SNAPSHOT_API_CONTROLBAR 1
125 //#define SNAPSHOT_API_NAVIFRAME 2
126 //#define SNAPSHOT_API_PAGER 3
128 #define EVENT_TYPE_DOWN 0
129 #define EVENT_TYPE_UP 1
130 #define EVENT_TYPE_MOVE 2
132 #define USERFUNC_ENTER 0
133 #define USERFUNC_EXIT 1
135 #define THREAD_PTHREAD 0
136 #define THREAD_TIZENTHREAD_WORKER 1
137 #define THREAD_TIZENTHREAD_EVENTDRIVEN 2
139 #define THREAD_CLASS_BLANK ""
141 #define THREAD_API_NEW 0
142 #define THREAD_API_START 1
143 #define THREAD_API_STOP 2
144 #define THREAD_API_EXIT 3
145 #define THREAD_API_WAIT_START 4
146 #define THREAD_API_WAIT_END 5
147 #define THREAD_API_INTERNAL_START 6
148 #define THREAD_API_INTERNAL_STOP 7
149 #define THREAD_API_OTHER 8
151 #define SYNC_TIZEN_MUTEX 0
152 #define SYNC_TIZEN_MONITOR 1
153 #define SYNC_TIZEN_SEMAPHORE 2
154 #define SYNC_PTHREAD_MUTEX 3
155 #define SYNC_PTHREAD_COND_VARIABLE 4
156 #define SYNC_PTHREAD_RWLOCK 5
157 #define SYNC_PTHREAD_SPINLOCK 6
158 #define SYNC_PTHREAD_BARRIER 7
160 #define SYNC_API_NEW 0
161 #define SYNC_API_ACQUIRE_WAIT_START 1
162 #define SYNC_API_ACQUIRE_WAIT_END 2
163 #define SYNC_API_RELEASE 3
164 #define SYNC_API_TRY_ACQUIRE 4
165 #define SYNC_API_COND_WAIT_START 5
166 #define SYNC_API_COND_WAIT_END 6
167 #define SYNC_API_NOTIFY 7
168 #define SYNC_API_NOTIFY_ALL 8
169 #define SYNC_API_OTHER 9
186 MSG_CAPTURE_SCREEN= 108,
187 MSG_MAPS_INST_LIST= 109
192 OPT_ALWAYSOFF = 0x000000000,
193 OPT_ALLOC = 0x000000008,
194 OPT_FILE = 0x000000010,
195 OPT_THREAD = 0x000000020,
196 OPT_UI = 0x000000040,
197 OPT_SNAPSHOT = 0x000000080,
198 OPT_EVENT = 0x000000100,
199 OPT_RECORD = 0x000000200,
200 OPT_NETWORK = 0x000020000,
201 OPT_GLES = 0x000040000,
202 OPT_ALWAYSON = 0xfffffffff,
203 OPT_ALLOC_ALWAYS = 0x010000000,
204 OPT_FILE_ALWAYS = 0x020000000,
205 OPT_THREAD_ALWAYS = 0x040000000,
206 OPT_UI_ALWAYS = 0x080000000,
207 OPT_NETWORK_ALWAYS = 0x100000000ULL,
208 OPT_GLES_ALWAYS = 0x200000000ULL