From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752988AbXCaNGG (ORCPT ); Sat, 31 Mar 2007 09:06:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752997AbXCaNGG (ORCPT ); Sat, 31 Mar 2007 09:06:06 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:56276 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752994AbXCaNGE (ORCPT ); Sat, 31 Mar 2007 09:06:04 -0400 Date: Sat, 31 Mar 2007 14:06:01 +0100 From: Christoph Hellwig To: "Stone, Joshua I" Cc: "Keshavamurthy, Anil S" , Masami Hiramatsu , Ananth N Mavinakayanahalli , Prasanna S Panchamukhi , linux-kernel , SystemTAP , Satoshi Oshima , Hideo Aoki , Yumiko Sugita , "Frank Ch. Eigler" , hch@infradead.org Subject: Re: [RFC][Patch 1/4] kprobe fast unregistration Message-ID: <20070331130601.GA18947@infradead.org> Mail-Followup-To: Christoph Hellwig , "Stone, Joshua I" , "Keshavamurthy, Anil S" , Masami Hiramatsu , Ananth N Mavinakayanahalli , Prasanna S Panchamukhi , linux-kernel , SystemTAP , Satoshi Oshima , Hideo Aoki , Yumiko Sugita , "Frank Ch. Eigler" References: <20070323180527.GA13728@bambi.jf.intel.com> <16D5B9AB904B0B46B22A27002EE3A8C82793BB@scsmsx415.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16D5B9AB904B0B46B22A27002EE3A8C82793BB@scsmsx415.amr.corp.intel.com> User-Agent: Mutt/1.4.2.2i 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 On Fri, Mar 23, 2007 at 11:12:22AM -0700, Stone, Joshua I wrote: > The ability to disable/reenable kprobes would be an interesting > enhancement. However, unregister_disabled_kprobes() shouldn't have a > global effect, because there might be a concurrent kprobes user that > disabled a probe with the intention of reenabling it later. enabling/disabling probes sounds like a wonderful additional feature. I don't think we should expose it as a kernel interface, but rather through debugfs so I can temporarily disable and then reenable probes from the shell easily.