From d3064fb23d624349ffbc1f5d3ef8d1c45de4f0ad Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 30 May 2014 11:01:41 -0500 Subject: [PATCH] Add ia64-specific syscall tapset fix. * tapset/linux/nd_syscalls2.stp: Remove extra _ia64_pipe[01] functions, just use the functions in syscalls2.stp. --- tapset/linux/nd_syscalls2.stp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tapset/linux/nd_syscalls2.stp b/tapset/linux/nd_syscalls2.stp index a43c75b25..933d4effb 100644 --- a/tapset/linux/nd_syscalls2.stp +++ b/tapset/linux/nd_syscalls2.stp @@ -294,14 +294,6 @@ probe nd_syscall.personality.return = kprobe.function("sys_personality").return # # SYSCALL_DEFINE2(pipe2, int __user *, fildes, int, flags) # ia64 returns the results from the pipe call through (user) registers. -%( arch == "ia64" %? -function _ia64_pipe0:long() %{ - STAP_RETVALUE = CONTEXT->kregs ? CONTEXT->kregs->r8 : 0; -%} -function _ia64_pipe1:long() %{ - STAP_RETVALUE = _stp_current_pt_regs()->r9; -%} -%) probe nd_syscall.pipe = __nd_syscall.pipe2 ?, __nd_syscall.ia64_pipe ?, __nd_syscall.pipe { -- 2.43.5