public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Theodore Tso <tytso@mit.edu>
Cc: systemtap@sources.redhat.com
Subject: Re: kernel summit session on systemtap
Date: Fri, 26 Sep 2008 19:53:00 -0000	[thread overview]
Message-ID: <20080926195125.GB21232@redhat.com> (raw)
In-Reply-To: <20080918151843.GB9640@mit.edu>

Hi, Ted -

On Thu, Sep 18, 2008 at 11:18:43AM -0400, Theodore Tso wrote:
> [...]
> > - improving quality (benefits) of dwarf
> > - shrinking dwarf dramatically
> > - if all else fails, dwarf subsetting
> 
> What do you think is the timeline for this happening?  I assume this
> requires changes to gcc, right?  So would an estimate of 6-9 months,
> minimum, be a fair one [...]

For improving debuginfo quality, yeah.  For subsetting or compressing,
we can probably attack the problem with separate postprocessing tools
that could be ready sooner.



> "make install" to strip out the debuginfo so that the partition
> containing /lib wouldn't run out of space.  Right now I manually
> install the full set of module files in /usr/lib/debug/lib/modules/... via:
> 
> 	make INSTALL_MOD_STRIP=1 install_modules
> 	make INSTALL_MOD_PATH=/usr/lib/debug install_modules

That's a clever alternative to using the separate-debuginfo style
stripping.


> > (By the way, do you build distro-style kernels on your laptop, with
> > allmodconfig or somesuch, or something more linus-sized?)
> 
> I do both.  The distro-style kernels are the ones that I build with
> debuginfo information, and it's been useful for playing around with
> systemtap, but the moment I need do any serious development work, I
> tend to fall back to a limited subset of compile options, generally
> without any modules, and printk debugging.  

OK; is there some obstruction in the way of using systemtap on your
'serious development' kernels?


> Once we get a useful circular buffer, I'd probably start logging to
> the circular buffer and use grep as the alternative to systemtap or
> printk debugging.

OK. 


> As a result, I've had no motivation to create any tapsets, since at
> least for my own personal needs, the costs of creating the debuginfo
> so that SystemTap would be useful for my personal needs just far
> outweighs the benefits.

My recollection of the ksummit yak was that the sort of tapset that
kernel people would be willing to help write/maintain consisted of
compiled-in instrumentation like markers, or whatever event layer
comes on top of the new ringbuffer widget.  If that's done right, it
should not require debuginfo for systemtap to hook in.


> > Your information is slightly obsolete.  We just added some such
> > automation, and can do more.
> 
> Glad to hear it.  I suspect then that this page:
>      http://sources.redhat.com/systemtap/wiki/SystemtapDtraceComparison
> is also slightly out of date.

Yeah.


- FChE

  reply	other threads:[~2008-09-26 19:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-17 14:42 Frank Ch. Eigler
2008-09-17 22:14 ` Theodore Tso
2008-09-18  0:51   ` Frank Ch. Eigler
2008-09-18 15:19     ` Theodore Tso
2008-09-26 19:53       ` Frank Ch. Eigler [this message]
2008-09-26 22:02         ` Theodore Tso
2008-09-26 23:35           ` Roland McGrath
2008-09-18 15:28 ` Theodore Tso
2008-09-22 21:41   ` Roland McGrath
2008-09-18  8:01 R. J. Moore
2008-09-18 15:50 ` Theodore Tso
2008-09-18 16:11   ` Ananth N Mavinakayanahalli
2008-09-22  9:18   ` R. J. Moore
2008-09-22 14:12     ` Theodore Tso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080926195125.GB21232@redhat.com \
    --to=fche@redhat.com \
    --cc=systemtap@sources.redhat.com \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).