From patchwork Mon Nov 27 13:59:30 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: 170170 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3141065vqx; Mon, 27 Nov 2023 06:08:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IESmRW9VtOgN5vbwERztCwXn+w5PzsvgPRjmZsV7UBaOcqo2AHaSAbvtPYrg55KbIYu48ax X-Received: by 2002:a6b:e602:0:b0:79f:d04d:ce5a with SMTP id g2-20020a6be602000000b0079fd04dce5amr8037673ioh.2.1701094092756; Mon, 27 Nov 2023 06:08:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701094092; cv=none; d=google.com; s=arc-20160816; b=jKZ7UTmZZ/xdlpdibktHDxL6beI8clQT011b8jycLGynugpMtc7NzfRSc+YNTEz9dS h6+zroGZ6aq0eXxv8bNQSGwfV2jePYtKhYEMJQV5/qXyzEIJYcPCJ21DQjpAaX3yNcJv Eb2yIVQITcD98zp43Sjo8SEWTptgLoD8Qy1myJ5b0/Z2PhoUIK9/I9NVtvlDmuk5VyPK PfeawIYrgNcVI/KmdbUs13OKo52JojOnfL6Jt2xAsXexrayzziGREDUiuKUAj+DOSS4c 11HoLutYzjzy09ArHBe4q8sEfcfhlRAYnUC+og7KcLDCg9NKHbDXRJkQw7eB04cRjUOK hriw== 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=fcwQh4MQyzU/5Y1AiV4G6W9puR2ZHEJGQx8jf5vv6fhJmA5tKUj0kT98Wsv6vZOyIx DVC4mUp+hNoj7R6aTH1Npu2PzBKONszXKMdRyYgmbXQk0a3bMMzeyNW67b4oNYM43U9A kJ8+8pUtN9DNnNT8IQeRcMNg1bxLi3f7T0TLyNYM10siKya1fHExEhEAr2vTjYjWS6Y4 nkyFh6k3LuPufZiijFy4H22n6BAU/TjKkUKHrKn2PnOV0CC0O97W4zGsu3CXtATVdrvM +xoG7cSYS2afyz68Xlgx1bXX6ccxCeHT1oHDXygHe6xty4MaJBxs1bxUAOQLbffHjmwJ GWNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NEtBN7EH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l9-20020a5e8809000000b007b3952c541esi1875948ioj.24.2023.11.27.06.08.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 06:08:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NEtBN7EH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 0D3EA8093F7B; Mon, 27 Nov 2023 06:08:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233672AbjK0OHd (ORCPT + 99 others); Mon, 27 Nov 2023 09:07:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233604AbjK0OF3 (ORCPT ); Mon, 27 Nov 2023 09:05:29 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0893E3845 for ; Mon, 27 Nov 2023 05:59:37 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F1FBC433A9; Mon, 27 Nov 2023 13:59:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701093576; bh=AhqKrJz5NqAxQZJTxzvS35/o9mTQRDXLSjKOCvX5P6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NEtBN7EHFofY5t1c/VbOBEmRjCpFOPoi3qQWSrZHG/R1MtKrdAd0i2iC9y2AIyLjR 90RV2dFfJgTjA6x7DjV1UVkrxD2f/li+GIVqCSI4dltc2gTriyxyErKV17dlNi9FOh dPkRqizNUZcBH9LNkBsIuZoFl7OU6fYLQmqusU2aLpH+c9KRPqwu04uLSNUx6khJuw 360nuMSO4nUpOhdh+4PfMoQGWfWjfzjbhUHz+h0KHNYigCnwUV6IO9OMXtGQvZ146C Ui9oBh/hxf6iEcq2kxWrnNr9SAiCgm3EqMX7JwIrVe+bktTm4WkTaEB5SGncx8Fcz3 /jHuyfLEtiE4w== 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: [PATCH v3 32/33] selftests: ftrace: Remove obsolate maxactive syntax check Date: Mon, 27 Nov 2023 22:59:30 +0900 Message-Id: <170109356964.343914.18101084627375981760.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170109317214.343914.4784420430328654397.stgit@devnote2> References: <170109317214.343914.4784420430328654397.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 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 groat.vger.email 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 (groat.vger.email [0.0.0.0]); Mon, 27 Nov 2023 06:08:07 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783726439052839620 X-GMAIL-MSGID: 1783726439052839620 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