analyzetool/dynamicmemoryhook/inc/analyzetoolfastlog.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 49 7fdc9a71d314
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
    34  * @param aIsDebug Determines whether a binary is UDEB or UREL
    34  * @param aIsDebug Determines whether a binary is UDEB or UREL
    35  * @return KErrNone.
    35  * @return KErrNone.
    36 */
    36 */
    37 GLREF_C TInt ATFastLogProcessStarted( const TDesC8& aProcessName,
    37 GLREF_C TInt ATFastLogProcessStarted( const TDesC8& aProcessName,
    38                                  TUint aProcessId,
    38                                  TUint aProcessId,
    39                                  TUint32 aIsDebug,
    39                                  TUint32 aIsDebug );
    40                                  const TDesC8& aAtoolVersion,
       
    41                                  const TDesC8& aApiVersion );
       
    42 
    40 
    43 /**
    41 /**
    44  * TBD 
    42  * TBD 
    45  * @param aProcessId The ID number of the process ended.
    43  * @param aProcessId The ID number of the process ended.
    46  * @param aHandleLeakCount Number of handles open.
    44  * @param aHandleLeakCount Number of handles open.
    78  * TBD
    76  * TBD
    79  * @param aProcessId The ID number of the process ended.
    77  * @param aProcessId The ID number of the process ended.
    80  * @param aMemAddress The memory location where memory has been allocated.
    78  * @param aMemAddress The memory location where memory has been allocated.
    81  * @param aCallstack An array including the current call stack.
    79  * @param aCallstack An array including the current call stack.
    82  * @param aSize The size of the newly allocated memory chunk.
    80  * @param aSize The size of the newly allocated memory chunk.
    83  * @param aThreadId ID of the thread
       
    84  * @return KErrNone.
    81  * @return KErrNone.
    85 */
    82 */
    86 GLREF_C TInt ATFastLogMemoryAllocated( TUint aProcessId, TUint32 aMemAddress,
    83 GLREF_C TInt ATFastLogMemoryAllocated( TUint aProcessId, TUint32 aMemAddress,
    87                                   TFixedArray<TUint32, KATMaxCallstackLength>& aCallstack,
    84                                   TFixedArray<TUint32, KATMaxCallstackLength>& aCallstack,
    88                                   TInt aSize,  TUint aThreadId  );
    85                                   TInt aSize );
    89         
    86         
    90 /**
    87 /**
    91  * TBD
    88  * TBD
    92  * @param aProcessId The ID number of the process ended.
    89  * @param aProcessId The ID number of the process ended.
    93  * @param aMemAddress The memory location where memory has been deallocated.
    90  * @param aMemAddress The memory location where memory has been deallocated.
    94  * @param aFreeCallstack An array including the current call stack.
    91  * @param aFreeCallstack An array including the current call stack.
    95  * @param aThreadId ID of the thread
       
    96  * @return KErrNone.
    92  * @return KErrNone.
    97 */
    93 */
    98 GLREF_C TInt ATFastLogMemoryFreed( TUint aProcessId, TUint32 aMemAddress, 
    94 GLREF_C TInt ATFastLogMemoryFreed( TUint aProcessId, TUint32 aMemAddress, 
    99                               TFixedArray<TUint32, KATMaxFreeCallstackLength>& aFreeCallstack,
    95                               TFixedArray<TUint32, KATMaxFreeCallstackLength>& aFreeCallstack );
   100                               TUint aThreadId );
       
   101 
       
   102 /**
       
   103  * TBD
       
   104  * @param aProcessId The ID number of the process ended.
       
   105  * @param aMemAddressFree The memory location where memory has been deallocated.
       
   106  * @param aMemAddressAlloc The memory location where memory has been allocated.
       
   107  * @param aFreeCallstack An array including the current call stack.
       
   108  * @param aThreadId ID of the thread
       
   109  * @return KErrNone.
       
   110 */
       
   111 GLREF_C TInt ATFastLogMemoryReallocated( TUint aProcessId, TUint32 aMemAddressFree,  TUint32 aMemAddressAlloc,
       
   112                                   TFixedArray<TUint32, KATMaxCallstackLength>& aCallstack,
       
   113                                   TInt aSize,  TUint aThreadId  );
       
   114 
       
   115 /**
       
   116  * TBD
       
   117  * @param aProcessId The ID number of the process ended.
       
   118  * @param aThreadID An ID of the new thread started
       
   119  * @return KErrNone.
       
   120 */
       
   121 GLREF_C TInt ATFastLogThreadStarted( TUint aProcessId, TUint aThreadId );
       
   122 
       
   123 /**
       
   124  * TBD
       
   125  * @param aProcessId The ID number of the process ended.
       
   126  * @param aThreadID An ID of the thread ended
       
   127  * @return KErrNone.
       
   128 */
       
   129 GLREF_C TInt ATFastLogThreadEnded( TUint aProcessId, TUint64 aThreadId );
       
   130 
       
   131 /**
       
   132  * TBD
       
   133  * @param aS60Version S60 version
       
   134  * @aChecksum ROM checksum
       
   135  * @return KErrNone.
       
   136 */
       
   137 TInt ATFastLogDeviceInfo( const TDesC8& aS60Version, const TDesC8& aChecksum);
       
   138 
       
   139 #endif
    96 #endif