You can use various debugflags and to identify the the addresses you can
pkt->getAddr() and
MemCmd::ReadExReq : MemCmd::ReadReq to distinguish write and reads

On Sun, Jul 22, 2012 at 7:59 PM, wael Amr <[email protected]> wrote:

> Hello
>
> Really Thanks a lot for your quick reply.
> Please would you give me any hint for satisfying this purpose ?
>
> Best Regards
> Wael AMR
>
>
> On Sun, Jul 22, 2012 at 3:04 PM, biswabandan panda <[email protected]>wrote:
>
>> possible
>>
>> On Sun, Jul 22, 2012 at 6:29 PM, wael Amr <[email protected]>wrote:
>>
>>> Hello,
>>>
>>> I need to use gem5 to:
>>>
>>>    - run a number of applications,where each application, alone, on a
>>>    processor simulator.
>>>
>>> My target is to capture all the memory accesses that each application
>>> performs. These accesses are dumped to a trace file so that  each trace
>>> file contains entries, where each entry is an address (physical address)
>>> and access type (read or write).
>>> For example :
>>> It looks like:
>>> 0x000ff1234 w
>>> 0x000ff1236 r
>>> 0x000ff1111 r
>>>
>>> So i am asking that can i use gem5 to satisfy this purpose ?
>>>
>>> Welcome for any suggestions/hints.
>>> I would appreciate it if anyone could reply at your earliest convenience.
>>>
>>> Thanks
>>> Best Regards
>>> Wael AMR
>>>
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>>
>> --
>>
>> *thanks&regards
>> *
>> *BISWABANDAN*
>> *Any intelligent fool can make things bigger, more complex, and more
>> violent.
>> It takes a touch of genius - and a lot of courage - to move in the
>> opposite direction.*
>>
>>
>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



-- 

*thanks&regards
*
*BISWABANDAN*
*Any intelligent fool can make things bigger, more complex, and more
violent.
It takes a touch of genius - and a lot of courage - to move in the opposite
direction.*
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to