Process tracker for Linux. Works on ppc32, ppc64, UltraSPARC and x86 targets.
Linux version dependent parameters, such as task_struct offsets. The easiest way to set these are to give the kernel argument to new-linux-process-tracker, or to run the autodetect-parameters command.
Parameters starting with ts_ are offsets in the task_struct. ts_comm is the offset of the comm field, which contains the name of the process. ts_pid and ts_state are the offsets of the fields that contain the process's pid and state. ts_thread_struct is the offset of the thread_struct embedded in the task_struct.
ts_next and ts_prev are the offsets of the pointers that connect all the task structs in a circular double-linked list. ts_next_relative is non-zero if these pointers point at the next field of other task_structs, and zero if they point to the first byte.
kernel_stack_size is the size, in bytes, of a kernel stack; this is either 4096 or 8192. paca_task_struct is the offset in the paca struct of the pointer to the current task_struct.
Not all of these parameters are necessary for any given simulated machine.
Per-processor state that has to be maintained by the process tracker.
Processors whose modes are being tracked.
|process-list||list running processes|
|status||print status of the device|