Hi,


Thanks so much... it's done now.

Yes the patch was not applied correctly. I forgot to add the object file for the patch.


Regards, 


--------- 원본 메일 ---------
보낸사람: Ali Saidi <[email protected]>
받는사람 : tod <[email protected]>
날짜: 2013년 5월 24일 금요일, 12시 32분 51초 +0900
제목: Re: [gem5-users] gem5 FS mode and threads
It doesn't seem like you're correctly applied the patch to the kernel.

Ali

On May 18, 2013, at 5:52 AM, tod <[email protected]> wrote:

Hi Dear Ali,

After applying this patch, when the FS mode simulation is run, I get the following warning:

warn: Kernel not compiled with task_struct info; can't get currently executing task/process/thread name/ids!

Regards,


--------- 원본 메일 ---------
보낸사람: Ali Saidi <[email protected]>
받는사람 : tod <[email protected]>
날짜: 2013년 5월 11일 토요일, 23시 35분 33초 +0900
제목: Re: [gem5-users] gem5 FS mode and threads
There is an parameter to the ArmSystem object called enable_context_switch_stats_dump which you'd need to set to true.

To get the vales you mentioned the simulator needs to know where to look for them, so you need to add some symbols to a newly compiled version of the kernel. Something like:

http://repo.gem5.org/linux-patches/file/0ab58d9bd9a5/m5/m5struct.diff

Ali


On Apr 29, 2013, at 6:58 AM, tod <[email protected]> wrote:

Hi,
More specifically, I am considering ARM and have the following questions:

How to dump stats at context switches? I know it is something about callback for __switch_to(), but how and what exactly?

How to dump process info (pid, tgid, task name, cpu id, etc.) at context switches ?

Thanks for reading, I would appreciate any help..

best,

--------- 원본 메일 ---------
보낸사람: Ali Saidi <[email protected]>
받는사람 : gem5 users mailing list <[email protected]>
날짜: 2013년 4월 24일 수요일, 11시 18분 45초 +0900
제목: Re: [gem5-users] gem5 FS mode and threads
Depends on what you're after. You can have gem5 create an ever on linux's __switch_to function and see what thread is running on which core by inspecting some kernel data structures. This is done for Alpha and for ARM.

Ali



On Apr 23, 2013, at 6:16 AM, tod <[email protected]> wrote:

hi everyone!

what information can we get about threads execution (using pthread) in gem5 FS mode? And how?

can anybody comment about it?

best.

 _______________________________________________
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









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

Reply via email to