title: get process info from proc
body: <p>I need to make a kernel module to display some basic process information from proc directory. For eg. getting all process IDs in proc and storing them in an array. I checked "proc_fs.h" header file on <a href="http://lxr.free-electrons.com/source/include/linux/proc_fs.h" rel="nofollow">this link</a></p>
  
  <p>but it seems it does not contain any function to get such data. Please correct me if I am wrong on this.</p>
  
  <p>Can anyone provide names of any such header files that can be helpful or links to any such resource.</p>