This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: next steps
- From: Martin Hunt <hunt at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 21 Sep 2005 14:23:35 -0700
- Subject: Re: next steps
- Organization: Red Hat Inc.
- References: <20050920155034.GA25619@redhat.com>
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