Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp376921rwi; Mon, 10 Oct 2022 01:25:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7pmxA0AGhTwMVAD+Aj2CK+ET/n9PjsrtJSwSAsq9o3c+7bhmtdGRGSknKlM9GQpUEU1N6x X-Received: by 2002:a17:906:6086:b0:731:3970:48d0 with SMTP id t6-20020a170906608600b00731397048d0mr14066955ejj.16.1665390358330; Mon, 10 Oct 2022 01:25:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665390358; cv=none; d=google.com; s=arc-20160816; b=toSPwbaQ+UmKrzIurfeZaibpSXAtQNSFlxC/3Jcf/MTdqqGooGSr8R7IaMWmkn8sAt aUReFT0EfXKCEmcE9Rd3bC4zSnidiDU34ivE7KRk4pJ3XajeLzmSpzpgvl6/JYX5SobN yWydKJjHNNpX46jr6OnojMzh8MgXrx3lkYhEz46T9tzda5pMOAsiALwt5SAXuPlQ/+dO /an218frg0yTNum6Sgyfd/P693jQwbQdXaqboDgrRhyuKkHA5AyjJErrmIjMTJt1+yPq snHKurpC9LxsB8l0wPsPHzxUBgqf/oAbeXuRMDdJBVfkS9+W2kkrdjkqnHSkDoVVjMFh yBLw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=WZJLxqFZr+MA2Fz6U94ccRHiBeEpCap7k+nDgcGm9Bk=; b=jNMIHgZpuyjRfp2XL7ll3y99SEguqs32TJR3lz5/kaU14oYP98Y9YMtdGDYSPHXqil bdgOG7crUs6KbYM1c+c5KKCPo8pF0vPhMaCU62+ara4AfAr/jer2iXS241OpxfORWzeI 2C2h3feotfEnQer+9wfIU/+KXgpUjCBnSxiT7sC3aYxvv/tRzASEB9Cqgjn5TZ8u0Ia3 oC4rj0pGQRHoAXcE/cHfDrkM1QIGLfGvCkwhioIp8jaS2YwuQDm/rmOVkBOu45x2O+yo rWIYXt3b/K5EHPwtNDJIRMilkEpLJ5KeF5OOs98GgwfJ05tmAkvxee9HBpcaSUvqQ2pH YIJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=A3JFEl2G; 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=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a508747000000b0044615ee1b6fsi9573644edv.218.2022.10.10.01.25.33; Mon, 10 Oct 2022 01:25:58 -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=@ibm.com header.s=pp1 header.b=A3JFEl2G; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbiJJHqP (ORCPT + 99 others); Mon, 10 Oct 2022 03:46:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232530AbiJJHpv (ORCPT ); Mon, 10 Oct 2022 03:45:51 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 008B1688B9; Mon, 10 Oct 2022 00:42:27 -0700 (PDT) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29A76mQQ024581; Mon, 10 Oct 2022 07:42:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=WZJLxqFZr+MA2Fz6U94ccRHiBeEpCap7k+nDgcGm9Bk=; b=A3JFEl2Gou20YV/pVo+IfUZgNUbQ7oy3BgIjq16HGJ402nFETU/q1vANfz9UgVxB8pL7 GBfPwf2GsXpdgNLt/LdvBL6VYRhgIOLcrQZH0vnqP58puOxt31qEAMAup84BS+U5OJzk AuLsM3s0KlikPB2V9v6awlTnBtfzpbs7tJrwkFv/Jb5ia2GjNnYFOzDRuj5hUdrtmM0+ hVmX+jilHCT9HruYlFqeoAyqE/q4CGLZUT8sufG0QKWyZWmo1yhKrXGSSZGW6rzsdXgX I3WsJoKfK+VlNVhqELrBQ7z109MW9q9kjLU3DXq8nlNzE1TjRjv4J4YUYkn3o3nGuZhV uQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3k3ju6v5mk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Oct 2022 07:42:22 +0000 Received: from m0098419.ppops.net (m0098419.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29A7eCnP026104; Mon, 10 Oct 2022 07:42:22 GMT Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3k3ju6v5kr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Oct 2022 07:42:21 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29A7aeb1020810; Mon, 10 Oct 2022 07:42:20 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma04fra.de.ibm.com with ESMTP id 3k30u99s7v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Oct 2022 07:42:20 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29A7gH1O5440036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Oct 2022 07:42:17 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A94F54C044; Mon, 10 Oct 2022 07:42:17 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 969644C046; Mon, 10 Oct 2022 07:42:17 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 10 Oct 2022 07:42:17 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55390) id 56842E0656; Mon, 10 Oct 2022 09:42:17 +0200 (CEST) From: Sven Schnelle To: Steven Rostedt Cc: Ingo Molnar , Shuah Khan , "Masami Hiramatsu (Google)" , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] selftests/ftrace: fix dynamic_events dependency check Date: Mon, 10 Oct 2022 09:42:07 +0200 Message-Id: <20221010074207.714077-1-svens@linux.ibm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: vqu3xxQE_CQ3gvuZGpgxb2GXfxBd7qHn X-Proofpoint-ORIG-GUID: gBTl0QXXMw4czEUT4-9l8KSHx4h2B2F5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-07_04,2022-10-07_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 priorityscore=1501 clxscore=1011 mlxscore=0 suspectscore=0 malwarescore=0 impostorscore=0 mlxlogscore=998 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210100045 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,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 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 group of events") Signed-off-by: Sven Schnelle --- .../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_duplicates.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 caught -# 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/trigger-synthetic-eprobe.tc b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-eprobe.tc index 914fe2e5d030..6461c375694f 100644 --- a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-eprobe.tc +++ b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-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_openat/hist "e[:[/]] . []":README +# requires: dynamic_events synthetic_events events/syscalls/sys_enter_openat/hist "e[:[/][]] . []":README echo 0 > events/enable -- 2.34.1