Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp462405pxx; Mon, 26 Oct 2020 12:29:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSQ2jzVTreIRxGwz+4alG8xuqX70q+HEU5JXtMjTAKxkRTlDj4k13xGSdod1TwHOQT5dCe X-Received: by 2002:a17:907:a8d:: with SMTP id by13mr16464569ejc.295.1603740594143; Mon, 26 Oct 2020 12:29:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603740594; cv=none; d=google.com; s=arc-20160816; b=an7LoZx5hyJCg9/6LFv2Lr74qZp7OsyYRAPGsjjTcejarW4Jjzxtfqb444sCAl9C66 sy4eQT8GxGMD/lDVJmfu69YEjtlfAKff1aOLHvoRqL8FfmBADqauZDDgLv+YYHU/KJe7 6mXeZQ0uXS9vnfk0ct/zAZmukgKfQXYPSmvu4ztZvvzh9TDgbIIZceRXYrt1MkDPvO/D VDBmJw0+oGHCjJ3tKC6SyHhSqC3IHxCFS1S9p3NlgaYI6Jcd/dWPwmVYYhcAyiP7ht/o pK1BUMFNUv0/UPo8PJtz2DRawruvtwRXbMTAdpY1Skal8gb6hG3TGVcg6hVY+K2wyOni QViQ== 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; bh=Z85nNY2VE7mdGa1ISQecwl5oK7OgRYZrv25j6Nw6Ecc=; b=vdhexnrl4stZRUOlPSSdsFKCmSUwbbPcJ1oKLgoG0eqr/v70eV2o4TuPeCVx9HaZgm WUsdtxTzOaeFT9dTG4gG+mbW32bSNsoK43xqqDkNNKN4DA7Z3sJfh+jI4jLXlZjtxlSP dNG3Pt68zeHyTfpvdGP+P/Hw8fSouG5Q19lPVh3nKGvIQZ0AQDCx9AD+wFBD8VAcC8p6 ayJiMHqSvlyiIBpE8pbEEVOyj9SxJiIzHWAyHt72WxqBQE1hTUD3pwl2u/MLQ2EMjOjV JunvqrZ/y7yj7Cba3XvHEPW054Li6anGxI0lfXdmz7yEuWI3GPTy7VQyMd54Nhl4T83T kA6Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lt22si7711283ejb.30.2020.10.26.12.29.31; Mon, 26 Oct 2020 12:29:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1784753AbgJZQEZ (ORCPT + 99 others); Mon, 26 Oct 2020 12:04:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:49184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1784723AbgJZQD0 (ORCPT ); Mon, 26 Oct 2020 12:03:26 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 F2AFF22400; Mon, 26 Oct 2020 16:03:25 +0000 (UTC) Date: Mon, 26 Oct 2020 12:03:23 -0400 From: Steven Rostedt To: Masami Hiramatsu Cc: Alexander Gordeev , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Christian Brauner Subject: Re: [PATCH] selftests/ftrace: remove _do_fork() leftovers Message-ID: <20201026120323.14058f56@gandalf.local.home> In-Reply-To: <20201024103112.64372203e6729279e9ef92f5@kernel.org> References: <1603443123-17457-1-git-send-email-agordeev@linux.ibm.com> <20201023093523.65c495f8@gandalf.local.home> <20201024103112.64372203e6729279e9ef92f5@kernel.org> X-Mailer: Claws Mail 3.17.3 (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 Sat, 24 Oct 2020 10:31:12 +0900 Masami Hiramatsu wrote: > > Perhaps we should have: > > > > # older kernels have do_fork, but newer kernels have kernel_clone > > echo kernel_clone >> set_ftrace_filter || echo *do_fork >> set_ftrace_filter > > Good catch. BTW, can we check the filter-bility by grep the pattern from set_ftrace_filter? I think we need to use /proc/kallsyms, as the kprobe code should still work if function tracing is disabled, and the function filter files will not exist. -- Steve