public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Jason Baron <jbaron@redhat.com>
To: Theodore Tso <tytso@mit.edu>
Cc: Masami Hiramatsu <mhiramat@redhat.com>,
	Roland McGrath <roland@redhat.com>,
	        "Frank Ch. Eigler" <fche@redhat.com>,
	systemtap@sources.redhat.com
Subject: Re: Discussion at Linux Foundation Japan Symposium
Date: Mon, 12 Jan 2009 19:05:00 -0000	[thread overview]
Message-ID: <20090112190401.GE3107@redhat.com> (raw)
In-Reply-To: <20090110024810.GL23869@mit.edu>

On Fri, Jan 09, 2009 at 09:48:10PM -0500, Theodore Tso wrote:
> On Tue, Dec 23, 2008 at 07:54:46PM -0500, Masami Hiramatsu wrote:
> > 
> > OK, so I would like to hear your suggestions seriously.
> > (I believe that we know on what we are working).
> > I think it's time to embody action items. Just criticizing can't go
> > things ahead. So, what we can do for you?
> > 
> > - Communication issue
> >  - Notifying releasing on LKML frequently.
> >  - Preparing more documents for kernel developers.
> >  - Feeding back kernel developers' opinions.
> > 
> > - Solving debuginfo issue
> >  - in the short term, notifying how to minimize debuginfo size.
> >  - in the mid term, making dummy (function-entry) debuginfo.
> >  - in the long term, Roland's dwarf compressor can solve this issue.
> > 
> > - Upstream first issue
> >  - Utrace/Uprobe
> >   - Develop code on LKML and embrace feedbacks.
> >   - Involving main kernel maintainer to speed up the code merging.
> >  - Systemtap itself
> >   - Merging a part of runtime and basic tapset to kernel tree, which
> >    will provide us a permanent API for systemtap generated code.
> >   (BTW, I'd like to suggest modifying ftrace plug-able and systemtap
> >    generating ftrace-plugin tracers. This will be more acceptable for
> >    upstream because we don't need to add so many code).
> > 
> > Any other issues and ideas?
> 
> That's a pretty good list.  Other things to think about
> 
> *) One of the really important reasons why SystemTap needs to move
>    runtime into the kernel is because especially for the community
>    distributions, Fedora for example releases regular bleeding-edge
>    kernels so that end users can help provide badly-needed testing of
>    development kernel.  So if Systemtap needs to be updated from git
>    to deal with changes in the development kernel, Fedora users who
>    are using the bleeding edge kernels won't be able to use Systemtap
>    unless it is released very often as Fedora, Open Suse, and
>    otherwise packaged for other community distributions.  If the
>    SystemTap runtime is bundled with the kernel, then it's much more
>    likely that end users who want to use the daily kernel RPM's will
>    also be able to use SystemTap.
> 
> *) Systemtap needs to be adpted to use tracepoints, quickly; the
>    kernel markers for the scheduler have disappeared and replaced with
>    tracepoints.  I've getting pressure to replace ext4's markers with
>    tracepoints, and eventually I suspect markers infrastructure will
>    probably disappear entirely since tracepoints are perceived as
>    better and as their replacement.  Personally, I haven't had a
>    chance to analyze them deeply enough to know whether this is true,
>    but it's clearly the long-term direction.  (And yes, this is part
>    of efforts to provide a tracing solution that assumes SystemTap is
>    not part of the picture.)
> 
> The idea of using the ftrace infrastructure is a good one; since
> SystemTap resisted making an effort get its runtime into the kernel,
> now that the ftrace infrastructure is in the kernel, the principle of
> not merging code that duplicates functionality means that this makes
> Systemtap now needs to adapt what infrastructure did get merged for
> its purposes, since it will be much more difficult get parallel
> functionality merged into the kernel.
> 
> Regards,
> 
> 						- Ted

hi,

We have been actively looking at and adding tracepoints to the lttng
kernel tree via the ltt-dev list to support Systemtap. These tracepoints are
being added at "key" kernel points in the fs, vm, scheduler, and other
subsystems. Unfortunately, we just realized that these tracepoints are not
going to be proposed for a merge until lttng is proposed for merge. Systemtap
can not be held up by this.

Therefore, I was thinking of proposing 100+ tracepoints that are
currently in the lttng tree (and not upstream, but many have already
been reviewed upstream), on lkml. If we also propose Systemtap specific set of 
markers to interface, with these tracepoints, then Systemtap will work out of
the box with no debuginfo, no gcc changes, and be effective immediately to 
filter ext4 debug information.

Longer term, we can look at merging markers into tracepoints, having
Systemtap directly interface with tracepoints, and merging
utrace/probes. This proposal makes Systemtap immediately more useful on 
upstream kernels, while longer term issues are addressed. thoughts?

thanks,

-Jason

  parent reply	other threads:[~2009-01-12 19:05 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-22 18:22 Frank Ch. Eigler
2008-12-22 20:38 ` Theodore Tso
2008-12-22 22:41   ` Frank Ch. Eigler
2008-12-23  0:33     ` Theodore Tso
2008-12-23  0:34       ` Masami Hiramatsu
2008-12-23  0:44         ` Theodore Tso
2008-12-23 21:13           ` Roland McGrath
2008-12-23 22:13           ` Masami Hiramatsu
2008-12-23 14:28       ` Frank Ch. Eigler
2008-12-23 22:21     ` Roland McGrath
2008-12-23 22:33       ` Masami Hiramatsu
2008-12-23 22:44         ` Roland McGrath
2008-12-24  3:40           ` Masami Hiramatsu
2008-12-24  8:48             ` Roland McGrath
2008-12-24 18:14               ` Masami Hiramatsu
2008-12-24 19:26                 ` Roland McGrath
2008-12-24 21:02                 ` Theodore Tso
2008-12-26 18:17                   ` Roland McGrath
2008-12-23 23:27       ` Theodore Tso
2008-12-24  6:11         ` Masami Hiramatsu
2009-01-10  2:48           ` Theodore Tso
2009-01-11 16:29             ` Frank Ch. Eigler
2009-01-12 18:18               ` Masami Hiramatsu
2009-01-12 18:53                 ` Frank Ch. Eigler
2009-01-12 19:29                   ` Masami Hiramatsu
2009-01-12 19:26               ` Theodore Tso
2009-01-12 20:01                 ` Frank Ch. Eigler
2009-01-12 19:05             ` Jason Baron [this message]
2009-01-12 19:52               ` Theodore Tso
2009-01-12 20:32                 ` Frank Ch. Eigler
2009-01-08  9:22         ` Roland McGrath
2009-01-10  1:33           ` Theodore Tso
2008-12-22 23:34   ` Masami Hiramatsu
  -- strict thread matches above, loose matches on Subject: below --
2008-12-18  8:33 Satoshi OSHIMA
2008-12-18  8:59 ` KOSAKI Motohiro
2008-12-18  9:07 ` Jun Koi
2008-12-18  9:21   ` jidong xiao
2008-12-18  9:28     ` Jun Koi
2008-12-18  9:35   ` KOSAKI Motohiro
2008-12-18  9:37     ` Jun Koi
2008-12-18  9:42       ` Jun Koi
2008-12-18  9:46         ` KOSAKI Motohiro
2008-12-18  9:58     ` K.Prasad
2008-12-18 10:02       ` KOSAKI Motohiro
2008-12-18 10:21         ` K.Prasad
2008-12-18 15:52         ` Masami Hiramatsu
2008-12-18 15:41 ` Masami Hiramatsu
2008-12-18 17:11 ` Frank Ch. Eigler
2008-12-19  0:08   ` KOSAKI Motohiro
2008-12-19  0:58     ` Frank Ch. Eigler
2008-12-19  1:39       ` KOSAKI Motohiro
2008-12-19 23:51       ` William Cohen
2008-12-20  1:51         ` Richard J Moore
2008-12-20 14:27         ` Masami Hiramatsu
2008-12-19  0:45   ` Masami Hiramatsu

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=20090112190401.GE3107@redhat.com \
    --to=jbaron@redhat.com \
    --cc=fche@redhat.com \
    --cc=mhiramat@redhat.com \
    --cc=roland@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).