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] |
Quoting David Smith <dsmith@redhat.com>:The only thing that doesn't work is:
# stap -p2 -u -e 'probe syscall.compat_getitimer {}'
So, the only error I get is when I explicitly list the system call that doesn't exist on my current arch and kernel. I could see where if you were writing a script targeting either multiple architectures or multiple kernel versions that might bother you. However, the solution is easy - make that probe optional:
# stap -p2 -u -e 'probe syscall.compat_getitimer ? { }'
Very nice, I had no idea that you could do this to a probe alias. But, and I don't know if this is intended or not, it still fails on certain errors:
$ stap -p2 -u -e 'probe vm.mmap ? { }'
semantic error: failed to retrieve location attribute for local 'addr' (dieoffset: 0xb84881): identifier '$addr' at
-- David Smith dsmith@redhat.com Red Hat http://www.redhat.com 256.217.0141 (direct) 256.837.0057 (fax)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |