Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4235256rdb; Mon, 11 Dec 2023 12:51:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpJ86FklL19Ks29S7m10g3OcNNlqGivuLPe4odjJYnGBUFZ0fySF+XIRI4z6I1hN426tNb X-Received: by 2002:a17:90a:bb84:b0:28a:26c9:9b3f with SMTP id v4-20020a17090abb8400b0028a26c99b3fmr1939892pjr.95.1702327883700; Mon, 11 Dec 2023 12:51:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702327883; cv=none; d=google.com; s=arc-20160816; b=uG08DPHD4wEY6C3OxQZkHQO82xD4BA3RZGZIZhuSNq8PimUhGp5t02ej/fNll5dIbk JFt8jYYTkD/tOBa//aiTcb77wJpGBx9jCzxdxzpSbGcgSaMCs8ukiEM8FAZA3f0TmhPz fOYIRu0Bh8NmNEWPFywjhxeLf0r8oseHWAGNrPAbsmvmjCtWDiKgVnrwvoKWY3TE5IwV snUzPH/Ho/pZ99a7Ai0V52U3fFGHwrRgKGz/e2w42J1M3FYaCn7xUm1vCJbSTPuXVvT/ e9uVSvwagvWls4HMFyAdAvF3oOicfmUjoPVSesNGr1kJZ/oTxAY47hbAMJ0Q5TXFhbIq et8A== 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=OckqF+ycLHzYHFxbjXbvIz3Ml946FujF+AQK5q5s1sM=; fh=i0W2A2eq0+ABFU0kQIx38SXH4G0GLVPJSKpmgwl4lCY=; b=Oy/4BJyF30AJBviyIYe3UMXfIHi4bVPmog+xIe3Q2jgLSaFKQAm3QFmaEiVPrVfEaX Pgx8p9n3sZYb1ZiRl69HCPnJSbUHUOBZwciCNt4plccqf/ru1bv4u9hvgQSegZQ8Vs7+ Th89s9g0ijNYhkwVuF5TXh07JLf+uNa/lDWmISt478O7LGImX3K233aZQsyfwOXoOsrG 7Kli6BgOLXlJxz/7uS8U2mhn/9AGisIppyxguw5Qsy9onDCNf0BJDAfsKPzL2xVBnFh2 XqaDfaZ5KbnZJu3eLgdxMf3BWIjwKdhrWRhN/zAyYKCxB6lN7TVbR9I9LMpOf61/AEQ2 fQlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="SCvV/7Lx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id na11-20020a17090b4c0b00b0028aa258b51bsi1309431pjb.5.2023.12.11.12.51.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 12:51:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="SCvV/7Lx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 6E18680658FB; Mon, 11 Dec 2023 12:51:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344409AbjLKUvM (ORCPT + 99 others); Mon, 11 Dec 2023 15:51:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344835AbjLKUvK (ORCPT ); Mon, 11 Dec 2023 15:51:10 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F4DEB5; Mon, 11 Dec 2023 12:51:16 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1d30141d108so8396155ad.2; Mon, 11 Dec 2023 12:51:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702327875; x=1702932675; 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=OckqF+ycLHzYHFxbjXbvIz3Ml946FujF+AQK5q5s1sM=; b=SCvV/7Lxz/d7iohJx9GUmFTtOF+/EU8OesVEO8ST5BFekp/E3yD+Wbe10dFUheBAkD BbfgNWP1S+kQNooerLH/ldznzvhLzVOsOJMi7ySrp0RkDrlwZrRuWgt/oL2TbqN5iwHP jEMf4GHvEIW3GS8zP73VNbZZ19pvFASmnIhJBPY/IY7BIcq8iIzc5YcFXSp4hs2HYwMO E1pRL0jo/zoEY82xz5apKbZErFrN15UmYBwTiUbaIl4HyUyGsKXZ/3+tls5LHKtSgBVl FGp9rr2Kv/5tYZxyu5kAi6cL1WwDals9YHtWLuw9snV0UsrPSUF4/UFGAIfBh1NydT+g qOwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702327875; x=1702932675; 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=OckqF+ycLHzYHFxbjXbvIz3Ml946FujF+AQK5q5s1sM=; b=tGEGF/3Rnq1TgzZ3wxTJpfPtrCHuudVk4qx2GZPn5VnpCzqDQm53sxALqoKA1qwraK BanmuK90A4XweWcHi2O6+hrLPExMomHUt2AiNcXZU1E18b66d6T8RWCavijJnfstxA0B z+Uo9o9Jga0+x5YbYNWATtgi9dmyFt0eaHRGfRZNqeIQ6w22gJtlPi27P17Y8MqpMOsf BPFWzTmqBaeTL80vVVtDdfjUl8tffQZvJdnAkE91Pf76xc35cawnD/WOkZ7tJ096hZwT 0R4isZS/NSTaqaA20RbB+lVk3Q92DCjQnDxV0dCNNkFAf50qGKJ0X/5BCmUGeWan8u9m 6+gw== X-Gm-Message-State: AOJu0YzPVDvSlhw+mYZ2qxF2CKME/gyiSWwwL1nSsUAiaoApNzRWGX1u rOD+lIm1eg0az73IxbiTPvxQu1Ti5Znp4LnbGjo= X-Received: by 2002:a17:90a:34c1:b0:286:6cc0:b918 with SMTP id m1-20020a17090a34c100b002866cc0b918mr2228620pjf.79.1702327875595; Mon, 11 Dec 2023 12:51:15 -0800 (PST) MIME-Version: 1.0 References: <20230215143306.2d563215@rorschach.local.home> <20230505095805.759153de@gandalf.local.home> In-Reply-To: From: Andrey Konovalov Date: Mon, 11 Dec 2023 21:51:04 +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: Steven Rostedt , Peter Collingbourne , Marco Elver , 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 11 Dec 2023 12:51:22 -0800 (PST) On Mon, Dec 11, 2023 at 7:59=E2=80=AFPM Paul Heidekr=C3=BCger wrote: > > > Hi Paul, > > > > I've been successfully running KASAN tests with CONFIG_TRACEPOINTS > > enabled on arm64 since this patch landed. > > Interesting ... > > > What happens when you try running the tests with .kunitconfig? Does > > CONFIG_TRACEPOINTS or CONFIG_KASAN_KUNIT_TEST get disabled during > > kernel building? > > Yes, exactly, that's what's happening. > > Here's the output kunit.py is giving me. I replaced CONFIG_DEBUG_KERNEL w= ith > CONFIG_TRACEPOINTS in my .kunitconfig. Otherwise, it's identical with the= one I > posted above. > > =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 > 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, CONFIG_TRACEPOINTS=3Dy > > Does CONFIG_TRACEPOINTS have some dependency I'm not seeing? I couldn't f= ind a > reason why it would get disabled, but I could definitely be wrong. Does your .kunitconfig include CONFIG_TRACEPOINTS=3Dy? I don't see it in the listing that you sent earlier.