title: How to use a seq_file in Linux kernel modules?
body: <p>Hello all I'm new to Linux and wondering how to use a Linux sequence file in a module to traverse kernel objects.</p>
  
  <p>What I know is I can use the command:</p>
  
  <pre><code> cat /proc/kallsyms
  </code></pre>
  
  <p>to view the available symbols and from what I've read on google, the symbols in the list that have a 'D' or 'd' are pointers to data structures.</p>
  
  <p>Though I know the basics of how to create a module, the examples on the internet on how to use seq operations are not uniform and I'm getting a little confused. </p>
  
  <p>If someone knows of any good doco that will help me understand how to create a seq file to traverse kernel objects and could post a link (or a quick example), I would be greatly appreciative.</p>