Hi Negin,
I have added some comments regarding CommMonitor use to the Wiki a while back:
http://www.m5sim.org/General_Memory_System#Tracing_and_traffic_generation
The command line you have included is using the debug flags to capture debug
output. The CommMonitor packet tracing is based on parameters belonging to the
monitor itself, and has nothing to do with the “--debug-file” and
“--debug-flags”. Are you also setting the correct tracing flags for the monitor
that you are instantiating. Perhaps you could copy in the snippet from the
CommMonitor section in your config.ini.
Thanks,
Andreas
From: <Salajegheh>, Negin via gem5-users
<[email protected]<mailto:[email protected]>>
Reply-To: "Salajegheh, Negin"
<[email protected]<mailto:[email protected]>>, gem5 users
mailing list <[email protected]<mailto:[email protected]>>
Date: Monday, 23 June 2014 16:08
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: [gem5-users] CommMonitor to capture cache traces
I’ve read these threads:
http://www.mail-archive.com/[email protected]/msg09221.html and
https://www.mail-archive.com/[email protected]/msg08511.html
I have successfully attached a CommMonitor between cpu and cache. The
CommMonitor appears in config.ini and the trace .ptrc file gets generated.
However, it contains only 1 packet.
Command line:
build/ARM/gem5.opt --debug-flags=CommMonitor --debug-file="trace-bbench.gz"
configs/example/fs.py --caches --l2cache --mem-size=256MB
--kernel=vmlinux.smp.mouse.arm --frame-capture --restore-with-cpu=timing
--num-cpus=1 --cpu-clock=2.0GHz -b bbench-ics --num-l2caches=1 --l1d_size=32kB
--l1d_assoc=8 --l1i_size=32kB --l1i_assoc=4 --l2_size=1MB --l2_assoc=8
Do I have to dumpstat regularly? Why is there only one packet captured even
though I am running bbench which supposedly generates a lot of cache events?
Thanks for your help
-Negin
-- 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