This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Why probe nfsd.proc.read and probe nfsd.read are not executed ?
- From: FOPA Leon constantin <leonconstantin dot fopa at enseeiht dot fr>
- To: Systemtap <systemtap at sourceware dot org>
- Date: Fri, 09 Sep 2016 07:12:12 +0200
- Subject: Why probe nfsd.proc.read and probe nfsd.read are not executed ?
- Authentication-results: sourceware.org; auth=none
Hi
I have setup a simple nfs server for only one client and I am
interested about logging all operations (performed by the client)
executed by the nfs daemon (nfsd in the server side).
So I used the systemtap nfsd tapset
(https://sourceware.org/systemtap/man/tapset::nfsd.3stap.html) as shown
in the code (see below).
The problem is that when I run this systemtap code and perform file
operation in the nfs mount point in the client,
every probe are execute but NOT the probe nfsd.proc.read and probe
nfsd.read.
Is there a reason for this ? Am I missing something ?
Best regards,
Fopa Léon Constantin
probe begin{
printf("Let play with nfsd ...\n")
}
probe nfsd.dispatch {
printf("hello nfsd.dispatch occured\n")
}
probe nfsd.proc.write {
printf("hello nfsd.proc.write occured\n")
}
probe nfsd.proc.read {
printf("hello nfsd.proc.read occured\n")
}
probe nfsd.proc.rename {
printf("hello nfsd.proc.rename occured\n")
}
probe nfsd.proc.remove {
printf("hello nfsd.proc.remove occured\n")
}
probe nfsd.unlink {
printf("hello nfsd.unlink occured\n")
}
probe nfsd.read {
printf("hello nfsd.read occured\n")
}
probe end{
printf("That was fun ...\n")
}