Hello,

There's a thread that talks about getting the PID here
http://www.mail-archive.com/[email protected]/msg08815.html

You can include it in the DPRINTF() calls with the Exec flags.

If it complains that you don't have thread info compiled into the kernel,
try the patch from this thread
https://www.mail-archive.com/[email protected]/msg06169.html

If that doesn't work, or if this isn't what you're looking for let us know.


On Thu, Feb 6, 2014 at 6:37 PM, Peng Wei <[email protected]> wrote:

> Hi there,
>
> Are there any existing way to trace instruction flow associated with
> process id? The debug flag "Exec" can generate instruction flow for us, but
> there is no PID associated with each instruction. Could anybody tell me how
> to generate instruction executing trace with pid for each instruction or
> each section of instruction?
>
> Thanks very much.
>
> _______________________________________________
> 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