From patchwork Thu Feb 17 10:38:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1594121 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=DWGE7wNt; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JzrsZ6QC8z9sCD for ; Thu, 17 Feb 2022 21:38:58 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nKeBZ-0002PK-Hw; Thu, 17 Feb 2022 10:38:53 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nKeBX-0002Ow-HS for kernel-team@lists.ubuntu.com; Thu, 17 Feb 2022 10:38:51 +0000 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 03DE43F4BA for ; Thu, 17 Feb 2022 10:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1645094331; bh=2efXFWFWf4bwKbAuK8ho6w7EpuqPScr6K2RHIXoKjpY=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=DWGE7wNttnUEyw56hea/xW6EVVKPYScygmImpCnqz7mB8C43z2q6HpGsjVttW722d 1LSx8VIL/4+oQn7koNWh7Eln4NCjHN8oUYOMKW28NJZDcl9Ssa41+6uwX79OHeN2rs eK2Au0A6Qv0YIP1Tegsn9rqdLLgQkrVwuBsTD0IazgM5xK3Nd7peQDO7O+hulYd/8L sXF+d0otw3n2xwPKAejjCwjdk8/mHaI8JoYbzXr0MmFptYioL4qIsORGRZLf6yK4wF hxXoNZGE9gpKvfTIfQn56OuE6RMLqz0dXvHyngywIatjK8X8umMhcIFhJrZjIr7MLv daY8HHbI0zCDQ== Received: by mail-ed1-f71.google.com with SMTP id j10-20020a05640211ca00b004090fd8a936so3246208edw.23 for ; Thu, 17 Feb 2022 02:38:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=2efXFWFWf4bwKbAuK8ho6w7EpuqPScr6K2RHIXoKjpY=; b=Dk5Apv99BpvTn7sCt11yRwxHuwwtOw7yBgSeBjABtG+8kiybbW0sZrDjZ8wZCjCRUg ILqTLBUGai+aoCj8eu9dYqopC0044JWytFsAiwysmufEW2ayZiAm2+g24MBLeq2SgfIT wj5TPI9ImyZX0dPy8LYnUKQMq6LYmkWCdBIezuaa9cCwNscHOuwTsysf3vJwvAaVoI0p 5mhyEwelyfLClNo0NSpc9Hiholet99HZ8yzLE/MOSL0PMSSWxqYZsFNH6hop0q8TZHnD nYHpTYC3SoCuTrI3mXpsTevmdIRO0Yqq+dWOoF2nvKspf9Zr1pVNJRyzDJIuWY5Uq4mm JXVw== X-Gm-Message-State: AOAM532i7Ee53GFyNwhd44p9pliUtd6AUQxxpQ1us2uVN+3m3fJandOH zMw4KIAmUlfVXuUgfCMJ5Y1amF8OgNMPyRFUp7VKF8mlz84l49dc7zyTSzpL8lU/EgYnvLx0YMc EJWzvqRJlYZ32/PI6i77zNrI/y6Vfgiz6vQz6X5/g7g== X-Received: by 2002:a17:907:3c03:b0:6cf:65ec:5f28 with SMTP id gh3-20020a1709073c0300b006cf65ec5f28mr1772026ejc.324.1645094330462; Thu, 17 Feb 2022 02:38:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUMwoIsMx5Bwt/dkOBJ20zzmsAzhEXRNcb9fvHAq0aPJqrCdsHZ3qy9oR/9B2lMWlqHfzqKQ== X-Received: by 2002:a17:907:3c03:b0:6cf:65ec:5f28 with SMTP id gh3-20020a1709073c0300b006cf65ec5f28mr1772019ejc.324.1645094330198; Thu, 17 Feb 2022 02:38:50 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id z7sm1058154ejl.98.2022.02.17.02.38.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 02:38:49 -0800 (PST) From: Krzysztof Kozlowski To: kernel-team@lists.ubuntu.com Subject: [J][PATCH] selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT Date: Thu, 17 Feb 2022 11:38:44 +0100 Message-Id: <20220217103844.21467-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1959610 The PREEMPT_RT patchset does not use do_softirq() function thus trying to filter for do_softirq fails for such kernel: echo do_softirq ftracetest: 81: echo: echo: I/O error Choose some other visible function for the test. The function does not have to be actually executed during the test, because it is only testing filter API interface. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Shuah Khan Acked-by: Sebastian Andrzej Siewior Reviewed-by: Steven Rostedt (Google) Signed-off-by: Shuah Khan (cherry picked from commit 6fec1ab67f8d60704cc7de64abcfd389ab131542 linux-next) Signed-off-by: Krzysztof Kozlowski Acked-by: Tim Gardner Acked-by: Joseph Salisbury --- .../selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc b/tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc index e96e279e0533..25432b8cd5bd 100644 --- a/tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc +++ b/tools/testing/selftests/ftrace/test.d/ftrace/func_set_ftrace_file.tc @@ -19,7 +19,7 @@ fail() { # mesg FILTER=set_ftrace_filter FUNC1="schedule" -FUNC2="do_softirq" +FUNC2="scheduler_tick" ALL_FUNCS="#### all functions enabled ####"