Searched hist:2640 (Results 1 - 13 of 13) sorted by relevance
/gem5/src/arch/generic/linux/ | ||
H A D | threadinfo.hh | diff 12090:11d69759b378 Tue Apr 04 11:06:00 EDT 2017 Paul Rosenfeld <prosenfeld@micron.com> arm,sim: fix context switch stats dumps for ARM64/Linux 32bit and 64bit Linux have different arguments passed to the __switch_to() function that gem5 hooks into in order to collect context switch statistics. 64bit Linux provides the task_struct pointer to the next task that will be switched to, which means we don't have to look up the task_struct from thread_info as we do in 32bit ARM Linux. This patch adds a second set of accessors to ThreadInfo to extract details such as the pid, tgid, task name, etc., directly from a task_struct. The existing accessors maintain their existing behavior by first looking up the task_struct and then calling these new accessors. A 64-bit variant of the DumpStatsPCEvent class is added that uses these new accessors to get the task details for the context switch dumps directly from the task_struct passed to __switch_to(). Change-Id: I63c4b3e1ad64446751a91f6340901d5180d7382d Reviewed-on: https://gem5-review.googlesource.com/2640 Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Pau Cabre <pau.cabre@metempsy.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> |
/gem5/src/arch/arm/linux/ | ||
H A D | system.hh | diff 12090:11d69759b378 Tue Apr 04 11:06:00 EDT 2017 Paul Rosenfeld <prosenfeld@micron.com> arm,sim: fix context switch stats dumps for ARM64/Linux 32bit and 64bit Linux have different arguments passed to the __switch_to() function that gem5 hooks into in order to collect context switch statistics. 64bit Linux provides the task_struct pointer to the next task that will be switched to, which means we don't have to look up the task_struct from thread_info as we do in 32bit ARM Linux. This patch adds a second set of accessors to ThreadInfo to extract details such as the pid, tgid, task name, etc., directly from a task_struct. The existing accessors maintain their existing behavior by first looking up the task_struct and then calling these new accessors. A 64-bit variant of the DumpStatsPCEvent class is added that uses these new accessors to get the task details for the context switch dumps directly from the task_struct passed to __switch_to(). Change-Id: I63c4b3e1ad64446751a91f6340901d5180d7382d Reviewed-on: https://gem5-review.googlesource.com/2640 Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Pau Cabre <pau.cabre@metempsy.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> |
H A D | system.cc | diff 12090:11d69759b378 Tue Apr 04 11:06:00 EDT 2017 Paul Rosenfeld <prosenfeld@micron.com> arm,sim: fix context switch stats dumps for ARM64/Linux 32bit and 64bit Linux have different arguments passed to the __switch_to() function that gem5 hooks into in order to collect context switch statistics. 64bit Linux provides the task_struct pointer to the next task that will be switched to, which means we don't have to look up the task_struct from thread_info as we do in 32bit ARM Linux. This patch adds a second set of accessors to ThreadInfo to extract details such as the pid, tgid, task name, etc., directly from a task_struct. The existing accessors maintain their existing behavior by first looking up the task_struct and then calling these new accessors. A 64-bit variant of the DumpStatsPCEvent class is added that uses these new accessors to get the task details for the context switch dumps directly from the task_struct passed to __switch_to(). Change-Id: I63c4b3e1ad64446751a91f6340901d5180d7382d Reviewed-on: https://gem5-review.googlesource.com/2640 Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Pau Cabre <pau.cabre@metempsy.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> |
/gem5/src/mem/ | ||
H A D | physical.hh | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
H A D | bridge.hh | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
H A D | physical.cc | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
H A D | port.hh | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
/gem5/src/dev/ | ||
H A D | io_device.cc | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
/gem5/src/cpu/simple/ | ||
H A D | timing.hh | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
H A D | atomic.hh | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
H A D | atomic.cc | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
/gem5/src/sim/ | ||
H A D | system.cc | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
H A D | process.cc | diff 2640:266b80dd5eca Fri May 26 13:48:00 EDT 2006 Steve Reinhardt <stever@eecs.umich.edu> Add names to memory Port objects for tracing. |
Completed in 230 milliseconds