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: next steps


On Tue, 2005-09-20 at 11:50 -0400, Frank Ch. Eigler wrote:

> - Translator:
>   - statistics support
>   - optimizations

The issues I see so far that I would like fixed include:

If we can't make the language typeless, can we at least add some type of
polymorphism?  The common case I would like to solve is when writing a
probe to handle probepoints and I would like to print out an arg which
may be an int or a string. Maybe just adding typeof() would be enough.

Support for variable args, mostly just for print() so it can take
printf-like formatting. This is needed for printa() too.

Currently the translator writes a large amount of C code for every
probe.  This is unscalable and the code is too slow for tracing or
profiling. Probably we need a different type of specialized probe,
consisting of a djprobe that prints out some standard info.  That same
probe would be inserted everywhere, instead of compiling tens of
thousands of identical probes.

Martin



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