[Bug documentation/11224] setting module arguments needs to be tested/documented
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jan 26 22:42:00 GMT 2010
------- Additional Comments From fche at redhat dot com 2010-01-26 22:41 -------
> I see your point, but I also wonder if we lose something here. For instance,
> assume the following pseudo-script:
>
> global debug=0
> probe PROBE_POINT {
> if (debug) {
> # print interesting debug information
> }
> }
>
> This allows a default 'debug' value of 0, which we then can override from the
> command line using module arguments when we want the extra debug output.
One doesn't have to explicitly initialize anything to 0. By leaving out
the =0, in my scheme one would permit runtime overrides.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11224
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list