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/2700] New: make some parameters set run-time vs compile-time


Several parameters now set with "stap -DFOO=bar ..." turn into compile-time
macros/constants, and are not changeable at run time.  It would be nice to turn
some of them into special variables that show up as plain integers in C code,
and are changeable with module options.  This will be especially handy once we
have bug #2208 done.

Ordinary script globals already support initialization via module-params.  These
extra parameters would intrude on the same namespace, but that's OK.  For
backward compatibility, the "-DPARAM=value" could still function as an
initialization of the parameter.

examples:
MAXERRORS
MAXSKIPPED
MAXACTION
MAXMAPENTRIES

negative examples (i.e., these affect compile-time struct layout)
MAXSTRINGLEN
MAXNESTING

-- 
           Summary: make some parameters set run-time vs compile-time
           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
 BugsThisDependsOn: 2208


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

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