From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752008AbaGPT7v (ORCPT ); Wed, 16 Jul 2014 15:59:51 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:27587 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750919AbaGPT7t (ORCPT ); Wed, 16 Jul 2014 15:59:49 -0400 Date: Wed, 16 Jul 2014 15:59:45 -0400 From: Steven Rostedt To: Oleg Nesterov Cc: Masami Hiramatsu , Namhyung Kim , Srikar Dronamraju , Tom Zanussi , "zhangwei(Jovi)" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 6/7] tracing: change apply_subsystem_event_filter() paths to check file->system == dir Message-ID: <20140716155945.081dceb7@gandalf.local.home> In-Reply-To: <20140716191248.GA6854@redhat.com> References: <20140715184753.GA20470@redhat.com> <20140715184829.GA20516@redhat.com> <20140716143219.4fa2b72e@gandalf.local.home> <20140716191248.GA6854@redhat.com> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 16 Jul 2014 21:12:48 +0200 Oleg Nesterov wrote: > On 07/16, Steven Rostedt wrote: > > > > On Tue, 15 Jul 2014 20:48:29 +0200 > > Oleg Nesterov wrote: > > > > > filter_free_subsystem_preds(), filter_free_subsystem_filters() and > > > replace_system_preds() can simply check file->system->subsystem and > > > avoid strcmp(call->class->system). > > > > > > Better yet, we can pass "struct ftrace_subsystem_dir *dir" instead of > > > event_subsystem and just check file->system == dir. > > > > > > Thanks to Namhyung Kim who pointed out that replace_system_preds() can > > > be changed too. > > > > What? No thanks to me for suggesting the file->system == dir idea? > > > > /me pouts like a baby > > OOPS, sorry, Iactually forgot to add "as suggested by" ;) > > But, otoh... who cares about rostedt when it comes to tracing area? > As Paul McKenney would say... ;-) ;-) ;-) -- Steve