class RMemSpyDriverClient : public RBusLogicalChannel |
Private Member Functions | |
---|---|
TBool | DebugEUser() |
TUint | RHeapVTable() |
void | ReadHeapInfoFreeCellsFromXferBufferL(RArray< TMemSpyDriverFreeCell > &) |
void | ResetStreamBuffer() |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes |
Private Attributes | |
---|---|
RBuf8 | iBuffer |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C void | EventMonitorNotify | ( | TUint | aHandle, |
TRequestStatus & | aStatus, | |||
TUint & | aContext | |||
) |
TUint aHandle | |
TRequestStatus & aStatus | |
TUint & aContext |
IMPORT_C void | EventMonitorNotifyCancel | ( | TUint | aHandle | ) |
TUint aHandle |
IMPORT_C TInt | GetApproximateKernelObjectSize | ( | TMemSpyDriverContainerType | aType | ) |
Fetches the in-memory size of a specific kernel object (where possible). The size is an approximation since it doesn't take into account the size of ASSP-specific classes.
TMemSpyDriverContainerType aType |
IMPORT_C TInt | GetChunkHandles | ( | TAny ** | aHandleArray, |
TInt & | aHandleCount | |||
) |
IMPORT_C TInt | GetChunkHandlesForProcess | ( | TUint | aPid, |
TAny ** | aHandleArray, | |||
TInt & | aHandleCount | |||
) |
IMPORT_C TInt | GetChunkHandlesForThread | ( | TUint | aTid, |
TAny ** | aHandleArray, | |||
TInt & | aHandleCount | |||
) |
IMPORT_C TInt | GetChunkInfo | ( | TAny * | aHandle, |
TMemSpyDriverChunkInfo & | aInfo | |||
) |
TAny * aHandle | |
TMemSpyDriverChunkInfo & aInfo |
IMPORT_C TInt | GetChunkInfo | ( | TAny * | aHandle, |
TMemSpyDriverChunkInfoWithoutName & | aInfo | |||
) |
TAny * aHandle | |
TMemSpyDriverChunkInfoWithoutName & aInfo |
IMPORT_C TInt | GetCodeSegInfo | ( | TAny * | aHandle, |
TUint | aPid, | |||
TMemSpyDriverCodeSegInfo & | aInfo | |||
) |
TAny * aHandle | |
TUint aPid | |
TMemSpyDriverCodeSegInfo & aInfo |
IMPORT_C TInt | GetCodeSegs | ( | TAny ** | aHandleArray, |
TInt & | aHandleCount, | |||
TBool | aOnlyRamLoaded = EFalse | |||
) |
IMPORT_C TInt | GetCodeSegs | ( | TUint | aPid, |
TAny ** | aHandleArray, | |||
TInt & | aHandleCount | |||
) |
IMPORT_C TInt | GetCondVarSuspendedThreadInfo | ( | TAny * | aHandle, |
TMemSpyDriverCondVarSuspendedThreadInfo & | aInfo | |||
) |
Get info about CondVar suspended thread
TAny * aHandle | |
TMemSpyDriverCondVarSuspendedThreadInfo & aInfo |
IMPORT_C TInt | GetCondVarSuspendedThreads | ( | TAny * | aCondVarHandle, |
TAny ** | aThreadHandleArray, | |||
TInt & | aThreadCount | |||
) |
Get handles to suspended threads from a CondVar
IMPORT_C TInt | GetContainerHandles | ( | TMemSpyDriverContainerType | aContainer, |
TAny ** | aHandleArray, | |||
TInt & | aHandleCount | |||
) |
Get all of the handles in a specific container
TMemSpyDriverContainerType aContainer | |
TAny ** aHandleArray | |
TInt & aHandleCount |
IMPORT_C TInt | GetGenericHandleInfo | ( | TInt | aTid, |
TMemSpyDriverContainerType | aType, | |||
TAny * | aHandle, | |||
TMemSpyDriverHandleInfoGeneric & | aParams | |||
) |
Get handle info for a specific handle owner by a specific thread. If the handle is not thread-specific, then use KMemSpyDriverEnumerateContainerHandles as the aTid parameter.
TInt aTid | |
TMemSpyDriverContainerType aType | |
TAny * aHandle | |
TMemSpyDriverHandleInfoGeneric & aParams |
IMPORT_C TInt | GetHeapData | ( | TUint | aTid, |
TUint32 | aFreeCellChecksum, | |||
TDes8 & | aDest, | |||
TUint & | aReadAddress, | |||
TUint & | aAmountRemaining | |||
) |
Get free cell data. If aFreeCellChecksum is 0, then no checksum comparison is performed.
IMPORT_C HBufC8 * | GetHeapDataKernelLC | ( | TMemSpyHeapInfo & | aInfo, |
RArray< TMemSpyDriverFreeCell > & | aFreeCells | |||
) |
TMemSpyHeapInfo & aInfo | |
RArray< TMemSpyDriverFreeCell > & aFreeCells |
IMPORT_C TInt | GetHeapDataNext | ( | TUint | aTid, |
TDes8 & | aDest, | |||
TUint & | aReadAddress, | |||
TUint & | aAmountRemaining | |||
) |
IMPORT_C TInt | GetHeapInfoKernel | ( | TMemSpyHeapInfo & | aInfo | ) |
TMemSpyHeapInfo & aInfo |
IMPORT_C TInt | GetHeapInfoKernel | ( | TMemSpyHeapInfo & | aInfo, |
RArray< TMemSpyDriverFreeCell > & | aFreeCells | |||
) |
TMemSpyHeapInfo & aInfo | |
RArray< TMemSpyDriverFreeCell > & aFreeCells |
IMPORT_C TInt | GetHeapInfoUser | ( | TMemSpyHeapInfo & | aInfo, |
TUint | aTid | |||
) |
TMemSpyHeapInfo & aInfo | |
TUint aTid |
IMPORT_C TInt | GetHeapInfoUser | ( | TMemSpyHeapInfo & | aInfo, |
TUint | aTid, | |||
RArray< TMemSpyDriverFreeCell > & | aFreeCells | |||
) |
TMemSpyHeapInfo & aInfo | |
TUint aTid | |
RArray< TMemSpyDriverFreeCell > & aFreeCells |
IMPORT_C TInt | GetPAndSInfo | ( | TAny * | aHandle, |
TMemSpyDriverPAndSInfo & | aInfo | |||
) |
Get info about a P&S kernel object
TAny * aHandle | |
TMemSpyDriverPAndSInfo & aInfo |
IMPORT_C TInt | GetProcessHandlesByType | ( | TInt | aPid, |
TMemSpyDriverContainerType | aType, | |||
TAny ** | aHandleArray, | |||
TInt & | aHandleCount | |||
) |
Get all handles of a specific type, for a specific process.
TInt aPid | |
TMemSpyDriverContainerType aType | |
TAny ** aHandleArray | |
TInt & aHandleCount |
IMPORT_C TInt | GetProcessInfo | ( | TUint | aPid, |
TMemSpyDriverProcessInfo & | aInfo | |||
) |
TUint aPid | |
TMemSpyDriverProcessInfo & aInfo |
IMPORT_C TInt | GetReferencesToMyProcess | ( | TUint | aPid | ) |
TUint aPid |
IMPORT_C TInt | GetReferencesToMyThread | ( | TUint | aTid | ) |
Use this method to identify the handles of threads & processes that happen to reference the specified thread or process.
In brief, every kernel-side thread and process object contains a handle container. This container is the DObject-handles which the thread or process has open.
This method can be used to search all of the other handle containers within other threads & processes to see if any of those handle containers happen to reference the specified thread or process (as defined by aTid or aPid).
TUint aTid |
IMPORT_C TInt | GetServerSessionHandles | ( | TAny * | aServerHandle, |
TAny ** | aSessionHandleArray, | |||
TInt & | aSessionHandleCount | |||
) |
Gets handles of all sessions that are connected to a particular server
IMPORT_C TInt | GetServerSessionInfo | ( | TAny * | aSessionHandle, |
TMemSpyDriverServerSessionInfo & | aParams | |||
) |
Gets session information for a given session handle.
TAny * aSessionHandle | |
TMemSpyDriverServerSessionInfo & aParams |
IMPORT_C TInt | GetStackData | ( | TUint | aTid, |
TDes8 & | aDest, | |||
TUint & | aAmountRemaining, | |||
TMemSpyDriverDomainType | aDomain = EMemSpyDriverDomainUser, | |||
TBool | aEntireStack = ETrue | |||
) |
TUint aTid | |
TDes8 & aDest | |
TUint & aAmountRemaining | |
TMemSpyDriverDomainType aDomain = EMemSpyDriverDomainUser | |
TBool aEntireStack = ETrue |
IMPORT_C TInt | GetStackDataNext | ( | TUint | aTid, |
TDes8 & | aDest, | |||
TUint & | aAmountRemaining, | |||
TMemSpyDriverDomainType | aDomain = EMemSpyDriverDomainUser, | |||
TBool | aEntireStack = ETrue | |||
) |
TUint aTid | |
TDes8 & aDest | |
TUint & aAmountRemaining | |
TMemSpyDriverDomainType aDomain = EMemSpyDriverDomainUser | |
TBool aEntireStack = ETrue |
IMPORT_C TInt | GetStackInfo | ( | TUint | aTid, |
TMemSpyDriverStackInfo & | aInfo | |||
) |
TUint aTid | |
TMemSpyDriverStackInfo & aInfo |
IMPORT_C TInt | GetThreadHandlesByType | ( | TInt | aTid, |
TMemSpyDriverContainerType | aType, | |||
TAny ** | aHandleArray, | |||
TInt & | aHandleCount | |||
) |
Get all handles of a specific type, for a specific thread.
TInt aTid | |
TMemSpyDriverContainerType aType | |
TAny ** aHandleArray | |
TInt & aHandleCount |
IMPORT_C TInt | GetThreadInfo | ( | TUint | aTid, |
TMemSpyDriverThreadInfo & | aInfo | |||
) |
TUint aTid | |
TMemSpyDriverThreadInfo & aInfo |
IMPORT_C void | GetThreadsL | ( | const TProcessId & | aId, |
RArray< TThreadId > & | aThreads | |||
) |
const TProcessId & aId | |
RArray< TThreadId > & aThreads |
IMPORT_C TInt | ProcessInspectionAutoStartItemsAdd | ( | TUint | aSID | ) |
TUint aSID |
IMPORT_C void | ProcessInspectionRequestChanges | ( | TUint | aPid, |
TRequestStatus & | aStatus, | |||
TMemSpyDriverProcessInspectionInfo & | aInfo | |||
) |
TUint aPid | |
TRequestStatus & aStatus | |
TMemSpyDriverProcessInspectionInfo & aInfo |
IMPORT_C void | ProcessInspectionRequestChangesCancel | ( | TUint | aPid | ) |
TUint aPid |
void | ReadHeapInfoFreeCellsFromXferBufferL | ( | RArray< TMemSpyDriverFreeCell > & | aFreeCells | ) | [private] |
RArray< TMemSpyDriverFreeCell > & aFreeCells |
IMPORT_C TInt | ReadMemory | ( | TUint | aTid, |
TLinAddr | aSrc, | |||
TDes8 & | aDest | |||
) |
IMPORT_C TUint32 | RoundToPageSize | ( | TUint32 | aValue | ) |
Round value to a multiple of the current page size
TUint32 aValue |
IMPORT_C TInt | SetPriority | ( | TUint | aId, |
TThreadPriority | aPriority | |||
) |
TUint aId | |
TThreadPriority aPriority |
IMPORT_C TInt | WalkHeapGetCellInfo | ( | TAny *& | aCellAddress, |
TMemSpyDriverCellType & | aCellType, | |||
TInt & | aLength, | |||
TInt & | aNestingLevel, | |||
TInt & | aAllocNumber, | |||
TInt & | aCellheaderSize, | |||
TAny *& | aCellPayloadAddress | |||
) |
IMPORT_C TInt | WalkHeapNextCell | ( | TUint | aTid, |
TMemSpyDriverCellType & | aCellType, | |||
TAny *& | aCellAddress, | |||
TInt & | aLength, | |||
TInt & | aNestingLevel, | |||
TInt & | aAllocNumber, | |||
TInt & | aCellheaderSize, | |||
TAny *& | aCellPayloadAddress | |||
) |
IMPORT_C TInt | WalkHeapReadCellData | ( | TAny * | aCellAddress, |
TDes8 & | aDest, | |||
TInt | aReadLen | |||
) |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.