public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/6923] New: STAPCONF_ONEACHCPU_RETRY test broken?
@ 2008-09-29 20:53 jkenisto at us dot ibm dot com
  2008-09-29 20:57 ` [Bug runtime/6923] " jkenisto at us dot ibm dot com
  2008-10-17 21:52 ` jkenisto at us dot ibm dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-09-29 20:53 UTC (permalink / raw)
  To: systemtap

This has been failing for me for weeks; I keep hacking runtime/time.c to work
around it.  I think the problem is with runtime/autoconf-oneachcpu-retry.c.

When I get new SystemTap bits and run them on a 2.6.24 kernel (where
on_each_cpu() takes 4 args), the build of the stap-generated module fails due to
on_each_cpu() getting passed the wrong number of args.  Apparently,
STAPCONF_ONEACHCPU_RETRY is not getting defined in the build.

I think the problem is that the compile of autoconf-oneachcpu-retry.c always
fails, independently of how many args you pass to on_each_cpu().  On 2.6.24, at
least, you need to add #includes of <linux/stddef.h> and <linux/irqflags.h>, and
you need to pass an actual function as the first arg to on_each_cpu().

Watch this space for a proposed fix.

-- 
           Summary: STAPCONF_ONEACHCPU_RETRY test broken?
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


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

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

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

* [Bug runtime/6923] STAPCONF_ONEACHCPU_RETRY test broken?
  2008-09-29 20:53 [Bug runtime/6923] New: STAPCONF_ONEACHCPU_RETRY test broken? jkenisto at us dot ibm dot com
@ 2008-09-29 20:57 ` jkenisto at us dot ibm dot com
  2008-10-17 21:52 ` jkenisto at us dot ibm dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-09-29 20:57 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jkenisto at us dot ibm dot com  2008-09-29 20:56 -------
Created an attachment (id=2969)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2969&action=view)
Suggested replacement for runtime/autoconf-oneachcpu-retry.c

As desired, the attached C file compiles cleanly on 2.6.24, but not on 2.6.27
(due to arg-list mismatch on the call to on_each_cpu()).

-- 


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

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

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

* [Bug runtime/6923] STAPCONF_ONEACHCPU_RETRY test broken?
  2008-09-29 20:53 [Bug runtime/6923] New: STAPCONF_ONEACHCPU_RETRY test broken? jkenisto at us dot ibm dot com
  2008-09-29 20:57 ` [Bug runtime/6923] " jkenisto at us dot ibm dot com
@ 2008-10-17 21:52 ` jkenisto at us dot ibm dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jkenisto at us dot ibm dot com @ 2008-10-17 21:52 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From jkenisto at us dot ibm dot com  2008-10-17 21:51 -------
Checked in the indicated fix: commit 52333a6.

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


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

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

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

end of thread, other threads:[~2008-10-17 21:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-29 20:53 [Bug runtime/6923] New: STAPCONF_ONEACHCPU_RETRY test broken? jkenisto at us dot ibm dot com
2008-09-29 20:57 ` [Bug runtime/6923] " jkenisto at us dot ibm dot com
2008-10-17 21:52 ` jkenisto at us 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).