How does stap execute probe aliases?
Frank Ch. Eigler
fche@redhat.com
Fri Nov 20 16:12:00 GMT 2015
xiaonan830818 wrote:
> I try to execute the following script from this page
> (https://sourceware.org/systemtap/SystemTap_Beginners_Guide/targetavailable.html#available):
> [...]
> Why can't the stap find the probes? Thanks in advance!
Because that script defines aliases only (kind of like a #define FOO BAR
in a C program), and doesn't instantiate them (FOO in a C program).
So add
probe vm.pagefault { /* ... */ }
to your script.
- FChE
More information about the Systemtap
mailing list