Search code examples
linux-kernelubuntu-11.10systemtap

How to use the stap -L option?


I am following the SystemTap tutorial and I am trying to do exercise 1 from section 2.3 - "Tracing. Exercises". The -L option seems to never work. I got this script:

probe kernel.function("*nit*"){}

I type in a terminal:

$ stap -L PROBE t.stp

and nothing happens.


Solution

  • $ stap -L 'kernel.function("blahblah")'
    

    Systemtap is great, but poor documentation.