public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@MIT.EDU>
To: Masami Hiramatsu <mhiramat@redhat.com>
Cc: "Frank Ch. Eigler" <fche@redhat.com>, systemtap@sources.redhat.com
Subject: Re: Discussion at Linux Foundation Japan Symposium
Date: Tue, 23 Dec 2008 00:44:00 -0000	[thread overview]
Message-ID: <20081223003156.GN23723@mit.edu> (raw)
In-Reply-To: <495023F3.2010508@redhat.com>

On Mon, Dec 22, 2008 at 06:34:11PM -0500, Masami Hiramatsu wrote:
> 
> Hmm, why would you think all or nothing?
> 
> I agreed with your opinion that the kernel compilation time longer
> if we configure more drivers compiling as modules.
> 
> However, even if you build all required modules into the kernel,
> you can still enable module support. So, I think it's not an issue.

Yes, that's what I was talking about; my apologies for not being
clear.  So what I do when I want to use debuginfo is I build a single
reduced-functionality kernel, with only device drivers I need built
into the kernel, but I allow modules because SystemTap requires them.
My suggestion was *documenting* this in the Wiki to make it clear that
(a) debuginfo sucks and terribly bloats with lots of modules, and (b)
developers who want to use SystemTap with debuginfo would be well
advised to avoid using large numbers of modules.  This is the kind of
usability issue that SystemTap is badly lacking.

Also, if you want to advertise using line-by-line probes as a
SystemTap feature, you might want to suggest a kernel patch that
disables gcc optimizations such that probes have a half-way decent
chance of actually working.  Yes it violates the SystemTap religion
about never needing to recompile the kernel; but it recognizes the
reality that the gcc toolchain has incredibly sucky debuginfo that
doesn't take into account CSE, function reordering, and inlining of
static functions.

> Hm, perhaps, we should support an option or environment variable to
> specify (several) path of Modules.marker. After fixing that path, we can
> deprecate the option.

There are only a few places where it can go; one is
/boot/Module.marker-<kver>; another is
/lib/modules/<kver>/Module.markers.  The last
place is /lib/modules/<kver>/build/Module.marker .

							-Ted

  reply	other threads:[~2008-12-23  0:33 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 [this message]
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
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=20081223003156.GN23723@mit.edu \
    --to=tytso@mit.edu \
    --cc=fche@redhat.com \
    --cc=mhiramat@redhat.com \
    --cc=systemtap@sources.redhat.com \
    /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).