Hi Anteneh,

The ASCII converted only outputs a small subset of the information stored in 
the trace. Have a look at src/proto/packet.proto.

There is currently no PC captured (as a lot of packets would not have this 
information), but there is a pkt_id field that is currently not used by the 
CommMonitor. You could always add a field to the trace…

Andreas

From: Anteneh Bogale Gebregiorgis via gem5-users 
<[email protected]<mailto:[email protected]>>
Reply-To: Anteneh Bogale Gebregiorgis 
<[email protected]<mailto:[email protected]>>, gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Friday, 14 November 2014 14:36
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [gem5-users] Cache trace using communication monitor (commMonitor)


Dear all,

I want to trace the instructions written to instruction cache. I added 
commMonitor between the instruction cache and memory by modifying 
CacheConfig.py as:

system.icachemonitor = 
CommMonitor(trace_file='ICache_content.ptrc',trace_enable=True)
        icache.mem_side = system.icachemonitor.slave
        system.icachemonitor.master = system.membus.slave
I got the protoc file and I decode it using the decode script in util 
directory. the decoded file looks like:

r,27840,64,768,912132500
r,18304,64,768,912189500
r,8302400,64,256,912260500
r,8302464,64,256,912438000
r,8302528,64,256,936300000
r,8302592,64,256,936383000

the question is how to identify the instructions from this file?
or is there another way of obtaining the the trace without using commMonitor?

Thanks,
Anteneh

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to