From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15110 invoked by alias); 2 Jul 2008 20:41:04 -0000 Received: (qmail 15102 invoked by uid 22791); 2 Jul 2008 20:41:03 -0000 X-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_62,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 Jul 2008 20:40:46 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m62KeiV0009387 for ; Wed, 2 Jul 2008 16:40:44 -0400 Received: from pobox-3.corp.redhat.com (pobox-3.corp.redhat.com [10.11.255.67]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m62Kei8J008741; Wed, 2 Jul 2008 16:40:44 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.yyz.redhat.com [10.15.16.9]) by pobox-3.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m62Ke1Fn026467; Wed, 2 Jul 2008 16:40:35 -0400 Received: from ton.toronto.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id BEB8B8001FF; Wed, 2 Jul 2008 16:39:44 -0400 (EDT) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id m62KdSvA006868; Wed, 2 Jul 2008 16:39:28 -0400 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id m62KdRXJ006867; Wed, 2 Jul 2008 16:39:27 -0400 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: "J. Bruce Fields" Cc: Theodore Tso , Roland McGrath , ksummit-2008-discuss@lists.linux-foundation.org, systemtap@sources.redhat.com Subject: Re: [Ksummit-2008-discuss] DTrace References: <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> <20080702200650.GJ29916@mail.oracle.com> <20080702201637.GL17296@fieldses.org> From: fche@redhat.com (Frank Ch. Eigler) Date: Wed, 02 Jul 2008 20:41:00 -0000 In-Reply-To: <20080702201637.GL17296@fieldses.org> (J. Bruce Fields's message of "Wed, 2 Jul 2008 16:16:37 -0400") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 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/msg00019.txt.bz2 >> [...] >> 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. OK, we'll try to work out something like that soon. "J. Bruce Fields" writes: > That would be nice. But I'm afraid I normally don't even have > access to the kernel tree on the machine I'm installing to--I > usually build a monolithic kernel and then scp it to the test > machines. Is there hope for me? You can cross-compile systemtap scripts today, if that kernel at least is built with CONFIG_MODULES etc. On your development host: % stap -p4 SCRIPT % scp RESULT.ko target-machine: % ssh root@target-machine staprun RESULT.ko or something very close to that. The Fedora/RHEL packages separate a "systemtap-runtime" piece consisting of one or two small binaries that need to go onto the target machine. We're working on a target-side driven network client/server widget to fully automate this. - FChE