From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26720 invoked by alias); 10 Apr 2006 04:30:41 -0000 Received: (qmail 26709 invoked by uid 22791); 10 Apr 2006 04:30:39 -0000 X-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from e4.ny.us.ibm.com (HELO e4.ny.us.ibm.com) (32.97.182.144) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Apr 2006 04:30:36 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e4.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k3A4UOcX031216 for ; Mon, 10 Apr 2006 00:30:24 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k3A4UEsv213262 for ; Mon, 10 Apr 2006 00:30:14 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id k3A4UEKS030631 for ; Mon, 10 Apr 2006 00:30:14 -0400 Received: from newton.in.ibm.com (N20wks267552wss.in.ibm.com [9.124.31.64] (may be forged)) by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id k3A4UDbL030557; Mon, 10 Apr 2006 00:30:13 -0400 Received: by newton.in.ibm.com (Postfix, from userid 500) id 95722CE3; Mon, 10 Apr 2006 10:00:31 +0530 (IST) Date: Mon, 10 Apr 2006 04:30:00 -0000 From: Prasanna S Panchamukhi To: bibo dot mao at intel dot com Cc: systemtap@sources.redhat.com Subject: Re: [Bug kprobes/2476] Switch Kprobes inline functions to __kprobes? Message-ID: <20060410043031.GA28587@in.ibm.com> Reply-To: prasanna@in.ibm.com References: <20060323004500.2476.jkenisto@us.ibm.com> <20060410032409.9593.qmail@sourceware.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060410032409.9593.qmail@sourceware.org> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes 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/msg00082.txt.bz2 On Mon, Apr 10, 2006 at 03:24:09AM -0000, bibo dot mao at intel dot com wrote: > > ------- Additional Comments From bibo dot mao at intel dot com 2006-04-10 03:24 ------- > This patch works my IA64 box, but I have one question, almost all function in > arch/i386/kernel/kprobe.c is prefixed with __kprobes. currently I think that > the whole kernel path for KPROBE_REENTER routine should not be probed, and I do > know whether there are other cases which should not be probed also. True, apart from KPROBE_REENTER, probes on routines from interrupt handler to the kprobes_handler() can cause recursion. Thanks Prasanna -- Prasanna S Panchamukhi Linux Technology Center India Software Labs, IBM Bangalore Email: prasanna@in.ibm.com Ph: 91-80-51776329