From patchwork Sun Feb 25 15:21:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 206074 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1622956dyb; Sun, 25 Feb 2024 07:24:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVJeBbSuJbdB3oZm8YGbO+0bpbf6HYUVDheCUVICyG20EWMAbJW8vXI3vCo9vFTSwD3UuzVJZ0t/FYfTuoXa34XtqZ+uw== X-Google-Smtp-Source: AGHT+IG5udueLUGQqiHdESTKBcDJfkIu0DJC0pamvT+PbNzd0I2j+Q440zOV67ERtVrGXzXW3eOA X-Received: by 2002:a6b:6501:0:b0:7c7:43e0:335a with SMTP id z1-20020a6b6501000000b007c743e0335amr5405933iob.2.1708874648767; Sun, 25 Feb 2024 07:24:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708874648; cv=pass; d=google.com; s=arc-20160816; b=R2/KDdZS7J+bBOtgmn8De6EF4kGoMPRJtP8HW6p/x5eiXmybu3hWpEvJxru0tKUVuD luqLRa2zoSs8KDPp7pXQE6WR4ixjsbCTKYNSym90izYwiUwsPpc5DbculVJcaPnbwM5H E/1xHlG/FqFxgDcMz6pNZ/6DyfGfb/7sspoR/mT13KIU830hR14guJxQioV0cd4cxtW8 92cc0PjI60Y0W7D3Rmy+VXNRcKNy3U4bg6i8zdvp1jnrwcoBCL5pWv8n9rLGE7y6lTBV cF/+g/AKnwMPff56Yncs9ivrk2Wl0XP53dO+vSTTaf7ANBAU+ph181Q0DeQZnkmcn7/t 88TA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=NRt0pRDVMb2HoTOOgHKbTFmgFt039oUBjnBj47jnGM0=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=Cih0KLKhKaR9ldvGuNm8HGO11ufVCW8d0t3C02qcawx7EKB8Ehy+cA/1gJboUYrv/5 clC/b6S/uZPLwWm3biyJqNh8BOOf5+kUDCUZov1pFW+JFlhDqus06U8wNOVK/GDoXx1Y 0rZdrSOUAlYnyRmmZxTp3p/V6aOkxjz2HL5aeA5itHZo13HCLe06+Nlc2jjmeXX+rfOX xgFrOHAPkj9LDtNF+BghubdECmVvShv9ncVotWHhIq13PaoRZNqC4fo87Izl1N4vm73T 6qy75PtLFM7Ah2Z01+iwqtssxL85ZPuixgsaLAGEC8d49HToSQvPDo17cz/2qZzXDnZX 9EUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q+ySXoh7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80161-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80161-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 66-20020a630045000000b005dc846e12adsi2321565pga.655.2024.02.25.07.24.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 07:24:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80161-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q+ySXoh7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80161-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80161-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8B9D0281CAF for ; Sun, 25 Feb 2024 15:24:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CED371F93E; Sun, 25 Feb 2024 15:21:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q+ySXoh7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0064D14F90; Sun, 25 Feb 2024 15:21:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708874471; cv=none; b=jKSt1HU59bA88aurC9obX4VyAbX0dDlFGeHvRluM/WCb/sjuZ5RnayTuJkUlGwleH3LkWjXWy2JEpMDpS4Yi/ThdY0K/cjfhmifhsc4M/q5RI92mAL5bg6xcPb1L1n7gmHGcjklP8ZE6KeTzdZ8ixVZPb2iZ/DckaCYsjgfqHnc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708874471; c=relaxed/simple; bh=AhqKrJz5NqAxQZJTxzvS35/o9mTQRDXLSjKOCvX5P6o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=qXgdP45Lzg+WL3G3rRzbu6bCcKgXxp7hkWc1V3615Sn6GVh4x1ozFDDkgiqISsFw2huNbF1RZdp7YcwrSmXTN9ijXMCusQ4yCZu539pWjVA+YuFar+/U7cH8bgHDbeeNKBqZw2rHM4GLPCfBoA9r4t8D6G8maPUT3Wi7aMWvagc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q+ySXoh7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B33B2C433C7; Sun, 25 Feb 2024 15:21:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708874470; bh=AhqKrJz5NqAxQZJTxzvS35/o9mTQRDXLSjKOCvX5P6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q+ySXoh7HLvNE6hevB5iAblXR2ISEo6wUzvbtcHaXE187FKd5t4cvnVTgg4j8pX2l QZHKQ7RSc04ZaIWA/gWoIrbHQhyfe7lYEm5E1RYigkD1mZk3uouMV07fQQfqv0/0Py 3F3Al2sxZx+9gewJo0P27JXAbt432ErqaNBD4lh+3hhiThrLL7H2B6ZAHAWBpNlMIh BGXIM6lq3mhagovvdvvsvHviiQEFo+rH10ZcS00zg1pojmYV9dSMZCSjiRd0C9hWp0 zZ9ImQtXsih9NM0lfTzg6jcht7I1h+rsGCC5Sy4q1+sQLIMVrEE4iCBVEE4JN/qbmG fUb1w+jq0Levw== 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 v8 33/35] selftests: ftrace: Remove obsolate maxactive syntax check Date: Mon, 26 Feb 2024 00:21:05 +0900 Message-Id: <170887446544.564249.6300287188059065429.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170887410337.564249.6360118840946697039.stgit@devnote2> References: <170887410337.564249.6360118840946697039.stgit@devnote2> User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791884943805853494 X-GMAIL-MSGID: 1791884943805853494 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