Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753048AbYHHEz0 (ORCPT ); Fri, 8 Aug 2008 00:55:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751466AbYHHEzR (ORCPT ); Fri, 8 Aug 2008 00:55:17 -0400 Received: from smtpout3.tre.se ([80.251.192.228]:20624 "EHLO smtpout3.tre.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180AbYHHEzQ (ORCPT ); Fri, 8 Aug 2008 00:55:16 -0400 Date: Fri, 8 Aug 2008 06:54:19 +0200 From: Sam Ravnborg To: Roland McGrath Cc: Steven Rostedt , Jeremy Fitzhardinge , linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , Linus Torvalds , David Miller , Mathieu Desnoyers , Ulrich Drepper , Rusty Russell , Gregory Haskins , Arnaldo Carvalho de Melo , "Luis Claudio R. Goncalves" , Clark Williams , "Eric W. Biederman" Subject: Re: [PATCH 0/5] ftrace: to kill a daemon Message-ID: <20080808045419.GA2820@uranus.ravnborg.org> References: <20080807182013.984175558@goodmis.org> <489B6511.7000208@goop.org> <20080807222642.761AF15429D@magilla.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080807222642.761AF15429D@magilla.localdomain> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1238 Lines: 24 On Thu, Aug 07, 2008 at 03:26:42PM -0700, Roland McGrath wrote: > > This doesn't seem any less complex than what I did. With this, I would > > have to come up with another way to handle modules. This will make > > things a lot more complex. > > The scheme you've implemented can apply fine to a .ko file after it's made. > They are just .o's really. It is presumably faster to do one step per > final .ko rather than many tiny ones (per source file). > > That might be a benefit to doing it all at the end for vmlinux too. I > think the best way would be to have a vmlinux.o that we actually use in the > link, rather than just analyzing and discarding. Then you can just do your > existing hack on vmlinux.o before it's linked into vmlinux. I have patches to actually use vmlinux.o as part of the link process, but as I hit some subtle issues with um and sparc they are not yet ready. I plan to dust them off again and fix up the sparc and um issues but that is not this month. Sam -- 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/