Brandon,

Try this thread
http://www.mail-archive.com/[email protected]/msg08815.html

If you try that and it says kernel info not compiled in, then there are
some other threads on here that discuss that. Let me know if you still have
any issues though.


On Fri, Feb 7, 2014 at 2:43 PM, Brandon Dwiel <[email protected]> wrote:

> 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
>



-- 
Martin
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to