No, that shouldn't matter. In src/cpu/o3/probe/SConscript, you'll see: if 'O3CPU' in env['CPU_MODELS']:
SimObject('SimpleTrace.py') Source('simple_trace.cc') DebugFlag('SimpleTrace') if env['HAVE_PROTOBUF']: SimObject('ElasticTrace.py') Source('elastic_trace.cc') DebugFlag('ElasticTrace') If env['HAVE_PROTOBUF'] is false (ie you don't have the protobuf compiler, etc. installed), then the ElasticTrace simobject won't be part of the build. Gabe On Tue, Oct 9, 2018 at 9:51 AM Vitorio Cargnini (lcargnini) < lcargn...@micron.com> wrote: > Hi Gabe, > > > > So it doesn’t matter that it is a x86 machine? > > > > Some people are pointing to that fact in my side. > > > > Regards, > > Vitorio. > > > > *From:* gem5-users [mailto:gem5-users-boun...@gem5.org] *On Behalf Of *Gabe > Black > *Sent:* Monday, October 8, 2018 9:33 PM > *To:* gem5 users mailing list <gem5-users@gem5.org> > *Subject:* [EXT] Re: [gem5-users] Error trying to generate a elastic > trace file on gem5 > > > > For elastic trace support to be built in, scons needs to detect that you > have protobuf support on your system. > > > > Gabe > > > > On Mon, Oct 8, 2018 at 8:46 PM Vitorio Cargnini (lcargnini) < > lcargn...@micron.com> wrote: > > Hello, > > > > I’m trying to generate a elastic trace run, however I get the following > errors: > > > > First attempt (CPU Type error): > > ./build/X86_MOESI_AMD_Base/gem5.opt configs/example/fs.py --smt > --sys-clock=3GHz --mem-type=DDR4_2400_16x4 --mem-channels=8 --mem-ranks=4 > --mem-size=16GB --caches --l2cache --l1d_size=32kB --l1i_size=64kB > --l2_size=8MB --l3_size=16MB > --disk-image=`pwd`/disks/ubuntu-14.04-amd64.img > --kernel=`pwd`/binaries/vmlinux-4.8.13_4.8.13-1_amd64 > --script=`pwd`/scripts/runSPECjbb.rcS --elastic-trace-en > --inst-trace-file=inst.trace.gz --data-trace-file=data.trace.gz > > gem5 Simulator System. http://gem5.org > > gem5 is copyrighted software; use the --copyright option for details. > > > > gem5 compiled Oct 8 2018 17:50:19 > > gem5 started Oct 8 2018 21:06:21 > > gem5 executing on rndarch11, pid 28728 > > command line: ./build/X86_MOESI_AMD_Base/gem5.opt configs/example/fs.py > --smt --sys-clock=3GHz --mem-type=DDR4_2400_16x4 --mem-channels=8 > --mem-ranks=4 --mem-size=16GB --caches --l2cache --l1d_size=32kB > --l1i_size=64kB --l2_size=8MB --l3_size=16MB > --disk-image=/gem5/disks/ubuntu-14.04-amd64.img > --kernel=/gem5/binaries/vmlinux-4.8.13_4.8.13-1_amd64 > --script=/gem5/scripts/runSPECjbb.rcS --elastic-trace-en > --inst-trace-file=inst.trace.gz --data-trace-file=data.trace.gz > > > > warn: Physical memory size specified is 16GB which is greater than 3GB. > Twice the number of memory controllers would be created. > > fatal: AtomicSimpleCPU does not support data dependency tracing. Use a CPU > model of type or inherited from DerivO3CPU. > > > > > > > > Second attempt with the proper CPU type: > > > > ./build/X86_MOESI_AMD_Base/gem5.opt configs/example/fs.py --smt > --cpu-clock=3GHz --mem-type=DDR4_2400_16x4 --mem-channels=8 --mem-ranks=4 > --mem-size=16GB --caches --l2cache --l1d_size=32kB --l1i_size=64kB > --l2_size=8MB --l3_size=16MB > --disk-image=`pwd`/disks/ubuntu-14.04-amd64.img > --kernel=`pwd`/binaries/vmlinux-4.8.13_4.8.13-1_amd64 > --script=`pwd`/scripts/runSPECjbb.rcS --elastic-trace-en > --inst-trace-file=inst.trace.gz --data-trace-file=data.trace.gz > --cpu-type=DerivO3CPU > > gem5 Simulator System. http://gem5.org > > gem5 is copyrighted software; use the --copyright option for details. > > > > gem5 compiled Oct 8 2018 17:50:19 > > gem5 started Oct 8 2018 21:29:40 > > gem5 executing on rndarch11, pid 30857 > > command line: ./build/X86_MOESI_AMD_Base/gem5.opt configs/example/fs.py > --smt --cpu-clock=3GHz --mem-type=DDR4_2400_16x4 --mem-channels=8 > --mem-ranks=4 --mem-size=16GB --caches --l2cache --l1d_size=32kB > --l1i_size=64kB --l2_size=8MB --l3_size=16MB > --disk-image=/gem5/disks/ubuntu-14.04-amd64.img > --kernel=/gem5/binaries/vmlinux-4.8.13_4.8.13-1_amd64 > --script=/gem5/scripts/runSPECjbb.rcS --elastic-trace-en > --inst-trace-file=inst.trace.gz --data-trace-file=data.trace.gz > --cpu-type=DerivO3CPU > > > > warn: Physical memory size specified is 16GB which is greater than 3GB. > Twice the number of memory controllers would be created. > > Traceback (most recent call last): > > File "<string>", line 1, in <module> > > File "/gem5/src/python/m5/main.py", line 435, in main > > exec filecode in scope > > File "configs/example/fs.py", line 325, in <module> > > test_sys = build_test_system(np) > > File "configs/example/fs.py", line 213, in build_test_system > > CpuConfig.config_etrace(TestCPUClass, test_sys.cpu, options) > > File "/gem5/configs/common/CpuConfig.py", line 111, in config_etrace > > cpu.traceListener = m5.objects.ElasticTrace( > > AttributeError: 'module' object has no attribute 'ElasticTrace' > > > > > > Anyone could give me a help on that? > > > > Best Regards, > > > > *Luis Vitorio Cargnini, Ph.D.* > > > Sr. Systems Architect, > Micron Technology, Inc. > *This email and any attachments contained within may contain confidential > and proprietary information.* > > > > > > > > > > > > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users