Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964990AbWHHQk1 (ORCPT ); Tue, 8 Aug 2006 12:40:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964992AbWHHQk0 (ORCPT ); Tue, 8 Aug 2006 12:40:26 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:20372 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S964990AbWHHQkZ (ORCPT ); Tue, 8 Aug 2006 12:40:25 -0400 Date: Tue, 8 Aug 2006 17:40:19 +0100 From: Christoph Hellwig To: Stephen Hemminger Cc: Christoph Hellwig , Ananth N Mavinakayanahalli , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] Kprobes: Make kprobe modules more portable Message-ID: <20060808164019.GA3382@infradead.org> Mail-Followup-To: Christoph Hellwig , Stephen Hemminger , Ananth N Mavinakayanahalli , linux-kernel@vger.kernel.org References: <20060807115537.GA15253@in.ibm.com> <20060808162421.GA28647@infradead.org> <20060808093400.5f023ea6@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060808093400.5f023ea6@localhost.localdomain> User-Agent: Mutt/1.4.2.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 741 Lines: 14 On Tue, Aug 08, 2006 at 09:34:00AM -0700, Stephen Hemminger wrote: > Okay, does this makes kprobe's the first reflective kernel interface. Actually kallsyms_lookup_name was the first interface like that. And lots of external kprobes used it like that - in fact tcp_probe.c is the first one I've seen doing it differently. But kallsyms_lookup_name is a really awkward lowlevel buildingblock that's almost impossible to use correctly, so this patch hides it behind the proper kprobes interface. - 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/