Bug 4793

Summary: duplicate probe aliases for sys_quotactl, sys_request_key on ppc64.
Product: systemtap Reporter: Srinivasa DS <srinivasa>
Component: tapsetsAssignee: Unassigned <systemtap>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Srinivasa DS 2007-07-16 08:31:37 UTC
While executing this week's systemtap snapshot(20070714) test, I encountered
test failures with following error message.

quotactl and request_key systemcall probe aliases are defined in syscalls.stp
file, under separate arch directory(like
tapset/ppc64/syscalls.stp,tapset/i686/syscalls.stp etc) 

This week these systemcall aliases are moved to arch independent syscalls2.stp
file(tapset/syscalls2.stp) but corresponding entry in arch file has not been
removed for ppc64. Hence this bug.

==================================================================
Pass 1: parsed user script and 55 library script(s) in 1220usr/10sys/1352real ms.^M
Pass 1: parsed user script and 55 library script(s) in 1220usr/10sys/1352real
ms.^M            
semantic error: duplicate probe point pattern while registering probe alias
syscall.quotactl = kernel.function("sys_quotactl")^M                           
                                          
semantic error: duplicate probe point pattern while registering probe alias
syscall.quotactl = kernel.function("sys_quotactl")^M
semantic error: duplicate probe point pattern while registering probe alias
syscall.quotactl.return = kernel.function("sys_quotactl").return^M
                                                                               
                   semantic error: duplicate probe point pattern while
registering probe alias syscall.quotactl.return
 = kernel.function("sys_quotactl").return^M                                    
                   semantic error: duplicate probe point pattern while
registering probe alias syscall.request_key = k
ernel.function("sys_request_key")?^M                                           
                   
semantic error: duplicate probe point pattern while registering probe alias
syscall.request_key = kernel.function("sys_request_key")?^M
semantic error: duplicate probe point pattern while registering probe alias
syscall.request_key.return = kernel.function("sys_request_key").return?^M
                                                                               
                   semantic error: duplicate probe point pattern while
registering probe alias syscall.request_key.ret
urn = kernel.function("sys_request_key").return?^M       
=========================================================
Comment 1 Srinivasa DS 2007-07-31 13:47:56 UTC
I still find  duplicate probe aliases for "sys_request_key" systemcall in this
week snapshot also. 
It would be helpful if somebody could remove "sys_request_key" probe alias
definition from ppc64/syscalls.stp

Thanks
 Srinivasa DS
Comment 2 Frank Ch. Eigler 2007-07-31 14:36:42 UTC
Duplicate removed.