This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
How does stap execute probe aliases?
- From: Nan Xiao <xiaonan830818 at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Fri, 20 Nov 2015 17:59:47 +0800
- Subject: How does stap execute probe aliases?
- Authentication-results: sourceware.org; auth=none
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