Hi Farzin,

Could you check you have installed google protobuf installed? Once you install  
it you need to re-build gem5. To install on a Linux machine you could do the 
foll:

sudo apt-get install protobuf-compiler libprotobuf-dev

Radhika
From: gem5-users [mailto:gem5-users-boun...@gem5.org] On Behalf Of Farzin 
Boutorabi
Sent: 16 February 2016 07:09
To: gem5-users@gem5.org
Subject: [gem5-users] MemTraceProbe is not defined

Hello everyone

i am trying to get the l2cache traces using CommMonitor in FS mode with command:
       ./build/X86/gem5.opt configs/example/fs.py --cpu-type=timing 
--num-cpus=16 --num-dirs=16 --caches --l2cache --num-l2caches=16 --l2_size=2MB 
--l1i_size=32kB --l1d_size=32kB

and i have added CommMonitor to CacheConfig.py like this:
        #system.l2.mem_side = system.membus.slave
print "i was here"
system.monitor = CommMonitor()
system.l2.mem_side = system.monitor.slave
system.monitor.master = system.membus.slave
system.monitor.trace = MemTraceProbe(trace_file="mytrace.trc")

now when i try to run i get "NameError: name 'MemTraceProbe' is not defined", 
how can i resolve this?
I will appreciate any help.

Thanks
Farzin Boutorabi
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.
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to