Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4802156rdb; Fri, 15 Sep 2023 12:42:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEirQStpYlo58bAwJQGABhxvq4pXr2s+cKtiQeTz6pP8DOzbfgGZZvqK1a3q9Bzfb3Y43xy X-Received: by 2002:a17:902:c20d:b0:1bc:7a4b:5c68 with SMTP id 13-20020a170902c20d00b001bc7a4b5c68mr2451202pll.39.1694806970742; Fri, 15 Sep 2023 12:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694806970; cv=none; d=google.com; s=arc-20160816; b=zWGtv7etIzq3LFRx8ISXbxu1+YHRY1BYXTPWUfoxql/sDDkPiXO/a6egjBIf17qtzi pL1n7mplsJqXRcxBgPAaX6scfqIL/U8oaUncAkERhIk742VHgKO8T0YO7BKTcYWiZQdK Pu0sBM9VFUVW1LYjZtOaak5kvtf2qqzc/LrA4xNSPDsdul6MMxp7NsdBA3O042KuRZac gyr5Ha07jo7o+SWr+VwKfam4YQD3WFcuLt82tc0OFnFb/XIcRo5e5uPangmND6oBusyI ds9F2o8zqPIykMWj/pAbMDRqOBVESHEUdLTPCmwa58Qb6WyqpAhz0E3BsvCwOueHJ/zX aKdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:from:cc:to:content-language:user-agent :mime-version:date:message-id:dkim-signature; bh=Cfnip7ULTIi7KZXWuViwiWCrPhtMR7Auy+Rj1RxAe+s=; fh=cv1Z86zTnQIO9xBf0o3o/t0dkoiDPa3DzcXwmT2mpyU=; b=oie1IX7kjQ/edn8hVPiVOw9DjQ5E3n6baiHULsDueNjSOEuZK7EFvdYJInAj0JroQW L/Mb0U3adSh64EvFlmUeYT6rxDjt46R6pSa++eeVWUuycHUwwnNvHFfoFNi9/C64if1l 6XmbC79XF0qxlTljkzk1vbV7iMKottOb53ycXL5+wr/9xjOufVRk9lhUPh0gynY3Iv4g tMAaQ6YOVrzGw64/GSECls5wnnMmzdGmmnhwLEGC2zSuQtV++Qw5YSnSnkZTAR869xmZ ih2p3Lp3vWDjCnDfYeohxV5VC+pwjKy0qsvpSzwW/6w5/Mx7fA3FnflkNmjMUeBqHx/x 6Svg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=QaaMYMp4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q9-20020a170902dac900b001c0727658b0si4037345plx.283.2023.09.15.12.42.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 12:42:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=QaaMYMp4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 102AC8197022; Fri, 15 Sep 2023 11:38:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236518AbjIOShp (ORCPT + 99 others); Fri, 15 Sep 2023 14:37:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236577AbjIOShU (ORCPT ); Fri, 15 Sep 2023 14:37:20 -0400 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C850D1A5 for ; Fri, 15 Sep 2023 11:37:11 -0700 (PDT) Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-34e1757fe8fso2463045ab.0 for ; Fri, 15 Sep 2023 11:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1694803031; x=1695407831; darn=vger.kernel.org; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=Cfnip7ULTIi7KZXWuViwiWCrPhtMR7Auy+Rj1RxAe+s=; b=QaaMYMp4b/EkVuuitBpmfz8lw25T2b8Far8BfQpDQhbr4b1X0aOWt4tFrAGbpM+z6E ye7t9ZlNTRZCmDKs8uzlJhMLK3XhpYkAXzEWq8S0fl8odJZNNBnP/zrWKKj+AaiEo6kZ oMCZQdwCwIKJ9APJOxW6Rr1OiD+YtM40aWOUk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694803031; x=1695407831; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Cfnip7ULTIi7KZXWuViwiWCrPhtMR7Auy+Rj1RxAe+s=; b=n29G3gieX4pEVj9Xr9n4zHNDaEnh5c5SR4BVHkbQwet/E/ImnYFCZjKMQ39NqLIBVj B1ju/c1cFknxzMW9oV6OoMe6cb8Eerz46XWx9djIYlRQW+5HxQ50EEw7LtkIy2Bxr1GE tWZxQrL+kzoMfwVIIEbEXLyvlxNwGrM5ziKhcpj3Nuo3hnPptjLOHiQnTOeSvEnuY2IF pK8AOOzkCG99e4/g5p6qoC03IniwgN7L6DcNpdI3r/crVJpam6S1Mc2W8WCfixnQFi0q VMlJRl/h9WeRZUIp8qwZxtcZnMwog6l9TMNyf0DnUHHSC8Rwb8VBQGmYiM5X+UlN+Jon DfwA== X-Gm-Message-State: AOJu0YwSOTEYkBN8nTCNWOj3kv5WD0BGNsMpflqq03uqSKLHOlJoIAVq 5/1ajV12bT9WBs+EnjyEdWWTnSMe1QiS9fwOYJg= X-Received: by 2002:a92:907:0:b0:34f:2e07:685b with SMTP id y7-20020a920907000000b0034f2e07685bmr3359929ilg.0.1694803031011; Fri, 15 Sep 2023 11:37:11 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id h6-20020a926c06000000b00348c7e5e915sm1292962ilc.5.2023.09.15.11.37.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Sep 2023 11:37:10 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------QgCeCf9J1BZIBGDemSNwtt0j" Message-ID: <9e0ad8c3-4441-d054-208f-657fe4faff5e@linuxfoundation.org> Date: Fri, 15 Sep 2023 12:37:09 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: Linus Torvalds Cc: shuah , Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org From: Shuah Khan Subject: [GIT PULL] Kselftest second fixes update for Linux 6.6-rc2 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 11:38:29 -0700 (PDT) This is a multi-part message in MIME format. --------------QgCeCf9J1BZIBGDemSNwtt0j Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Linus, Please pull the following second Kselftest fixes update for Linux 6.6-rc2. This kselftest fixes update for Linux 6.6-rc2 consists of important fixes to user_events test and ftrace test. user_events test has been enabled for default run in Linux 6.6-rc1. The following fixes are for bugs found since then: - adds checks for dependencies and skips the test. user_events test requires root access, and tracefs and user_events enabled. It leaves tracefs mounted and a fix is in progress for that missing piece. - creates user_events test-specific Kconfig fragments. ftrace test fixes: - unmounts tracefs for recovering environment. Fix identified during the above mentioned user_events dependencies fix. - adds softlink to latest log directory improving usage. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d: Linux 6.6-rc1 (2023-09-10 16:28:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-fixes-6.6-rc2 for you to fetch changes up to 7e021da80f48582171029714f8a487347f29dddb: selftests: tracing: Fix to unmount tracefs for recovering environment (2023-09-12 09:34:20 -0600) ---------------------------------------------------------------- linux-kselftest-fixes-6.6-rc2 This kselftest fixes update for Linux 6.6-rc2 consists of important fixes to user_events test and ftrace test. user_events test has been enabled for default run in Linux 6.6-rc1. The following fixes are for bugs found since then: - adds checks for dependencies and skips the test. user_events test requires root access, and tracefs and user_events enabled. It leaves tracefs mounted and a fix is in progress for that missing piece. - creates user_events test-specific Kconfig fragments. ftrace test fixes: - unmounts tracefs for recovering environment. Fix identified during the above mentioned user_events dependencies fix. - adds softlink to latest log directory improving usage. ---------------------------------------------------------------- Beau Belgrave (1): selftests/user_events: Fix failures when user_events is not installed Masami Hiramatsu (Google) (1): selftests: tracing: Fix to unmount tracefs for recovering environment Naresh Kamboju (1): selftests: user_events: create test-specific Kconfig fragments Steven Rostedt (Google) (1): ftrace/selftests: Add softlink to latest log directory tools/testing/selftests/ftrace/ftracetest | 18 +++- tools/testing/selftests/user_events/abi_test.c | 3 + tools/testing/selftests/user_events/config | 1 + tools/testing/selftests/user_events/dyn_test.c | 2 + tools/testing/selftests/user_events/ftrace_test.c | 3 + tools/testing/selftests/user_events/perf_test.c | 3 + .../selftests/user_events/user_events_selftests.h | 100 +++++++++++++++++++++ 7 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/user_events/config create mode 100644 tools/testing/selftests/user_events/user_events_selftests.h ---------------------------------------------------------------- --------------QgCeCf9J1BZIBGDemSNwtt0j Content-Type: text/x-patch; charset=UTF-8; name="linux-kselftest-fixes-6.6-rc2.diff" Content-Disposition: attachment; filename="linux-kselftest-fixes-6.6-rc2.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3Rvb2xzL3Rlc3Rpbmcvc2VsZnRlc3RzL2Z0cmFjZS9mdHJhY2V0ZXN0 IGIvdG9vbHMvdGVzdGluZy9zZWxmdGVzdHMvZnRyYWNlL2Z0cmFjZXRlc3QKaW5kZXggY2I1 ZjE4YzA2NTkzLi5jNzc4ZDRkY2MxN2UgMTAwNzU1Ci0tLSBhL3Rvb2xzL3Rlc3Rpbmcvc2Vs ZnRlc3RzL2Z0cmFjZS9mdHJhY2V0ZXN0CisrKyBiL3Rvb2xzL3Rlc3Rpbmcvc2VsZnRlc3Rz L2Z0cmFjZS9mdHJhY2V0ZXN0CkBAIC0zMSw2ICszMSw5IEBAIGVycl9yZXQ9MQogIyBrc2Vs ZnRlc3Qgc2tpcCBjb2RlIGlzIDQKIGVycl9za2lwPTQKIAorIyB1bW91bnQgcmVxdWlyZWQK K1VNT1VOVF9ESVI9IiIKKwogIyBjZ3JvdXAgUlQgc2NoZWR1bGluZyBwcmV2ZW50cyBjaHJ0 IGNvbW1hbmRzIGZyb20gc3VjY2VlZGluZywgd2hpY2gKICMgaW5kdWNlcyBmYWlsd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