Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755339Ab3GAVOo (ORCPT ); Mon, 1 Jul 2013 17:14:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39241 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754998Ab3GAVOn (ORCPT ); Mon, 1 Jul 2013 17:14:43 -0400 Date: Mon, 1 Jul 2013 23:10:03 +0200 From: Oleg Nesterov To: "zhangwei(Jovi)" Cc: Steven Rostedt , Masami Hiramatsu , Srikar Dronamraju , Frederic Weisbecker , Ingo Molnar , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4] tracing/uprobes: Support ftrace_event_file base multibuffer Message-ID: <20130701211003.GA2147@redhat.com> References: <51CE920C.5020001@huawei.com> <20130701202722.GA413@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130701202722.GA413@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 28 On 07/01, Oleg Nesterov wrote: > > On 06/29, zhangwei(Jovi) wrote: > > > > [v3->v4]: > > I am wondering how much you will hate me if I suggest to make v5 ;) > > But look, imho probe_event_enable() looks a bit more confusing than > it needs. And I am a bit worried this patch removes the is_trace_uprobe_enabled() check from probe_event_enable()... Yes I think it was never needed, afaics TRACE_REG_*_UNREGISTER can't come without successfull _REGISTER. And the bogus uprobe_unregister() is harmless in this particular case. So I think this is fine, but perhaps the changelog should mention this "offtopic" change. Oleg. -- 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/