This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2700] New: make some parameters set run-time vs compile-time
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 26 May 2006 00:51:32 -0000
- Subject: [Bug translator/2700] New: make some parameters set run-time vs compile-time
- Reply-to: sourceware-bugzilla at sourceware dot org
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.