public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11649] New: workarounds for incomplete kernel include/linux/events/*.h decls
@ 2010-05-31 22:26 fche at redhat dot com
  2010-06-02  1:41 ` [Bug translator/11649] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2010-05-31 22:26 UTC (permalink / raw)
  To: systemtap

Back in bug #9993, we've started handling cases where kernel header
files that declare tracepoints/events/whatnot are incomplete (such
as due to missing declarations of function parameter types).  In
tapsets.cxx (tracepoint_extra_headers), we can opt to manually
include certain named kernel headers that complement the tracepoint
ones, which is useful if the kernel header goes unfixed. 

However, the code is not conditional on kernel configuration or version, so
for example for 2.6.33+ kvm tracepoints, <linux/kvm_host.h> is needed in
the "they_live" list.  However, this header does not exist on older kernels.
So we need to conditionalize the tracepoint_extra_headers() mechanism
(perhaps via individual runtime/autoconf-* tests), or find another type of
workaround for broken kernel headers.

-- 
           Summary: workarounds for incomplete kernel
                    include/linux/events/*.h decls
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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

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

* [Bug translator/11649] workarounds for incomplete kernel include/linux/events/*.h decls
  2010-05-31 22:26 [Bug translator/11649] New: workarounds for incomplete kernel include/linux/events/*.h decls fche at redhat dot com
@ 2010-06-02  1:41 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2010-06-02  1:41 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-05-31 17:58 -------
For now, doing this based on CONFIG_* values.

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


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

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

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

end of thread, other threads:[~2010-05-31 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31 22:26 [Bug translator/11649] New: workarounds for incomplete kernel include/linux/events/*.h decls fche at redhat dot com
2010-06-02  1:41 ` [Bug translator/11649] " fche at redhat 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).