[Bug tapsets/6762] Some syscalls functions just wrappers for other syscalls
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Oct 20 16:52:00 GMT 2008
------- Additional Comments From fche at redhat dot com 2008-10-20 16:50 -------
One possible fix is to extend the syscalls tapset thusly:
# add someplace
global syscall_inplay
probe process.syscall { syscall_inplay[tid()] = $syscall }
probe process.syscall.return { delete syscall_inplay[tid()] }
probe process.thread.end { delete syscall_inplay[tid()] }
# then for each "nestable" system call handler
probe syscall.faccessat = kernel.function(" ...") {
if (syscall_inplay[tid()]) next;
}
Alternately, one can instrument just the "nester" and "nestee" probe
pairs with similar logic, without general system-wide utrace syscall
probes.
Alternately, one can kludge the test case to accept and ignore such
nesting. :-(
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6762
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list