public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/4519] New: nfs.stp   nfs.aop.readpage uses field "index" which isn't available in linux 2.6.22-rc1
@ 2007-05-17 14:40 wcohen at redhat dot com
  2007-09-06 17:22 ` [Bug tapsets/4519] " wenji dot huang at oracle dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: wcohen at redhat dot com @ 2007-05-17 14:40 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tapsets/4519] nfs.stp   nfs.aop.readpage uses field "index" which isn't available in linux 2.6.22-rc1
  2007-05-17 14:40 [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
@ 2007-09-06 17:22 ` wenji dot huang at oracle dot com
  2007-09-12 13:06 ` [Bug translator/4519] support fields in anonymous unions fche at redhat dot com
  2008-09-19  6:56 ` prerna at linux dot vnet dot ibm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wenji dot huang at oracle dot com @ 2007-09-06 17:22 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From wenji dot huang at oracle dot com  2007-09-06 02:57 -------
(In reply to comment #0)
> 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

index is packed into anonymous union in struct page since 2.6.22. And the name
attribute is missing in dwarf2. So the semantic error is thrown in elaborate phrase.
 
So maybe construct a pure function to access index member. 



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|nfs.stp   nfs.aop.readpage  |nfs.stp   nfs.aop.readpage
                   |uses field "index" which    |uses field "index" which
                   |isn't available in linux    |isn't available in linux
                   |2.6.22-rc1                  |2.6.22-rc1


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/4519] support fields in anonymous unions
  2007-05-17 14:40 [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
  2007-09-06 17:22 ` [Bug tapsets/4519] " wenji dot huang at oracle dot com
@ 2007-09-12 13:06 ` fche at redhat dot com
  2008-09-19  6:56 ` prerna at linux dot vnet dot ibm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2007-09-12 13:06 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tapsets                     |translator
            Summary|nfs.stp   nfs.aop.readpage  |support fields in anonymous
                   |uses field "index" which    |unions
                   |isn't available in linux    |
                   |2.6.22-rc1                  |


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/4519] support fields in anonymous unions
  2007-05-17 14:40 [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
  2007-09-06 17:22 ` [Bug tapsets/4519] " wenji dot huang at oracle dot com
  2007-09-12 13:06 ` [Bug translator/4519] support fields in anonymous unions fche at redhat dot com
@ 2008-09-19  6:56 ` prerna at linux dot vnet dot ibm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: prerna at linux dot vnet dot ibm dot com @ 2008-09-19  6:56 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From prerna at linux dot vnet dot ibm dot com  2008-09-19 06:55 -------


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-19  6:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-17 14:40 [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
2007-09-06 17:22 ` [Bug tapsets/4519] " wenji dot huang at oracle dot com
2007-09-12 13:06 ` [Bug translator/4519] support fields in anonymous unions fche at redhat dot com
2008-09-19  6:56 ` prerna at linux dot vnet dot ibm dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).