Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753479AbZIXUvh (ORCPT ); Thu, 24 Sep 2009 16:51:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753235AbZIXUvg (ORCPT ); Thu, 24 Sep 2009 16:51:36 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:37641 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753181AbZIXUvg (ORCPT ); Thu, 24 Sep 2009 16:51:36 -0400 Subject: Re: [GIT PULL v2] bkl tracepoints + filter regex support From: Peter Zijlstra To: Frederic Weisbecker Cc: Ingo Molnar , LKML , Tom Zanussi , Steven Rostedt , Li Zefan In-Reply-To: <20090924204357.GB8662@nowhere> References: <1253821775-8618-1-git-send-email-fweisbec@gmail.com> <20090924201509.GA26573@elte.hu> <20090924201622.GA15459@elte.hu> <1253824200.18939.173.camel@laptop> <20090924204357.GB8662@nowhere> Content-Type: text/plain Date: Thu, 24 Sep 2009 22:51:29 +0200 Message-Id: <1253825489.18939.180.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1061 Lines: 30 On Thu, 2009-09-24 at 22:44 +0200, Frederic Weisbecker wrote: > I don't quite understand why. > > Typing file == "*reiserfs*" looks more intuitive. > > It's true that the filters should stay tight to the C syntax, > but following this guideline up to the point that we are forced to > use function expressions to do something that can be expressed > much more easily and more intuitively (IMHO), that all sounds like > an overkill. > > The use of glob is a very primary need for filters, it's > so much a basic requirement for it that it should be native > in its language. The thing that my fingers know is awk syntax: file ~ /reiserfs/ I'd very much prefer to keep == for strict equality, however the above requires actual regex bits. Remember, there are no second chances for the filter syntax anymore. -- 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/