perfsrv/memspy/Driver/Kernel/Source/SubChannels/MemSpyDriverLogChanHeapDataUser.cpp
changeset 62 1c2bb2fc7c87
parent 52 c2f44e33b468
equal deleted inserted replaced
56:aa2539c91954 62:1c2bb2fc7c87
   107                 RMemSpyDriverRHeapUser rHeap( OSAdaption() );
   107                 RMemSpyDriverRHeapUser rHeap( OSAdaption() );
   108 				r = rHeap.OpenUserHeap(*thread, iHeapInfoParams.iDebugAllocator);
   108 				r = rHeap.OpenUserHeap(*thread, iHeapInfoParams.iDebugAllocator);
   109                 TRACE( Kern::Printf("DMemSpyDriverLogChanHeapDataUser::GetInfoData - opening client heap returned: %d", r) );
   109                 TRACE( Kern::Printf("DMemSpyDriverLogChanHeapDataUser::GetInfoData - opening client heap returned: %d", r) );
   110 
   110 
   111                 if  ( r == KErrNone )
   111                 if  ( r == KErrNone )
   112     {
   112                     {
   113                     // This object holds all of the info we will accumulate for the client.
   113                     // This object holds all of the info we will accumulate for the client.
   114                     TMemSpyHeapInfo masterHeapInfo;
   114                     TMemSpyHeapInfo masterHeapInfo;
   115                     masterHeapInfo.SetType(rHeap.GetTypeFromHelper());
   115                     masterHeapInfo.SetType(rHeap.GetTypeFromHelper());
   116                     masterHeapInfo.SetTid( iHeapInfoParams.iTid );
   116                     masterHeapInfo.SetTid( iHeapInfoParams.iTid );
   117                     masterHeapInfo.SetPid( OSAdaption().DThread().GetOwningProcessId( *thread ) );
   117                     masterHeapInfo.SetPid( OSAdaption().DThread().GetOwningProcessId( *thread ) );