Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030258AbWISQuI (ORCPT ); Tue, 19 Sep 2006 12:50:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030260AbWISQuH (ORCPT ); Tue, 19 Sep 2006 12:50:07 -0400 Received: from mx1.redhat.com ([66.187.233.31]:55196 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1030258AbWISQuF (ORCPT ); Tue, 19 Sep 2006 12:50:05 -0400 To: Martin Bligh Cc: Ingo Molnar , Mathieu Desnoyers , Paul Mundt , linux-kernel , Jes Sorensen , Andrew Morton , Tom Zanussi , Richard J Moore , Michel Dagenais , Christoph Hellwig , Greg Kroah-Hartman , Thomas Gleixner , William Cohen , ltt-dev@shafik.org, systemtap@sources.redhat.com, Alan Cox Subject: Re: [PATCH] Linux Kernel Markers References: <20060918234502.GA197@Krystal> <20060919081124.GA30394@elte.hu> <451008AC.6030006@google.com> <20060919154612.GU3951@redhat.com> <4510151B.5070304@google.com> From: fche@redhat.com (Frank Ch. Eigler) Date: 19 Sep 2006 12:49:20 -0400 In-Reply-To: <4510151B.5070304@google.com> 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 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1096 Lines: 22 Martin Bligh writes: > [...] "compiled anew from original sources after deployment" seems > the most practical to do to me. From second hand info on using > systemtap, you seem to need the same compiler and source tree to > work from anyway [...] Not quite. Systemtap does not look at sources, only object code and its embedded debugging information. (How many distributions keep around compilable source trees?) > [...] It seems like all we'd need to do is "list all references to > function, freeze kernel, update all references, continue", [...] One additional problem are external references made *by* the function. Those too would all have to be relocated to the live data. Live code patching is theoretically useful for all kinds of things, but I've never heard it described as relatively simple before! :-) - FChE - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/