Hi Martin, Could you please explain it more detailedly? I am now stuck by the error of "don't have thread info compiled into the kernel", but I don't know how to go further. I followed the step at "http://gem5.org/BBench-gem5" to build kernel, but after I downloaded the code from git, I could not even see the files in the patch. Is the kernel code at "git clone git://linux-arm.org/linux-2.6-armdroid.git -b 2.6.38-armdroid"?
Thanks very much. On Thu, Feb 6, 2014 at 10:47 PM, Martin Brown <[email protected]> wrote: > 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 >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
