Hi,
I just started using GEM5 and I'd like to add the process ID or process
name to the trace printed using the Exec debug flag. I'm running Android
JB for ARM.
I've tried adding this inside cpu/exetrace.cc
Process *process = thread->getProcessPtr();
outs << process->progName() << " : ";
but thread->getProcessPtr() always returns NULL. Is what I want to do
possible in FS mode and what's the best way to do it?
Thanks,
Brandon
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users