From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27545 invoked by alias); 30 Jun 2006 20:10:36 -0000 Received: (qmail 27489 invoked by uid 22791); 30 Jun 2006 20:10:33 -0000 X-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,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; Fri, 30 Jun 2006 20:10:30 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5UKASDE007545; Fri, 30 Jun 2006 16:10:28 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5UKASbr032473; Fri, 30 Jun 2006 16:10:28 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k5UKARve026224; Fri, 30 Jun 2006 16:10:27 -0400 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 92311800086; Fri, 30 Jun 2006 16:10:27 -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 k5UKAROO023520; Fri, 30 Jun 2006 16:10:27 -0400 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k5UKAQIO023517; Fri, 30 Jun 2006 16:10:26 -0400 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: "Stone, Joshua I" Cc: Subject: Re: pre-compiled modules References: From: fche@redhat.com (Frank Ch. Eigler) Date: Fri, 30 Jun 2006 23:35:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00739.txt.bz2 joshua.i.stone wrote: > [...] Your example usage was to simply compile it, save to the > local directory, and immediately turn around and run it. But in > this model, I don't see what value has been added over just running > it in one shot. Good point. We should think about the larger use scenarios, not just the smaller steps convenient for our code. > I think the value of pre-compiled modules is that it enables you to > keep a library of modules that users can fire up at will. [...] Right, if for no other purpose than as a cache. In this case, the pre-compilation and reuse should be transparently automated. Another general notion is running the script elsewhere or "elsewhen". The elsewhere could be a different machine of the same platform (where plain .ko reuse is sufficient) or a different platform (likely cross-compilation), or perhaps even a group of machines. The elsewhen could be "from next kernel reboot" as in dtrace anonymous probes (and our bug #2035), "once" as in now, or "periodically" as in cron. It is worth considering whether this spectrum of usage should be addressed by systemtap, or else to make it an SEP and let people roll their own. - FChE