search for: tsk_pid

Displaying 1 result from an estimated 1 matches for "tsk_pid".

Did you mean: task_pid
2011 Mar 02
0
task_struct in xen
...sent in linux/sched.h and it contains information such as process address space, process''s state etc. for a particular process. I went through the xen 3.4.3 source code and found a relevant structure in xen-3.4.3/build-linux-2.6.18-xen_x86_64/include/asm-x86_64/asm-offsets.h called #define tsk_pid 308 /* offsetof(struct task_struct, pid) # */ Can some one please tell me if this is the correct structure to access the struct task_struct by passing the pid of a process. Also it would be great if someone could redirect me to some examples currently used in xen. Thank you very much Regar...