title: kernel stack trace while carrying out specific command
body: <p>while typing a command like #ifconfig 10.0.0.10 up is it possible to see all "possible" prints inside kernel.</p>
  
  <p>I know something like echo t > /proc/sysrq-trigger will give you stack trace with respect to processes running in a system.
  What I am interested in is, with respect to a 'specific command' how can I get the kernel functions(stack trace) that gets executed?</p>
  
  <p>I know about debuggers like kgdb,but I am interested in quick ways like sysrq methods if any.</p>
  
  <p>Thanks.</p>