From patchwork Wed Nov 8 14:30:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 163063 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp952055vqo; Wed, 8 Nov 2023 06:31:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmQLJ4bcOY/oaaDHpnTRCo7YrZ/PsQppCYsvSnK/u7KWFu7GFAfSs0nAdguNNW62ulhjjL X-Received: by 2002:a17:90b:1d0d:b0:27d:5946:5e2c with SMTP id on13-20020a17090b1d0d00b0027d59465e2cmr1788355pjb.12.1699453913734; Wed, 08 Nov 2023 06:31:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699453913; cv=none; d=google.com; s=arc-20160816; b=DdztER1kAeDdTMLqKl8vEI9LVZZTbOt37XZoK7lIZ1a6e7Om8aBiq6b5sbb3VMrz2J BxGClUSQNJMXp2w1yPlkyUTnbA5DhI6ReXcB+QNj7TdK6aT+6wfoCl+09Y+yVQxb5xe3 Vc+btnXVKxjT9w8RIJ4UGgwGlYAZs6WDKq1FDKM96PabXIrfLkd7G+DYYYsmXdLD02Bl UhXf0dUzEBj8FTs/8xiN7bsHt3cqWkw06izKYdx5Ozers1X1YppJz1BZNxftfhm7YelU 6+q3XdTm8JvPALdqjwKkflHL0q1ENYpjG9wUiVwP4jvasrxcNA91XWYFMRsoGwW6EOv4 /O1A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NRt0pRDVMb2HoTOOgHKbTFmgFt039oUBjnBj47jnGM0=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=SagB8ZH6J/dbJuAV48qKcqg8I6xR2vELN8+EH6rZT+SKPVvMpBXABnJrayWB0MSbJS tEwSQjnRmKg4hRQ1LJzulyYMp3HcWZfhWe9NY/uItK+kkXP3TqN3GQq68U0Ll3nEE+ho inuA8m4A7u2r9m5CU6dw4TYOoRTCCzdbnTLLlE9Nc1o8oFJKoHoxsjYYRKMebjfqUfCk 4OgtFTGIlQQGnUqJQm0HZ0/ZaSr2vbkuiJzhUFXiQ2p9n/OKH+eNH/t+j0ZTDa7/fAhm 4HbIEURWWXSmr+Bl+KCXLHncQDhsvpfD5Cc58BO8/DCiiTfqEvlpSjvVI5vj51RJngRL Nd7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AmVmAGS6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id y22-20020a17090ad71600b002631e44f48csi2290882pju.179.2023.11.08.06.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 06:31:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AmVmAGS6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 1714480C770F; Wed, 8 Nov 2023 06:31:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343761AbjKHOa5 (ORCPT + 32 others); Wed, 8 Nov 2023 09:30:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235293AbjKHOab (ORCPT ); Wed, 8 Nov 2023 09:30:31 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6709211C for ; Wed, 8 Nov 2023 06:30:14 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F93EC433C9; Wed, 8 Nov 2023 14:30:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699453814; bh=AhqKrJz5NqAxQZJTxzvS35/o9mTQRDXLSjKOCvX5P6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AmVmAGS6UPjGDDLld618eNkaJetnI3xph8H/45Ftb7Enzj4azti9eJamMamY+PC1T b6F782CsT8JsxDNHZple32ZIygwqzfNshMO5bgYvw8WgAKMieg04pGC9OuOYL+AZ+P 2Z1zV8JBPcKp8DPywUFpzmDCDh9Qsr/v/GYrTn9SKZ6+GkumlLyOwAsSPz5vrZsA8D izNLvGM0UJApAarCY1PabzlCJfpbDeRbmKBbVFfh90DHwvoBMOxA+0Vc7uTIrIYqeU aOA2P2oh6Cp+6OVG2CM83EopprXGS2+jCWNrD7Ghyr9fm26ODFHPduuKhGcgWNKpuW RjCE+rUuSqOwQ== From: "Masami Hiramatsu (Google)" To: Alexei Starovoitov , Steven Rostedt , Florent Revest Cc: linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Jiri Olsa , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Mark Rutland , Peter Zijlstra , Thomas Gleixner , Guo Ren Subject: [RFC PATCH v2 30/31] selftests: ftrace: Remove obsolate maxactive syntax check Date: Wed, 8 Nov 2023 23:30:09 +0900 Message-Id: <169945380880.55307.12670793997291033248.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <169945345785.55307.5003201137843449313.stgit@devnote2> References: <169945345785.55307.5003201137843449313.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 08 Nov 2023 06:31:21 -0800 (PST) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782006587245527059 X-GMAIL-MSGID: 1782006587245527059 From: Masami Hiramatsu (Google) Since the fprobe event does not support maxactive anymore, stop testing the maxactive syntax error checking. Signed-off-by: Masami Hiramatsu (Google) --- .../ftrace/test.d/dynevent/fprobe_syntax_errors.tc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_syntax_errors.tc b/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_syntax_errors.tc index 20e42c030095..66516073ff27 100644 --- a/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_syntax_errors.tc +++ b/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_syntax_errors.tc @@ -16,9 +16,7 @@ aarch64) REG=%r0 ;; esac -check_error 'f^100 vfs_read' # MAXACT_NO_KPROBE -check_error 'f^1a111 vfs_read' # BAD_MAXACT -check_error 'f^100000 vfs_read' # MAXACT_TOO_BIG +check_error 'f^100 vfs_read' # BAD_MAXACT check_error 'f ^non_exist_func' # BAD_PROBE_ADDR (enoent) check_error 'f ^vfs_read+10' # BAD_PROBE_ADDR