Re: get wchan() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



what does the get_wchan() in process.c (generally) do? I tried to find the
answer in google, but that doesn't word.

From man ps

wchan      WCHAN    name of the kernel function in which the process is
                    sleeping, a "-" if the process is running, or a "*"
		    if the process is multi-threaded and ps is not
		    displaying threads.

I think get_wchan is called to get the function address.

--
Pradeep Padala
http://ppadala.blogspot.com

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux