Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6043557rwr; Mon, 1 May 2023 15:31:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tdy9cgW131i37fVZVBS1b+d3An+GEQyYDsceYM1iLWJe9urskkWmLdpkZBlClGc3m71Nq X-Received: by 2002:aa7:88d0:0:b0:63a:5bcd:e580 with SMTP id k16-20020aa788d0000000b0063a5bcde580mr21246105pff.9.1682980288412; Mon, 01 May 2023 15:31:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682980288; cv=none; d=google.com; s=arc-20160816; b=V0RYM56aW5ThD2cSRP150bEJQlZ7yghCX2+to1NNuHfa9cH1murbAh0OL9bHvmQnkg wqs0fra+60u17XRCGzTekZ8g1ouynJLU56rJ7Y27v34DdP+nAR5JtMTZD4aqwI+Biw99 lieKi1Jr2ftRJLUfuXgLe2AJaM8HwKxcCQFifS84O5g1wfeeu8U1n/Ao9gXBDcfHOCbZ HURS2K1aRxZT4mXwAhyBpDz0tcw/F395NuD1nAybwAazQ3fpOA/rNQN77U2b3TarFRw2 zqjIlD5taqkzHhEJZqaMYA/dL4eJzQ9a06Sm5IgphB2mtTG37IDLQmbBYyRCECSDSlHa rspg== 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=r0vZEv/FmAjqR4OATKlbblWETdmbuJQmkbVqTAuStBc=; b=E58u1u79+rl9PGIiM7amF49ZoEHM3Cx7QDWMZw84BdS5cbkE5ljEuytoT5k7npEi3j PLlVBcDd95VbjJZRP+DpmeOb4Ot9vz8TLL3+rcwIcSxn3T+pvZ+AdPVrb1k4cK0K/tXo 1ZVctOElL7m32GXsaTEHBVfhsj/YjlGCRMZB+XQU2NkIW6NjUawa5dBXhnDL/v3Z3FcB 0jBvUtr60WU/reawqHQsuhdoda1EtuGGju5LSHmuTL5orrUPR/6gfmfjnfIBj3LTb/9i XggLuWC1TjMOSkCI0BfbfbiVba+FwvUXQe5kqBakhSsih7oy//qflHXTNrCIMhNEffvi OOcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=WKCw2ix+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020aa793c2000000b0063b2655def0si29207213pff.47.2023.05.01.15.31.14; Mon, 01 May 2023 15:31:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=WKCw2ix+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229627AbjEAWay (ORCPT + 99 others); Mon, 1 May 2023 18:30:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230008AbjEAWax (ORCPT ); Mon, 1 May 2023 18:30:53 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 656ED26BC for ; Mon, 1 May 2023 15:30:51 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-517bb01bac9so2014151a12.0 for ; Mon, 01 May 2023 15:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682980251; x=1685572251; 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=r0vZEv/FmAjqR4OATKlbblWETdmbuJQmkbVqTAuStBc=; b=WKCw2ix+6dihGEpad4r0eJJquJbzoo5nOCEgYNWxUUgvKaWldmAbDrEooWLrv4sGrc bbwT4R5ad+zKhAmSVBsWmdHi7UocjItrB9hXDbZjunjUTj+USPCHEyOvk88S0hg/xy3l z6ktRPkV+XY1lcchAYB7O5M/0adGmD2EZi2887oEvtsiI5q1/IWXJNQe/6V4gJ3CMmuR 77uDaZnsR+JTqwUlJNbuH1GqqspvBSVQnbZThyGMsA/OGdXOXB6VL3gk/U3023ElAC4B tYFjIC953WZT77XYoqzN+pGHgYTneqWQ33jA7XS8g5eaMGJx3orsHepBNokbNkU6YSwi WvDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682980251; x=1685572251; 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=r0vZEv/FmAjqR4OATKlbblWETdmbuJQmkbVqTAuStBc=; b=IoYy5TyRSXBaU0N674WvnWb3oIlEqFgbGQPKVya9lxRslVYBeUiqDoq1hWXTsbUAPN kwm7YfgAwrR7G5L8NUAWDG54T9k+HVMPYeu1otOI0aiHbz3rZkXDA/u8VHVqh+fHpggB W4Ofka9ucmV/LmNyJZyaC3zJDuCnrsmu4d8rfrLJcqVzOoKNeYNbYqMD5DWkMPaGKLRO 0n4+yLXVeA5xT+kOUbZ6cDt9RAMVAm1mbPbFm6BRvqDshZ5kmD2rANBya2f0B4E57IQD OiBhEOFbwQaJ502dvZRfGamdg9HpDZ3BoodvLevIVj5mieesNV49JAf01bztFEStdzk0 GwJQ== X-Gm-Message-State: AC+VfDwkNjvWNY3OBT+Ix36rq4rsjANJHNQX9cvODyK5vVB8xJFrceCZ KVdk7EDS4Qz6uAxKmrG1CS2C3373fi9TJPYaBzZw7A== X-Received: by 2002:a17:902:e744:b0:1a6:b23c:3bf2 with SMTP id p4-20020a170902e74400b001a6b23c3bf2mr18550422plf.10.1682980250619; Mon, 01 May 2023 15:30:50 -0700 (PDT) MIME-Version: 1.0 References: <20230215143306.2d563215@rorschach.local.home> In-Reply-To: From: Nick Desaulniers Date: Mon, 1 May 2023 15:30:38 -0700 Message-ID: Subject: Re: [PATCH v3 1/3] kasan: switch kunit tests to console tracepoints To: Peter Collingbourne Cc: Steven Rostedt , Marco Elver , andrey.konovalov@linux.dev, Andrew Morton , Andrey Konovalov , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Mon, May 1, 2023 at 3:02=E2=80=AFPM Peter Collingbourne = wrote: > > On Thu, Feb 23, 2023 at 10:45=E2=80=AFPM Peter Collingbourne wrote: > > > > On Wed, Feb 15, 2023 at 11:33 AM Steven Rostedt w= rote: > > > > > > On Wed, 15 Feb 2023 09:57:40 +0100 > > > Marco Elver wrote: > > > > > > > Yes, you are right, and it's something I've wondered how to do bett= er > > > > as well. Let's try to consult tracing maintainers on what the right > > > > approach is. > > > > > > I have to go and revisit the config options for CONFIG_FTRACE and > > > CONFIG_TRACING, as they were added when this all started (back in > > > 2008), and the naming was rather all misnomers back then. > > > > > > "ftrace" is really for just the function tracing, but CONFIG_FTRACE > > > really should just be for the function tracing infrastructure, and > > > perhaps not even include trace events :-/ But at the time it was > > > created, it was for all the "tracers" (this was added before trace > > > events). > > > > It would be great to see this cleaned up. I found this aspect of how > > tracing works rather confusing. > > > > So do you think it makes sense for the KASAN tests to "select TRACING" > > for now if the code depends on the trace event infrastructure? > > Any thoughts? It looks like someone else got tripped up by this: > https://reviews.llvm.org/D144057 https://reviews.llvm.org/D144057#4311029 Peter, please triple check. --=20 Thanks, ~Nick Desaulniers