My environment is 2.6.24-rc1(ppc64) and systemtap-20071027 snapshot. Argument for sys_remap_file_pages is not proper and that is causing the tests to fail. ================================= semantic error: unable to find local '__prot' near pc 0xc0000000000cbd3c (alternatives: start size prot pgoff flags mm mapping end vma err has_write_lock): identifier '$__prot' at /home/systemtap/tmp/stap_testing_200710290545/install/share/systemtap/tapset/syscalls2.stp:787:9 Pass 2: analysis failed. Try again with more '-v' (verbose) options. ===================================
Created attachment 2065 [details] setting proper argument for systemcall In 2.6.24-rc1 ============================== asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags) { struct mm_struct *mm = current->mm; struct address_space *mapping; ======================================= In 2.6.23-rc7 =========================================== asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long __prot, unsigned long pgoff, unsigned long flags) { struct mm_struct *mm = current->mm; struct address_space *mapping; ===========================================
Created attachment 2068 [details] Same fix with version check I added a kernel version check to the same change.
This correction has been checked into the cvs version of systemtap.