Bug 4770

Summary: syscall.compat_futimesat argument $utime should be $t
Product: systemtap Reporter: William Cohen <wcohen>
Component: tapsetsAssignee: Unassigned <systemtap>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: patch to correct the argument used

Description William Cohen 2007-07-10 15:34:28 UTC
When running the testsuite on the snapshot found that the translator fail on the
buildok/syscall.stp and the systemtap.systemcall tests.


$ ../install/bin/stap -p4 ../src/testsuite/systemtap.syscall/sys.stp 
semantic error: unable to find local 'utimes' near pc 0xffffffff802a1e48
(alternatives: dfd filename t tv): identifier '$utimes' at
/home/wcohen/stap_snap_200707091638/install/share/systemtap/tapset/syscalls.stp:945:29
Pass 2: analysis failed.  Try again with more '-v' (verbose) options.

Found that the argument in compat_sys_futimesat is "t" not "utime". Have a patch
that fixes the problem on the 2.6.22 and the RHEL4 kernels.
Comment 1 William Cohen 2007-07-10 15:35:18 UTC
Created attachment 1914 [details]
patch to correct the argument used
Comment 2 Martin Hunt 2007-07-10 19:02:32 UTC

*** This bug has been marked as a duplicate of 4752 ***