]> sourceware.org Git - systemtap.git/commit
PR11402 Support pipe2 syscall.
authorMark Wielaard <mjw@redhat.com>
Fri, 19 Mar 2010 12:00:50 +0000 (13:00 +0100)
committerMark Wielaard <mjw@redhat.com>
Fri, 19 Mar 2010 12:20:57 +0000 (13:20 +0100)
commit8bd0f6dce9effdb8bde2fb2cc6ab2c68be8d32d7
treedbe38d1df4deeca7904a6285202f8a8dbcdd0898
parent3651ea20da2292ec86cafca4ca4a8f220df910cf
PR11402 Support pipe2 syscall.

The pipe2() was added to Linux in version 2.6.27. It is a variant of the
normal pipe syscall, but takes an extra flags argument which can be the
ORed value of O_NONBLOCK and O_CLOEXEC.

* tapset/aux_syscalls.stp (_sys_pipe2_flag_str:string): New helper function.
* tapset/syscalls2.stp (syscall.pipe2, syscall.pipe2.return): New probes.
tapset/aux_syscalls.stp
tapset/syscalls2.stp
This page took 0.026712 seconds and 5 git commands to generate.