Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4307903rdb; Mon, 11 Dec 2023 15:38:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IH37MMmehFporNY/3AulIrviCMX6WkPEP6FZUPLPO8W441eiJP4x5HrN3VI9oJVly2JNfVd X-Received: by 2002:a05:6871:292:b0:1fb:75c:4007 with SMTP id i18-20020a056871029200b001fb075c4007mr6375584oae.103.1702337922127; Mon, 11 Dec 2023 15:38:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702337922; cv=none; d=google.com; s=arc-20160816; b=Dv/ZryazbVFFTKEOIGEZxSbTwPdLAGQPN80SfnZw87ZSW2Oo31RBwZQXrKt93Ei+U6 J5JDZw/tQG5n59+81+D1XVcWvXUs+dSsF60t16yWBhrpkgNJE0hJlGcvNQSoS5GkePP8 M09HkKtzgE5YcTG5wbNbm3aXH+kVfAhpn+x6KmFhbTnfT1PcP13OKjkPmd7IvBT997BJ 6CjXDHGi/dF9XRFXsVkZlX9hzSNM97AjZnO3+S9UrZOwZ7fM5ktt6GLAKfHCMpGyIsVc xAGT+6BSNsUzcI+CJ7zR3uzArGmoaf4o/0Qp3ijHgBDi0wIxSH/J6sX5ZLs/xGZT/+Pg EkUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=t86WZt4ENI/hv5N6g/BMDwtkCseB1St9FbZ8iMLj7J0=; fh=G8LpRUEj/CNC/tdUqJhJQ8TvkwdRKX07kT9vfjglBjM=; b=hL5JqraPnq2EH3zm4OEZPQQFn9baluIbPGO/gv2Hrc754lKz1CJjrT4olMPaVciVwj cqTvtGR2s4k0BEhScsR/xakPxuYb3hPtaVlOt1jRRKsvkulWwQs3MJIvS0FIHWnW3ZYy WPl7x3doJPbBAKmhmOivszrF9uJpnPxjHCT1a5iYtIDOYz+dkr6Y/NBoqzJnqAn4lbBT Iy24ujFH3j8AMxbmXiIqCSmquiWKYmQeVApAWZqed8bcilUZzXau7cO0DxAOTbeeBYWi TgzzKL4nyaTUcYbJRAMGTlSHGXvtycUvan6NTh4az0bF3bwZS0YEgM5r8skj7m5K5UeX 0XAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="g5YuCn/y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u2-20020a63df02000000b005c661efffcbsi6605857pgg.78.2023.12.11.15.38.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 15:38:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="g5YuCn/y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 78CC9809A7A8; Mon, 11 Dec 2023 15:38:39 -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 S1345231AbjLKXhi (ORCPT + 99 others); Mon, 11 Dec 2023 18:37:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbjLKXhh (ORCPT ); Mon, 11 Dec 2023 18:37:37 -0500 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F1EFCB; Mon, 11 Dec 2023 15:37:43 -0800 (PST) Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-6d9d307a732so3838374a34.1; Mon, 11 Dec 2023 15:37:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702337862; x=1702942662; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=t86WZt4ENI/hv5N6g/BMDwtkCseB1St9FbZ8iMLj7J0=; b=g5YuCn/ydonCSaXaRgFIV42YSQRysQ0PSOiP8ZafYb8Id5Z8uOWNxFhQcbsjpNtPna y7w6NS4CsJ6Ah1WMIga8s9uZCeH/+HuWx+RTD+pw8sG2Jh6tPximIOuA+w2z8gAerOJH JFERr0dih3b270JWS8d2ZjvRo7UiB/OfCRy0zYXL9AP6zCpPV0xG/ogIthJUGpQpKuyP QXhEoI9j+b/HaUbdeqNvyuYN5Q7cBErWZvUR7Omam2uh5w6xh/2xdqTI0dHIRYG+UOV9 fCgJFYdtsA3wVWsFILBgdyPR//wcvNGEe+VsSaiaozqKBJ5To3IWbe+RTQAWRd9mKEYu 8USw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702337862; x=1702942662; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t86WZt4ENI/hv5N6g/BMDwtkCseB1St9FbZ8iMLj7J0=; b=G1C9IR0wbjBipMQTpmi2f72T4qXhnxegABnnUn/O9eNl9/xhHsonGx7C31wkloWZaz hEfTH3dM6wNJl12xt/34IJh03jniFzF+7vQCZjeJqMC1pp1YZLhRdt9SUJC4gQ2iEdxz 1ZIaProYmdIH0QD3bsQsCCGEmew+xjPQ/GnMN4b6Zj5KemZL4fL1Hv43kBjKWTQlV89H 5W/my7NlLOstB8xlcvOoO1bX+6QLx1GMO+pj+lJVO+D1gzEChw73AOByayXQX38Z1Rgm paj6R2FKNgxEK8ThXll88qm18e/iByoARhHyGx+LcFwA5VX/wRUElICA2EKUhDNdw1pg HC1w== X-Gm-Message-State: AOJu0Yxzqvt9Vl/h8IQit54cUs/sJDm9/wjpOMO84C45i2Z0Em+xCN+G igQnElrLGFTzjJxDUjRXzJswynucw8Ymird0WB4= X-Received: by 2002:a05:6358:c304:b0:170:3f9f:b367 with SMTP id fk4-20020a056358c30400b001703f9fb367mr4811270rwb.26.1702337862479; Mon, 11 Dec 2023 15:37:42 -0800 (PST) MIME-Version: 1.0 References: <20230215143306.2d563215@rorschach.local.home> <20230505095805.759153de@gandalf.local.home> In-Reply-To: From: Andrey Konovalov Date: Tue, 12 Dec 2023 00:37:31 +0100 Message-ID: Subject: Re: [PATCH v3 1/3] kasan: switch kunit tests to console tracepoints To: =?UTF-8?Q?Paul_Heidekr=C3=BCger?= Cc: Marco Elver , Steven Rostedt , Peter Collingbourne , andrey.konovalov@linux.dev, Andrew Morton , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov , Masami Hiramatsu , linux-trace-kernel@vger.kernel.org, Nick Desaulniers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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, 11 Dec 2023 15:38:39 -0800 (PST) On Tue, Dec 12, 2023 at 12:35=E2=80=AFAM Paul Heidekr=C3=BCger wrote: > > Using CONFIG_FTRACE=3Dy instead of CONFIG_TRACEPOINTS=3Dy produces the sa= me error > for me. > > So > > CONFIG_KUNIT=3Dy > CONFIG_KUNIT_ALL_TESTS=3Dn > CONFIG_FTRACE=3Dy > CONFIG_KASAN=3Dy > CONFIG_KASAN_GENERIC=3Dy > CONFIG_KASAN_KUNIT_TEST=3Dy > > produces > > =E2=9E=9C ./tools/testing/kunit/kunit.py run --kunitconfig=3Dmm= /kasan/.kunitconfig --arch=3Darm64 > Configuring KUnit Kernel ... > Regenerating .config ... > Populating config with: > $ make ARCH=3Darm64 O=3D.kunit olddefconfig CC=3Dclang > ERROR:root:Not all Kconfig options selected in kunitconfig were i= n the generated .config. > This is probably due to unsatisfied dependencies. > Missing: CONFIG_KASAN_KUNIT_TEST=3Dy > > By that error message, CONFIG_FTRACE appears to be present in the generat= ed > config, but CONFIG_KASAN_KUNIT_TEST still isn't. Presumably, > CONFIG_KASAN_KUNIT_TEST is missing because of an unsatisfied dependency, = which > must be CONFIG_TRACEPOINTS, unless I'm missing something ... > > If I just generate an arm64 defconfig and select CONFIG_FTRACE=3Dy, > CONFIG_TRACEPOINTS=3Dy shows up in my .config. So, maybe this is kunit.py= -related > then? > > Andrey, you said that the tests have been working for you; are you runnin= g them > with kunit.py? No, I just run the kernel built with a config file that I put together based on defconfig.