next steps

Martin Hunt hunt@redhat.com
Wed Sep 21 21:24:00 GMT 2005


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




More information about the Systemtap mailing list