From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13527 invoked by alias); 2 Jul 2008 20:08:50 -0000 Received: (qmail 13039 invoked by uid 22791); 2 Jul 2008 20:08:26 -0000 X-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from agminet01.oracle.com (HELO agminet01.oracle.com) (141.146.126.228) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 Jul 2008 20:07:50 +0000 Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m62K6vSj025419; Wed, 2 Jul 2008 15:06:57 -0500 Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m62DZSDu004334; Wed, 2 Jul 2008 14:06:56 -0600 Received: from ca-server1.us.oracle.com by acsmt357.oracle.com with ESMTP id 10594083071215029215; Wed, 02 Jul 2008 15:06:55 -0500 Received: from jlbec by ca-server1.us.oracle.com with local (Exim 4.69) (envelope-from ) id 1KE8bO-0006N3-Kq; Wed, 02 Jul 2008 13:06:55 -0700 Date: Wed, 02 Jul 2008 20:08:00 -0000 From: Joel Becker To: Theodore Tso Cc: Roland McGrath , ksummit-2008-discuss@lists.linux-foundation.org, systemtap@sources.redhat.com Subject: Re: [Ksummit-2008-discuss] DTrace Message-ID: <20080702200650.GJ29916@mail.oracle.com> Mail-Followup-To: Theodore Tso , Roland McGrath , ksummit-2008-discuss@lists.linux-foundation.org, systemtap@sources.redhat.com References: <20080630010423.GA7068@redhat.com> <20080630181959.GA7988@mit.edu> <20080630192533.GE21660@redhat.com> <20080630201031.GF7988@mit.edu> <20080630204219.GA6631@redhat.com> <20080701024140.GB28143@mit.edu> <20080701070746.C6DAD15420E@magilla.localdomain> <20080701101507.GB22717@mit.edu> <20080701200632.6790A1541F5@magilla.localdomain> <20080701231327.GA5829@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080701231327.GA5829@mit.edu> X-Burt-Line: Trees are cool. X-Red-Smith: Ninety feet between bases is perhaps as close as man has ever come to perfection. User-Agent: Mutt/1.5.18 (2008-05-17) X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00016.txt.bz2 On Tue, Jul 01, 2008 at 07:13:27PM -0400, Theodore Tso wrote: > And remember, for the average kernel developer, the question is > whether using SystemTap is easier than inserting a bunch of printk's I'll throw in a datapoint here. I recently had to track a problem down on a distro kernel, and rebuilding distro kernels takes a lot of time. So I decided to try SystemTap. Once I'd discovered the magic location of the distro's debuginfo package, systemtap was *WAY* faster than prink+recompile. I mean, we're talking 30 second turnaround between "Oh, I'd like to print this other value" and actually printing it. In the core kernel, not a module. No reboot, no nothin. This is a huge win. But I'll never replicate that for my normal work at this rate. I'm usually floating multiple hand-built mainline kernels with new work. Just like Ted describes. > repository or weekly automated snapshots.) So actually, being able to > install stripped modules and vmlinux into /boot and /linux, and then > being able to put the unstripped binaries somewhere else, without > having to use the !@#@! complicated RPM macros by Fedora/RHEL is > actually **very** important to me. Me too. I want to be able to say "make install; make tap_install" in my kernel objdir. "install" does what it always has done - no change. "tap_install" (or whatever) drops things in eg /lib/modules//debug such that systemtap Just Works. It can error if systemtap isn't installed or is too old. But I shouldn't have to build a distro package of my kernel, or even understand the mechanism for building 'debuginfo' bits (even if I do). Joel -- "I am working for the time when unqualified blacks, browns, and women join the unqualified men in running our overnment." - Sissy Farenthold Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127