Hi Nilay, In one of Nate's recent patches he changed the name from trace-help to debug-help. Similarly the command line "trace-flag" is now "debug-flag".
However, I am confused as well on how to add a new TraceFlag/DebugFlag. It seems that all the previous flags are still specified using the "TraceFlag()" function, but I can't seem to be able to specify a new one. Also to be consistent, should we change the name of the TraceFlag function to DebugFlag? Brad > -----Original Message----- > From: m5-dev-boun...@m5sim.org [mailto:m5-dev-boun...@m5sim.org] > On Behalf Of Nilay Vaish > Sent: Monday, April 25, 2011 2:59 PM > To: m5-dev@m5sim.org > Subject: [m5-dev] Trace not working > > On Mon, 25 Apr 2011, Nilay Vaish wrote: > > > The option trace-help is not working currently. When I execute the > > following > > > > ./build/ALPHA_SE_MESI_CMP_directory/m5.debug --trace-help > > > > I get a list of all the m5 options. Can some one confirm this? > > > > Thanks > > Nilay > > > > Seems like trace facility is not working currently. I am getting the following > error -- > > ./build/ALPHA_SE_MESI_CMP_directory/m5.opt > --trace-flag=ProtocolTrace,RubyPort --trace-start=2540000 > --trace-file=Trace.1 ./configs/example/ruby_mem_test.py -n 16 --functional > 99 > M5 Simulator System > > Copyright (c) 2001-2008 > The Regents of The University of Michigan All Rights Reserved > > > M5 compiled Apr 25 2011 16:54:13 > M5 started Apr 25 2011 16:55:21 > M5 executing on ale-01.cs.wisc.edu > command line: ./build/ALPHA_SE_MESI_CMP_directory/m5.opt > --trace-flag=ProtocolTrace,RubyPort --trace-start=2540000 > --trace-file=Trace.1 ./configs/example/ruby_mem_test.py -n 16 --functional > 99 > Traceback (most recent call last): > File "<string>", line 1, in ? > File > "/afs/cs.wisc.edu/u/n/i/nilay/private/Architecture/GEM5/m5/src/python/m > 5/main.py", > line 327, in main > e = event.create(trace.enable, event.Event.Trace_Enable_Pri) > AttributeError: 'module' object has no attribute 'Event_Trace_Enable_Pri' > > -- > Nilay > _______________________________________________ > m5-dev mailing list > m5-dev@m5sim.org > http://m5sim.org/mailman/listinfo/m5-dev _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev