Thanks. I got it to work using that link and these instructions to patch in
the kernel info.

*Now, to build the 2.6.35 kernel.*

   1. Get the kernel source: git clone
   git://linux-arm.org/linux-2.6-armdroid.git -b 2.6.35-armdroid
   2. Get the 2.6.35 config file packaged with the linux kernel above.
   3. Copy it to the kernel source directory as .config.
   4. Copy the patch that fixes this issue to a file. Here's the patch.
   http://www.mail-archive.com/[email protected]/msg06169.html
   5. From the linux source dir: $ git apply patch-file (or apply patch
   manually if it doesn't work. You may have to create files that are missing
   from your source dir)
   6. Build the kernel source: make ARCH=arm
   CROSS_COMPILE=arm-none-linux-gnueabi- -jn vmlinux
   EXTRA_CFLAGS=-mno-unaligned-access



On Mon, Feb 10, 2014 at 11:57 AM, Martin Brown <[email protected]> wrote:

> 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
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to