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/10298] New: bring back NULL


Use of "NULL" (defined in tapset/null.stp) in a script breaks pass 4.
It's because of this (at the bottom of pass-3 output):

static void probe_exit (void) {
  systemtap_module_exit ();
}

#undef NULL
module_param_named (NULL, global.s_NULL, int64_t, 0);
#include "stap-symbols.h"
MODULE_DESCRIPTION("systemtap-generated probe");
MODULE_LICENSE("GPL");

stap-symbols.h uses null.

Perhaps these module parameters should be placed at the very
bottom of the compilation unit, after #include ... MODULE_*.

-- 
           Summary: bring back NULL
           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=10298

------- 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]