Hi all:
I have a following question can anyone please help me.

If I want to use gcc to design a procedure,and it can output a
task_struct type structure of a process currently running on the CPU.

Would anyone point me to any helpful hint ?

Thanks in advance
Terence