perfsrv/memspy/Driver/Kernel/Source/SubChannels/MemSpyDriverLogChanHeapDataUser.cpp
equal
deleted
inserted
replaced
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 ) ); |