This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/11649] New: workarounds for incomplete kernel include/linux/events/*.h decls


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]