This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How does stap execute probe aliases?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]