46 const TInt KMemSpyOpFlagsIncludesThreadId = 0x00010000; |
46 const TInt KMemSpyOpFlagsIncludesThreadId = 0x00010000; |
47 const TInt KMemSpyOpFlagsIncludesThreadName = 0x00020000; |
47 const TInt KMemSpyOpFlagsIncludesThreadName = 0x00020000; |
48 |
48 |
49 // Literal constants |
49 // Literal constants |
50 _LIT( KMemSpyServerName, "MemSpyServer" ); |
50 _LIT( KMemSpyServerName, "MemSpyServer" ); |
|
51 _LIT( KMemSpyProcessName0, "MemSpyServer.exe" ); |
51 _LIT( KMemSpyProcessName1, "MemSpyUI.exe" ); |
52 _LIT( KMemSpyProcessName1, "MemSpyUI.exe" ); |
52 _LIT( KMemSpyProcessName2, "MemSpyConsole.exe" ); |
53 _LIT( KMemSpyProcessName2, "MemSpyConsole.exe" ); |
53 |
54 |
54 // |
55 // |
55 // Supported MemSpy operation types |
56 // Supported MemSpy operation types |
256 * [INTERNAL REQUEST] |
257 * [INTERNAL REQUEST] |
257 */ |
258 */ |
258 EMemSpyClientServerOpSystemWideMemoryTrackingHeapDumpSet, |
259 EMemSpyClientServerOpSystemWideMemoryTrackingHeapDumpSet, |
259 |
260 |
260 /** |
261 /** |
|
262 * [INTERNAL REQUEST] |
|
263 */ |
|
264 EMemSpyClientServerOpMarkerUiFirst, |
|
265 |
|
266 EMemSpyClientServerOpGetProcessCount = EMemSpyClientServerOpMarkerUiFirst, |
|
267 |
|
268 EMemSpyClientServerOpGetProcesses, |
|
269 |
|
270 EMemSpyClienServerOpGetProcessIdByName, |
|
271 |
|
272 EMemSpyClientServerOpGetThreadCount, |
|
273 |
|
274 EMemSpyClientServerOpGetThreads, |
|
275 |
|
276 EMemSpyClientServerOpSetThreadPriority, |
|
277 |
|
278 EMemSpyClientServerOpProcessSystemPermanentOrCritical, |
|
279 |
|
280 EMemSpyClientServerOpEndProcess, |
|
281 |
|
282 EMemSpyClientServerOpSwitchToProcess, |
|
283 |
|
284 //Threads operations |
|
285 EMemSpyClientServerOpThreadSystemPermanentOrCritical, |
|
286 |
|
287 EMemSpyClientServerOpEndThread, |
|
288 |
|
289 EMemSpyClientServerOpSwitchToThread, |
|
290 |
|
291 EMemSpyClientServerOpGetInfoItemType, |
|
292 |
|
293 EMemSpyClientServerOpGetThreadInfoItemsCount, |
|
294 |
|
295 EMemSpyClientServerOpGetThreadInfoItems, |
|
296 |
|
297 |
|
298 //Kernel Objects operations |
|
299 EMemSpyClientServerOpGetKernelObjectCount, |
|
300 |
|
301 EMemSpyClientServerOpGetKernelObjects, |
|
302 |
|
303 EMemSpyClientServerOpGetKernelObjectItemCount, |
|
304 |
|
305 EMemSpyClientServerOpGetKernelObjectItems, |
|
306 |
|
307 EMemSpyClientServerOpGetHeap, |
|
308 |
|
309 EMemSpyClientServerOpMarkerUiLast, |
|
310 |
|
311 EMemSpyClientServerOpOutputAllContainerContents, |
|
312 |
|
313 EMemSpyClientServerOpDumpKernelHeap, |
|
314 |
|
315 /** |
261 * [INTERNAL REQUEST] |
316 * [INTERNAL REQUEST] |
262 */ |
317 */ |
263 EMemSpyClientServerOpMarkerLast, |
318 EMemSpyClientServerOpMarkerLast, |
264 }; |
319 }; |
265 |
320 |
266 |
321 |
|
322 enum TMemSpyEndType |
|
323 { |
|
324 ETerminate, |
|
325 EKill, |
|
326 EPanic |
|
327 }; |
267 |
328 |
268 |
329 |
269 |
330 |
270 |
331 |
271 |
332 |