From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757203AbcJTCIK (ORCPT ); Wed, 19 Oct 2016 22:08:10 -0400 Received: from mail.kernel.org ([198.145.29.136]:44220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757049AbcJTCIJ (ORCPT ); Wed, 19 Oct 2016 22:08:09 -0400 Date: Thu, 20 Oct 2016 11:07:52 +0900 From: Masami Hiramatsu To: Steven Rostedt Cc: Shuah Khan , linux-kernel@vger.kernel.org, Ingo Molnar , Namhyung Kim , Tom Zanussi , linux-kselftest@vger.kernel.org Subject: Re: [PATCH 1/5] ftrace: Support full glob matching Message-Id: <20161020110752.460115c2a5dcbb719de29423@kernel.org> In-Reply-To: <20161019092057.203b7b12@gandalf.local.home> References: <147685280526.8760.8021110184607782896.stgit@devbox> <147685281662.8760.8331675841970536201.stgit@devbox> <20161019092057.203b7b12@gandalf.local.home> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Oct 2016 09:20:57 -0400 Steven Rostedt wrote: > On Wed, 19 Oct 2016 13:53:36 +0900 > Masami Hiramatsu wrote: > > > Use glob_match() to support flexible glob wildcards (*,?) > > and character classes ([) for ftrace. > > Since the full glob matching is slower than the current > > partial matching routines(*pat, pat*, *pat*), this leaves > > those routines and just add MATCH_GLOB for complex glob > > expression. > > > > e.g. > > ---- > > [root@localhost tracing]# echo 'sched*group' > set_ftrace_filter > > [root@localhost tracing]# cat set_ftrace_filter > > sched_free_group > > sched_change_group > > sched_create_group > > sched_online_group > > sched_destroy_group > > sched_offline_group > > [root@localhost tracing]# echo '[Ss]y[Ss]_*' > set_ftrace_filter > > [root@localhost tracing]# head set_ftrace_filter > > sys_arch_prctl > > sys_rt_sigreturn > > sys_ioperm > > SyS_iopl > > sys_modify_ldt > > SyS_mmap > > SyS_set_thread_area > > SyS_get_thread_area > > SyS_set_tid_address > > sys_fork > > ---- > > Hi Masami, > > Is this any different than your last patch, as I already pulled it into > my queue. I haven't been able to test it much, as I found that 4.9-rc1 > is failing my tests, and I can't add new code to linux-next till 4.9 is > stable. This patch is completely same as the last patch. If you already queued it, please ignore this [1/5]. And OK, what kind of tests are failed on 4.9-rc1? I though a possible kernel freeze in 4.8 when I ran ftracetest, but it seemed disappeared in 4.9-rc1. Thanks, -- Masami Hiramatsu