Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3610725rwi; Wed, 12 Oct 2022 04:40:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7+8eusayGCygvnaHbxGawKLlsUVYUnY0d7OBTdFO5ZsdfQez2dfcJgIh8008Luqx52J9yE X-Received: by 2002:a17:902:ec89:b0:178:3ea4:2960 with SMTP id x9-20020a170902ec8900b001783ea42960mr29561303plg.160.1665574825226; Wed, 12 Oct 2022 04:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665574825; cv=none; d=google.com; s=arc-20160816; b=yW5Vwqar9/WgDXhGisn+dd8A3Gmd0siTeKO9Z9vdvPagARtsM17+nSRu1zKX4oPc1N JKXRYZDIXLwyJQ98vImMUGQ7JqQJq5BPG2Q7Vaf4gmDHjNVPHkxslV/4fm7eiVMY8I9o kthDoFQFrObuyXv2Rb2Jq/YGBiRcqLmJE6UDRZHBoxnB8WGe5sZVU2IDJSJS/cz9w+/k 8YhVBUq6mcKGZ9W99ArEm79vy2z8rBYHWDAGLnJDo10AXLRokZy5EMONDfNAyrRW4vDg CeMLa0t5T7QleFpALBiX8CKNLbhx9i0WQNCNw7B9HNIsmHETg19J5BvfbDd0xP1dEHhN +aOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=yfmxjn/LZkgnLjis62IDg/akcgQ4TS7vGQhjsSjGmP8=; b=cjMpeLRbkmLetcJ2wqw2+w3vy9fSlq8I22+CluN5WaFaYy80iJ6nKPl3OG+0sJ/cRQ C2PKRyUgk2kwIeASq+CJpeFxOC50lQZlFN0OHqFV3SZiHMiYQPhRB7DRDrFehFbCRiI0 9Jh0ObolCklA+F5iM8cd+LcB19eWlo1oJ9l6qq1BzyFpoY2xC5QUgubvQPfpP/RT5oT8 s3Eomowqm5hvSmLDOkLZDtxIy6OBk8NI3nsPZLzXc6Q24ZA/L2ZKXJ+V67XDMLbhhrRb BzeZ/+JN4TrNGgNxGXhE8UsoN5p2dXHXNRYjv3a1IPp9ace2a4Ddtau7FMz0nn/yJi8l fG8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Vk5Ep31Y; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oo3-20020a17090b1c8300b0020087bc6415si2123912pjb.16.2022.10.12.04.40.07; Wed, 12 Oct 2022 04:40:25 -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=@gmail.com header.s=20210112 header.b=Vk5Ep31Y; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229594AbiJLLV3 (ORCPT + 99 others); Wed, 12 Oct 2022 07:21:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbiJLLV0 (ORCPT ); Wed, 12 Oct 2022 07:21:26 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE675C1DA9; Wed, 12 Oct 2022 04:21:23 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id pq16so15020279pjb.2; Wed, 12 Oct 2022 04:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yfmxjn/LZkgnLjis62IDg/akcgQ4TS7vGQhjsSjGmP8=; b=Vk5Ep31Y1I+ZHXfXE0RqMVDcHrFvikzjCmT9qCNvpbPJ/HO0Ai95f6bzJ/51gSKVUO CEknAU9eM6Wbn6byJTZ2N2bv84tsoCJL0IK2eN1h24N97Ie5US4USt/GGakEAO2pEn+R Tkm/j0GsLprV2YZkG3jiSJw/YvCn35MoMeN81Vz3RcPJzCVvjzQBtEvaxetLQlzljSJS TfYA7XMbrGipRRaF+YS2sxVhJSRM1ESRZf6LwZvgXXcTRI/mGtvH//TaA9TXhgiQ9aQZ BqRHkvCjPTDu6z/qboMaexZuXmqwsF4CmkfiuLyf1gkIy4rQHtEI3rzK5pbYUXCaDu3Q v4/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yfmxjn/LZkgnLjis62IDg/akcgQ4TS7vGQhjsSjGmP8=; b=wdHTkUbEslIAOLeag/itGUJ85u15X1Ti0gmSEvol5A+UgbsO0gTCM2eSQtSs7zUi7M rzE512XCnpHn6K22cVWoL7oAWyQRqditIQ4NOZsRA+4nttAA8YB5GWqPA0Cp1VH3PO6o AdK6ZpgvUbe1X3hlEuK9e28tJYtbh/QV5X0BZE+xUPF6ChG7Vbg0y40myQYJS8sToXXy ya17sWtwCRbgryzM7IceAZ5UXijwaalNWyRJNtW3Af2A4gk6P/y8QT9FnUE6gI7IQ2cS vUBcftDhZIB7zbq35qsmEqKKJE56syW7KvvICKfZBN2n5D7AtkblfLjlfavRj9ix9oMX qoXw== X-Gm-Message-State: ACrzQf0vM3ZNZFujhgPqdDkrD1uEqOLm9kzjkqHIvdg6q4aKqirVuK/6 dKBRWHBohvAIlCmreb7cHXRntduda1dl0JvNpGshExYBZ+s= X-Received: by 2002:a17:903:120e:b0:179:fe49:a952 with SMTP id l14-20020a170903120e00b00179fe49a952mr29396866plh.21.1665573683310; Wed, 12 Oct 2022 04:21:23 -0700 (PDT) MIME-Version: 1.0 References: <20221010074207.714077-1-svens@linux.ibm.com> In-Reply-To: <20221010074207.714077-1-svens@linux.ibm.com> From: Masami Hiramatsu Date: Wed, 12 Oct 2022 12:21:11 +0100 Message-ID: Subject: Re: [PATCH] selftests/ftrace: fix dynamic_events dependency check To: Sven Schnelle Cc: Steven Rostedt , Ingo Molnar , Shuah Khan , "Masami Hiramatsu (Google)" , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hi Sven, 2022=E5=B9=B410=E6=9C=8810=E6=97=A5(=E6=9C=88) 8:42 Sven Schnelle : > > commit 95c104c378dc ("tracing: Auto generate event name when creating a > group of events") changed the syntax in the ftrace README file which is > used by the selftests to check what features are support. Adjust the > string to make test_duplicates.tc and trigger-synthetic-eprobe.tc work > again. > > Fixes: 95c104c378dc ("tracing: Auto generate event name when creating a g= roup of events") > Signed-off-by: Sven Schnelle Thanks for fixing it! Acked-by: Masami Hiramatsu (Google) > --- > .../testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc | 2 +- > .../test.d/trigger/inter-event/trigger-synthetic-eprobe.tc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/testing/selftests/ftrace/test.d/dynevent/test_duplicat= es.tc b/tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc > index db522577ff78..d3a79da215c8 100644 > --- a/tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc > +++ b/tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc > @@ -1,7 +1,7 @@ > #!/bin/sh > # SPDX-License-Identifier: GPL-2.0 > # description: Generic dynamic event - check if duplicate events are cau= ght > -# requires: dynamic_events "e[:[/]] . []":README > +# requires: dynamic_events "e[:[/][]] . []":README > > echo 0 > events/enable > > diff --git a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/tr= igger-synthetic-eprobe.tc b/tools/testing/selftests/ftrace/test.d/trigger/i= nter-event/trigger-synthetic-eprobe.tc > index 914fe2e5d030..6461c375694f 100644 > --- a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-s= ynthetic-eprobe.tc > +++ b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-s= ynthetic-eprobe.tc > @@ -1,7 +1,7 @@ > #!/bin/sh > # SPDX-License-Identifier: GPL-2.0 > # description: event trigger - test inter-event histogram trigger eprobe= on synthetic event > -# requires: dynamic_events synthetic_events events/syscalls/sys_enter_op= enat/hist "e[:[/]] . []= ":README > +# requires: dynamic_events synthetic_events events/syscalls/sys_enter_op= enat/hist "e[:[/][]] . []":README > > echo 0 > events/enable > > -- > 2.34.1 > --=20 Masami Hiramatsu mailto:masami.hiramatsu@gmail.com