It looks like the problem is the ARM ISA isn't dumping the function symbols despite using the "Exec" group debug flag (that flag group has "ExecSymbol" in it).
Does anyone that worked on the ARM ISA have experience w/successfully generating the symbol table and getting that into trace output? If that works, Umesh can just generate the trace and "grep" for the relevant assembly instructions by function name (Assuming that function doesnt call other functions). -Korey On Thu, Feb 28, 2013 at 2:46 PM, Mitch Hayenga <[email protected] > wrote: > Not that I know of. For a poor man's version, since it seems you are just > trying to generate various traces from a region of interest.... You could > just use the existing m5ops to checkpoint @ the beginning of the region of > interest and exit @ the end. That way you could just run from the > checkpoint with the trace flags enabled. > > Alternatively, I bet it would be possible to define your own m5ops that > dynamically enable/disable trace flags. But that would take a bit of work > and hacking on the simulator. > > > On Thu, Feb 28, 2013 at 4:25 PM, Umesh Bhaskar <[email protected]>wrote: > >> Hi Gem5 users, >> >> The command I issued is : >> >> build/ARM/gem5.debug --debug-flags=Exec configs/example/se.py -c >> tests/test-progs/hello/bin/arm/linux/hello >> >> One line from the trace is shown below: >> >> 2263500: system.cpu T0 : 0x9cf8.5 : ldr_uop r35, [r34, #16] : >> MemRead : D=0x00000000000511fc A=0xbefffcac >> >> I have a 2 part question >> >> 1) Is there anyway I can limit the tracing to just the main() or a subset >> of instructions inside the main function >> and not the preliminary setup instructions ? --trace-start is not very >> suitable for this since it is dependent on simulator >> ticks >> >> 2) If this is not possible, can I, in any way, dump the function and data >> structure names to the >> trace file, so that we can easily filter out information relating to a >> subset of instructions. >> >> Thanks, >> Umesh >> >> >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > -- - Korey
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
