public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/2700] New: make some parameters set run-time vs compile-time
@ 2006-05-26  0:52 fche at redhat dot com
  2006-11-15 20:27 ` [Bug translator/2700] " fche at redhat dot com
  0 siblings, 1 reply; 3+ messages in thread
From: fche at redhat dot com @ 2006-05-26  0:52 UTC (permalink / raw)
  To: systemtap

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.

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

* [Bug translator/2700] make some parameters set run-time vs compile-time
  2006-05-26  0:52 [Bug translator/2700] New: make some parameters set run-time vs compile-time fche at redhat dot com
@ 2006-11-15 20:27 ` fche at redhat dot com
  0 siblings, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2006-11-15 20:27 UTC (permalink / raw)
  To: systemtap



-- 
Bug 2700 depends on bug 2208, which changed state.

Bug 2208 Summary: support precompiled probe modules
http://sourceware.org/bugzilla/show_bug.cgi?id=2208

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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.

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

* [Bug translator/2700] make some parameters set run-time vs compile-time
       [not found] <bug-2700-6586@http.sourceware.org/bugzilla/>
@ 2015-12-04 15:27 ` fche at redhat dot com
  0 siblings, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2015-12-04 15:27 UTC (permalink / raw)
  To: systemtap

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

Frank Ch. Eigler <fche at redhat dot com> changed:

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

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
One might pursue some such things with special /*guru*/ tapset functions to
clear counters instead.

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

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

end of thread, other threads:[~2015-12-04 15:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-26  0:52 [Bug translator/2700] New: make some parameters set run-time vs compile-time fche at redhat dot com
2006-11-15 20:27 ` [Bug translator/2700] " fche at redhat dot com
     [not found] <bug-2700-6586@http.sourceware.org/bugzilla/>
2015-12-04 15:27 ` 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).