From patchwork Tue Aug 15 19:33:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaldo Carvalho de Melo X-Patchwork-Id: 135779 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp71742vqi; Wed, 16 Aug 2023 08:00:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGcJFk1X9GTSJlgHqQI4uT3/5QHpU2MQC9+ckicFFmRkAp1HE+KQIcRVtTobJGS7oXYBiG X-Received: by 2002:a17:902:eb45:b0:1bf:a41:371e with SMTP id i5-20020a170902eb4500b001bf0a41371emr27617pli.56.1692198006033; Wed, 16 Aug 2023 08:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692198006; cv=none; d=google.com; s=arc-20160816; b=sI3zf58vGkkZxCVEh4WcKcwZI/2jIdLyTiMXG8rgDnw/I3OurFFc5JJaUI4EStFo88 drhqPe8mglpts8Evwz8BJU9cCV5Eemy26bz2wk0VBuUsKAf3YBxaCnYsQ4O9Sps+tDFd 4bFKABPNrYiqQQHORqAJ5uf8p8oLy7qwlpL7S8WzWkjoZTrs8oXt7Q56Q14vSu1/+y8J J8qFxSFW94kGB79lVQoLSzULnZspYI7pQVa3pCE9fU973bRXQovAdMZSr8nwuKy9wItS JozM+ene9OHPmEY8wLJYLrHA27KmFqj070cUYApQTaHqLe3VqjAe1upYRVz4DChmNeRz pUwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=JwmEGM7SsEYLCRafX/d/w4zkiJOjHfw2KNA1QkCs0sc=; fh=yoTV63z9cMvXM+t9AB3oNx784qBHPcbwqOBMICkg2Xs=; b=iTFeW/2PPSZRV7UFEz6RV/DeAYfoRnBG0HptLNfVkQdAirN9qc8qpWqgY/owYUljc7 RY19sgsvArS/CHLobjfbCk0GgYCYBHjHxeVr1KVU6uw+JWrIZY4C+iP+nTphcvw1D6u7 1IvrVSWQR5invtf4XUuZMZ/5a1m7D6o6g8b+RhqRi/roc1FV8mz7FNfb0sA1W72mgj47 2Ub0OhIBEH66rQOThbjyooJUJfjPtR3UrPmuiWfydDL5C5cWr72QbrYIZ2YNCRvrX/uk tAS2OrTWwwJoP9bf4WPXfOMaHSjkTb4nT7pRhczorRLEVi2t2degSap1l0P0wiM0im0z IkiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WclmO+4k; 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 kb14-20020a170903338e00b001b89bfd0c2csi10992950plb.647.2023.08.16.07.59.52; Wed, 16 Aug 2023 08:00:06 -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=WclmO+4k; 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 S239871AbjHOTeD (ORCPT + 99 others); Tue, 15 Aug 2023 15:34:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239949AbjHOTdq (ORCPT ); Tue, 15 Aug 2023 15:33:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B2CA198B for ; Tue, 15 Aug 2023 12:33:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0B9B262EAA for ; Tue, 15 Aug 2023 19:33:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37DF0C433C8; Tue, 15 Aug 2023 19:33:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692128018; bh=qwY/x736kK9NLDTulQUo9rEYtvF+59bBYdBMcjqNfEs=; h=Date:From:To:Cc:Subject:From; b=WclmO+4kvxC84XG4Xb71CiQza/B07wkMDRwJ6IdzfSO8jsRY/tJAhcuaviepGNb/q cXjSFUu/xYCmeH+5JvihOFPEUOXtO7bDebYaIhVPUEPH2IdnnKmSKCdla8wwFpYxnA rU4E795nXow4Lvp9JXLeWbzfMSaWPVjtEQMayMypBjOxPphxYoZyT6FRKoyR7Ysf8/ rrkFGID96ZFZJO3krpunf9Axs+HJ3SdwOVrj4BYJQN2KAb1uRFoBlsEbRui7rL5yGR rlR/A1QHed7bFFhMbwOiHTKoN1wMRkZ0xaEf95/TypGMZq06BaomAA1fQ+FrNouhof zWnk2fHOPPUog== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E7A0C404DF; Tue, 15 Aug 2023 16:33:34 -0300 (-03) Date: Tue, 15 Aug 2023 16:33:34 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Adrian Hunter , Ian Rogers , Jiri Olsa , Linux Kernel Mailing List Subject: [PATCH 1/1] perf test trace+probe_vfs_getname.sh: Remove stray \ before / Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774398216225665003 X-GMAIL-MSGID: 1774398216225665003 Running on fedora:38 in verbose mode I noticed: # perf test -v 117 grep: warning: stray \ before / 117: Check open filename arg using perf trace + vfs_getname : Remove that \ before /. Cc: Adrian Hunter Cc: Ian Rogers Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lore.kernel.org/lkml/ Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/tests/shell/trace+probe_vfs_getname.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/shell/trace+probe_vfs_getname.sh b/tools/perf/tests/shell/trace+probe_vfs_getname.sh index db2ff141f70378c3..3697f054ce1903ac 100755 --- a/tools/perf/tests/shell/trace+probe_vfs_getname.sh +++ b/tools/perf/tests/shell/trace+probe_vfs_getname.sh @@ -20,7 +20,7 @@ skip_if_no_perf_trace || exit 2 trace_open_vfs_getname() { evts="$(echo "$(perf list syscalls:sys_enter_open* 2>/dev/null | grep -E 'open(at)? ' | sed -r 's/.*sys_enter_([a-z]+) +\[.*$/\1/')" | sed ':a;N;s:\n:,:g')" perf trace -e $evts touch $file 2>&1 | \ - grep -E " +[0-9]+\.[0-9]+ +\( +[0-9]+\.[0-9]+ ms\): +touch\/[0-9]+ open(at)?\((dfd: +CWD, +)?filename: +${file}, +flags: CREAT\|NOCTTY\|NONBLOCK\|WRONLY, +mode: +IRUGO\|IWUGO\) += +[0-9]+$" + grep -E " +[0-9]+\.[0-9]+ +\( +[0-9]+\.[0-9]+ ms\): +touch/[0-9]+ open(at)?\((dfd: +CWD, +)?filename: +${file}, +flags: CREAT\|NOCTTY\|NONBLOCK\|WRONLY, +mode: +IRUGO\|IWUGO\) += +[0-9]+$" }