Message ID | 20230313211746.1541525-2-zwisler@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1422197wrd; Mon, 13 Mar 2023 14:43:01 -0700 (PDT) X-Google-Smtp-Source: AK7set8UdhcTiHfkapcRxNcu8dLRzTgfuQ5h54yeqKWlUVfCddpAQGRlP5M9grB/b/MO/hf1w9j+ X-Received: by 2002:a05:6a20:a00e:b0:cd:363d:b27e with SMTP id p14-20020a056a20a00e00b000cd363db27emr31060121pzj.40.1678743781231; Mon, 13 Mar 2023 14:43:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678743781; cv=none; d=google.com; s=arc-20160816; b=MEDA+K1hx26r/QMOIuqUrhMQ6/IiJqn6oNCVW3vn0v4K7iH02bpR/otbGAE69t0ct8 hjVOtjSwLSiAmsuT/A0wzsulMeym6eDx4TKhW4GMIFXaD98izXDzusCbQsu+hpwR2Dm0 eBRHMWGXlp5EPqW3D4X2fm4OZnIhE4lLCErCXojGr6t/MPcv1v/C+mwPnpDz3orxRqk4 Yr9li5pMWdj8lHDNy4LV3YYImQ2rL6lqIkacx/QV6evCAVsx8KjqqgfDDtuDcFf1uKYc 4W6AMpKuzBa/ury7PsWoaeX9DzL8Sob4ip2FPpVnVwc8GRjhPVAS4I5tgQKFOgdsySbW l2FA== 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:date:subject:cc:to:from :dkim-signature; bh=vwUcU8/w0McUaAExgUNFAqrB/Ky8ITOwgZqQ9KKNgN8=; b=v1yRVHjofg6UZADxmjJkeUA+NfEprpE8+cntHcKeeiRVIYw+NkP0DhHJk+bPtkv3lD vRklVeNib7AdNxJMNr29t4l7i3VMvEdD1HQiX8aBV5fagcCkxawrYeNwq9OjyE7gRk1k j93YcvBReyBbAjqJv9j7BZOVAho9PifOv5Go3lfR/iwnSwc/ujqvr5+kkNB38gU4Dsbk 3n/hjoNbj/PAaC9+53gAIhropkQaCo7Igfc12VNeFmFJwqp6yVxIJqGv3o+I+WowXccB 1OAEL7C8/M989sPc4fs5EIRoJo25G/ip48XNU6ycLtpBvsm56XGD+ML1Sy+UOAHowcl3 WUHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sYWYaC5b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d3-20020a630e03000000b004fac433dbcdsi503383pgl.134.2023.03.13.14.42.46; Mon, 13 Mar 2023 14:43:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sYWYaC5b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230018AbjCMVSo (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Mon, 13 Mar 2023 17:18:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229748AbjCMVSh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Mar 2023 17:18:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1623925BB7; Mon, 13 Mar 2023 14:18:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5FA5D6150D; Mon, 13 Mar 2023 21:18:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE125C433D2; Mon, 13 Mar 2023 21:18:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678742296; bh=q17gWNDEER7JFUSGy9HVW9DTdpWFf2LCktZduqnianY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sYWYaC5bJg15qkd5Wy1envpuTqaOAMqPXhrK+ra5OePk7jrNF8Gs0W7JdLpjKn/jH ZikIXg6VFeiSYDGyPtekMZlE6T8pVNLPgBQSRlzmLFP3ihzgZt9bY+MmUIjJD70EX/ cMfSMW6W9QacnsivpuypswFUIslyS2opfmuIjce9lrebqjmm4VPBeZPzOORTUGyswP oRG2aHJS9Kk667ds2itHFeH8MvGghQSO2p9j7GLRp+YmAoczxVfhBFyPEj1pjUQthI qLaT90azdUVwHozj+RFPzxsGI9SCXuAIN+S3VAjCxnEYaXJxi8nMsvibR/9Tuwwn9N 1C4EraE9FLatg== From: Ross Zwisler <zwisler@kernel.org> To: linux-kernel@vger.kernel.org Cc: Ross Zwisler <zwisler@google.com>, "Tobin C. Harding" <me@tobin.cc>, Andrew Morton <akpm@linux-foundation.org>, Mark Rutland <mark.rutland@arm.com>, Masami Hiramatsu <mhiramat@kernel.org>, Paolo Bonzini <pbonzini@redhat.com>, Shuah Khan <shuah@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Tycho Andersen <tycho@tycho.pizza>, kvm@vger.kernel.org, linux-hardening@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org Subject: [PATCH v4 2/3] leaking_addresses: also skip canonical ftrace path Date: Mon, 13 Mar 2023 15:17:44 -0600 Message-Id: <20230313211746.1541525-2-zwisler@kernel.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230313211746.1541525-1-zwisler@kernel.org> References: <20230313211746.1541525-1-zwisler@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760290438820124132?= X-GMAIL-MSGID: =?utf-8?q?1760290438820124132?= |
Series |
[v4,1/3] selftests: use canonical ftrace path
|
|
Commit Message
Ross Zwisler
March 13, 2023, 9:17 p.m. UTC
From: Ross Zwisler <zwisler@google.com> The canonical location for the tracefs filesystem is at /sys/kernel/tracing. But, from Documentation/trace/ftrace.rst: Before 4.1, all ftrace tracing control files were within the debugfs file system, which is typically located at /sys/kernel/debug/tracing. For backward compatibility, when mounting the debugfs file system, the tracefs file system will be automatically mounted at: /sys/kernel/debug/tracing scripts/leaking_addresses.pl only skipped this older debugfs path, so let's add the canonical path as well. Acked-by: Tycho Andersen <tycho@tycho.pizza> Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Ross Zwisler <zwisler@google.com> --- scripts/leaking_addresses.pl | 1 + 1 file changed, 1 insertion(+)
diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl index 8f636a23bc3f..e695634d153d 100755 --- a/scripts/leaking_addresses.pl +++ b/scripts/leaking_addresses.pl @@ -61,6 +61,7 @@ my @skip_abs = ( '/proc/device-tree', '/proc/1/syscall', '/sys/firmware/devicetree', + '/sys/kernel/tracing/trace_pipe', '/sys/kernel/debug/tracing/trace_pipe', '/sys/kernel/security/apparmor/revision');