summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
Diffstat (limited to 'tapset')
-rw-r--r--tapset/x86_64/nd_syscalls.stp2
-rw-r--r--tapset/x86_64/syscalls.stp2
2 files changed, 4 insertions, 0 deletions
diff --git a/tapset/x86_64/nd_syscalls.stp b/tapset/x86_64/nd_syscalls.stp
index 6a3a984b..a8157160 100644
--- a/tapset/x86_64/nd_syscalls.stp
+++ b/tapset/x86_64/nd_syscalls.stp
@@ -173,6 +173,7 @@ probe nd_syscall.vm86_warning.return = kprobe.function("sys32_vm86_warning").ret
#
# long sys32_pipe(int __user *fd)
#
+%(kernel_v < "2.6.32" %?
probe nd_syscall.pipe32 = kprobe.function("sys32_pipe")
{
name = "pipe"
@@ -185,3 +186,4 @@ probe nd_syscall.pipe32.return = kprobe.function("sys32_pipe").return
name = "pipe"
retstr = returnstr(1)
}
+%)
diff --git a/tapset/x86_64/syscalls.stp b/tapset/x86_64/syscalls.stp
index c0cb8139..c120e965 100644
--- a/tapset/x86_64/syscalls.stp
+++ b/tapset/x86_64/syscalls.stp
@@ -146,6 +146,7 @@ probe syscall.vm86_warning.return = kernel.function("sys32_vm86_warning").return
#
# long sys32_pipe(int __user *fd)
#
+%(kernel_v < "2.6.32" %?
probe syscall.pipe32 = kernel.function("sys32_pipe")
{
name = "pipe"
@@ -156,3 +157,4 @@ probe syscall.pipe32.return = kernel.function("sys32_pipe").return
name = "pipe"
retstr = returnstr(1)
}
+%)