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]

RE: Global constants


Frank Ch. Eigler wrote:
> That would still burden the tapset programmer to add the necessary
> %{ #include <linux/foo.h> %}'s to define all those macros.

Good point.


> [...]
> This could be a plausible solution for bug #1304 (with the addition of
> some type data).  But I would like to aim for something that can be
> set at startup time rather than compile time.  That would be an
> element of bug #2208, where precompiled probe modules may be reused.
> That in turn is more useful if they can be parametrized.

Now that I've looked at those bug #s, I tend to agree - a more general
solution for script parameters is needed.  It's still possible to "fake"
parameters with macros, but given the limitations I don't think we need
more language features around this idea.


Josh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]