Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp653561pxu; Fri, 23 Oct 2020 09:55:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzd42xc2AqkeYF+tUVutFs7b+82GWx4PN6IzatXFW1gMZFH31+Lm/zliL05cFFMsofFlZN1 X-Received: by 2002:a17:906:3488:: with SMTP id g8mr2774174ejb.296.1603472119950; Fri, 23 Oct 2020 09:55:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603472119; cv=none; d=google.com; s=arc-20160816; b=gIHtXERS43ahaHdLD6GB6XX+Q+pZAL5qnl/PFhJL5aE0j1LSm3Wt0If92ixqEFcQOK hkk9P7THzeoRa3na02aB/TpleM+ZuiLPjn7NHQq9q3cxCZDn+2MdS+DgSkeqlKmsp6jv IOIe0XSP0Ew7mLW7Pv4J+CSpTig5SeId7bEx9A4TI5vOyoCAUpkaO8OO2cR3+eTzNGS7 cNhixFXBaNMNtmKrijuPq1STVvbJdWO3YM/eRbwQYp+4x5L1ScBv6weddGF87eYE7/s6 veVZs9W1AP+Gl2QbtkHPCrxN5c1VViQrKKerKzxXdbFRgcnm7FTHhLA7s27vVvU8bexi PoCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ghCePn8J1IbHPhuaQPUfZVqVV1bPBMSDGOLNJshE5TE=; b=Snm72Ihus5Fz3+794c0rGePtjmCJyIy2YaPpk5yUxtM8Dg18YNUisgfbvAArVOtP0y aBOsCvjw5ABdn8P1qWrROzrwyM9GdilwMkW0NwQ0jtseF688yfm1MpcETl0gmMGI/OSR 1clbOtiyzVIkwrdbLJDdtB4cSN2LAO0mfkXuhmqn90sStreQqa82/RP5yLcM6J15s+LA 43c+NKelCDIGE0ABwBOypD3pffCqvAK6wzljamAkxMduLsZ7K7iN4k3+dCDJ4RzBbLvU QykIk1veqEtAMmGBn88DYAIfnUFADJl8UIQhvjfFRAQ8kzZHI+9r/9XdFViaCRaxfSAj 948A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PWEwhD3K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si1544414eju.273.2020.10.23.09.54.58; Fri, 23 Oct 2020 09:55:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PWEwhD3K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S462487AbgJWKsv (ORCPT + 99 others); Fri, 23 Oct 2020 06:48:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:53970 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S372087AbgJWKsv (ORCPT ); Fri, 23 Oct 2020 06:48:51 -0400 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F177C20FC3; Fri, 23 Oct 2020 10:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603450130; bh=okFwPrydoGiONohT9lhoiD249vghLTsgSLgVFfhvqdw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PWEwhD3KmYmoVjdVcYVNEyftKayA1VHvZzgCdhHYg9Jg0fZOiVuJ6K7op/M+CqBqj TuReAosClu7IbTTQih/G7NsVojYlxaoWXlnv1armCZylAYf5bASUpmajhBu5GuWDR+ LfQtrN1Fi02Sj8hjnMP3ua8BGzo91nYoooXm6igE= Date: Fri, 23 Oct 2020 19:48:46 +0900 From: Masami Hiramatsu To: Alexander Gordeev , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Christian Brauner , Masami Hiramatsu Subject: Re: [PATCH] selftests/ftrace: remove _do_fork() leftovers Message-Id: <20201023194846.7f159d06260cfa2456132aa3@kernel.org> In-Reply-To: <1603443123-17457-1-git-send-email-agordeev@linux.ibm.com> References: <1603443123-17457-1-git-send-email-agordeev@linux.ibm.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Oct 2020 10:52:03 +0200 Alexander Gordeev wrote: > The _do_fork() is not completely removed from selftests > in favor of the kernel_clone(). > Looks good to me. Acked-by: Masami Hiramatsu Thank you! > Fixes: eea11285dab3 ("tracing: switch to kernel_clone()") > Cc: Steven Rostedt > Cc: Christian Brauner > Cc: Masami Hiramatsu > Signed-off-by: Alexander Gordeev > --- > tools/testing/selftests/ftrace/test.d/ftrace/func-filter-notrace-pid.tc | 2 +- > tools/testing/selftests/ftrace/test.d/ftrace/func-filter-pid.tc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-notrace-pid.tc b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-notrace-pid.tc > index acb17ce..0ddb948 100644 > --- a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-notrace-pid.tc > +++ b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-notrace-pid.tc > @@ -39,7 +39,7 @@ do_test() { > disable_tracing > > echo do_execve* > set_ftrace_filter > - echo *do_fork >> set_ftrace_filter > + echo kernel_clone >> set_ftrace_filter > > echo $PID > set_ftrace_notrace_pid > echo function > current_tracer > diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-pid.tc b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-pid.tc > index 9f0a968..71319b3 100644 > --- a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-pid.tc > +++ b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-pid.tc > @@ -39,7 +39,7 @@ do_test() { > disable_tracing > > echo do_execve* > set_ftrace_filter > - echo *do_fork >> set_ftrace_filter > + echo kernel_clone >> set_ftrace_filter > > echo $PID > set_ftrace_pid > echo function > current_tracer > -- > 1.8.3.1 > -- Masami Hiramatsu