Message ID | 20230313211746.1541525-3-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 v21csp1417075wrd; Mon, 13 Mar 2023 14:30:09 -0700 (PDT) X-Google-Smtp-Source: AK7set+nZjnB+SXhfOSZ6uYPLnwioZA4++toQlX8XCc5szXVoBRrgqtYOKB5uGSexlvA9nAUEZ5n X-Received: by 2002:a17:90b:3885:b0:234:409:9754 with SMTP id mu5-20020a17090b388500b0023404099754mr35266381pjb.45.1678743009269; Mon, 13 Mar 2023 14:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678743009; cv=none; d=google.com; s=arc-20160816; b=yH5ZusI7ncBRh/PFngjAHF8osJJyrhKJYL+floLayDvCif/L0MtS0SO98gWqMbDU0v MhqTIQdD8zB46IyKRxkeMBBX9akoMfeQw6jP6aqSQI0UsFoGKWsZUHDRTUrox5A+EJAu 2YZ6KslghMkqkRSe74/Qn0523nPLuu76ytoDZeLvXpIBVDl5/ffribT0q9e4L6EPt6m+ 1OHmHChwecwrFA0Rk+AK2LtmZsbaI5JbqQRSVSNOg+HC0aytGTEodUL/vblyJiuvqvld dTHbTO9Svokvtx2UMAgdshJm6jQAr5PnKM9WJqkMOMLdPa9oECbY5UOiIWREVyaMFEm4 YGOQ== 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=3/+2ojixyhhWhLcY9z5q+bsIvJbvQKmx2RzvDPafldg=; b=08uI9lN7p+E4+68zCOMKsNLvrP2tkxnWV/genCCdGoaRx+y2MjW4LsNNzmCmIB4RU5 7gRaceTGfCHAkwouVzDgmfsY41IL5/a14uLUM8Z9f4aI/axexFwgwzq4vU0L135a3i85 ybY1LClRG5jmeEpxztmM4nbFLlTBCo9EFOTb+q1MBzTajAw+fSvm/hS27FvTuAHP7/2L ACsEZeEEEQesBiBMu2O34TnfSnerP/h5S+ILSh6dOAttXzSlxWsqPID/v74xfVam23vt dZEZKqwVvVxUA49TGkinPf0Isv2Gvw/ws10iKB+AHbocGRTcGvq3ggEoSJEP3Cgz3Zr3 iQjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nCpgKbak; 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 oj5-20020a17090b4d8500b0023673d582c1si681371pjb.93.2023.03.13.14.29.54; Mon, 13 Mar 2023 14:30:09 -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=nCpgKbak; 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 S229999AbjCMVSw (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Mon, 13 Mar 2023 17:18:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229807AbjCMVSi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Mar 2023 17:18:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01A0862FCE; Mon, 13 Mar 2023 14:18:18 -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 917C661518; Mon, 13 Mar 2023 21:18:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00DA5C433A1; Mon, 13 Mar 2023 21:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678742298; bh=VoI18tD8o9ZMnsU9Cf6DTDg2Lm9gO1Nul+/I2tAuayk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nCpgKbakOtkAns5toIg+NwkKvMGL+DU/SdMEBmWUkakSH/dMzXWwA7SDfX6clXZMK gU/KyHhzhT0gDFeK9iucWz0e0IglHGtW32DmLtNqGHBiTDDudMb+/45zNVlOeIuvZl Bo/12sLk3dj/tcHxQxjKCDttyWYQMzQznpLph3UWOcNhoURoNwuMtKVnnRoeaqNdoy a5hf43SlvKT+tDcTLnSz57prfqT8Xjaf9pAmoouN8QsUhIHZrP7PTlSvqcoOY6P2ez N3MOxbOKHntJ5z8gd4RjLpB+XMzx8H03MC+sPhcjiLTOUWadx1pk4yzLPHiUpm7qts YK1pPGfXI5wag== 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, Mukesh Ojha <quic_mojha@quicinc.com> Subject: [PATCH v4 3/3] tools/kvm_stat: use canonical ftrace path Date: Mon, 13 Mar 2023 15:17:45 -0600 Message-Id: <20230313211746.1541525-3-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?1760289629322781733?= X-GMAIL-MSGID: =?utf-8?q?1760289629322781733?= |
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 A comment in kvm_stat still refers to this older debugfs path, so let's update it to avoid confusion. Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org> Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com> Signed-off-by: Ross Zwisler <zwisler@google.com> --- tools/kvm/kvm_stat/kvm_stat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat index 6f28180ffeea..15bf00e79e3f 100755 --- a/tools/kvm/kvm_stat/kvm_stat +++ b/tools/kvm/kvm_stat/kvm_stat @@ -627,7 +627,7 @@ class TracepointProvider(Provider): name)'. All available events have directories under - /sys/kernel/debug/tracing/events/ which export information + /sys/kernel/tracing/events/ which export information about the specific event. Therefore, listing the dirs gives us a list of all available events.