public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* How does stap execute probe aliases?
@ 2015-11-20  9:59 Nan Xiao
  2015-11-20 16:12 ` Frank Ch. Eigler
  0 siblings, 1 reply; 7+ messages in thread
From: Nan Xiao @ 2015-11-20  9:59 UTC (permalink / raw)
  To: systemtap

Hi all,

I try to execute the following script from this page
(https://sourceware.org/systemtap/SystemTap_Beginners_Guide/targetavailable.html#available):

# cat two_probes.stp
#!/usr/bin/stap
probe vm.pagefault = kernel.function("__handle_mm_fault@mm/memory.c") ?,
                     kernel.function("handle_mm_fault@mm/memory.c") ?
{
        name = "pagefault"
        write_access = (@defined($flags)
                        ? $flags & FAULT_FLAG_WRITE : $write_access)
        address =  $address
}

# ./two_probes.stp
semantic error: no probes found
Pass 2: analysis failed.  [man error::pass2]

Why can't the stap find the probes? Thanks in advance!

Best Regards
Nan Xiao

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-11-23  2:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-20  9:59 How does stap execute probe aliases? Nan Xiao
2015-11-20 16:12 ` Frank Ch. Eigler
2015-11-21  9:06   ` Nan Xiao
2015-11-21 12:55     ` Frank Ch. Eigler
2015-11-23  1:49       ` Nan Xiao
2015-11-23  1:51         ` Frank Ch. Eigler
2015-11-23  2:01           ` Nan Xiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).