summaryrefslogtreecommitdiffstats
path: root/tapset/syscalls2.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/syscalls2.stp')
-rw-r--r--tapset/syscalls2.stp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp
index 31a29560..c6f8daba 100644
--- a/tapset/syscalls2.stp
+++ b/tapset/syscalls2.stp
@@ -343,11 +343,7 @@ probe syscall.pipe.return = kernel.function("SyS_pipe2").return !,
kernel.function("sys_ia64_pipe").return ?,
kernel.function("sys_pipe").return
{
- if (@defined($flags)) {
- flags = $flags
- flag_str = _sys_pipe2_flag_str(flags);
- }
- name = flags == 0 ? "pipe" : "pipe2";
+ name = @defined($flags) ? "pipe" : "pipe2";
if (@defined($fildes)) {
fildes_uaddr = $fildes
if (fildes_uaddr == 0) {