[Bug tapsets/4519] New: nfs.stp nfs.aop.readpage uses field "index" which isn't available in linux 2.6.22-rc1

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Thu May 17 14:40:00 GMT 2007


In newer version of the kernel 2.6.22-rc1 the "struct page" doesn't have the
index field. This is triggered by the lket test. However, the following one
liner will also demontrate the problem:

stap -v -e '  probe nfs.aop.readpage { printf("%d\n", page_index) }'

Output from testsuite:

Running
/home/wcohen/stap_snap_200705162206/src/testsuite/systemtap.samples/lket.exp ...
Pass 1: parsed user script and 53 library script(s) in 1932usr/4sys/1948real ms.

semantic error: field 'index' not found (alternatives: flags _count <anonymous>
<anonymous> <anonymous> lru): identifier '$page' at
/home/wcohen/stap_snap_200705162206/install/share/systemtap/tapset/nfs.stp:842:22

-- 
           Summary: nfs.stp   nfs.aop.readpage uses field "index" which
                    isn't available in linux 2.6.22-rc1
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wcohen at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4519

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list