Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp986464rwr; Fri, 5 May 2023 07:40:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5SRo+qKtsmnEnKO6ZDaKOnipu6HvnsEVuQjw0wMf7rQsfg/K2SH/J/kNg17hB2tS7Bpb85 X-Received: by 2002:a17:902:e746:b0:1ac:4b76:29a1 with SMTP id p6-20020a170902e74600b001ac4b7629a1mr625098plf.29.1683297659203; Fri, 05 May 2023 07:40:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683297659; cv=none; d=google.com; s=arc-20160816; b=Rdq6xs8xETWMZAWPU11v5ZRA9FQoximiQ22ppp0kmOjvTNmycSRXrkypSQA+5Mp8r1 Nqdlf4wQCoAu8M1FXKNKob1NBJaDLI04Ax/XvavSAa/pycotZwNAJW1Msjs/oD/D3fhW 8HnyM4kpMN/ySRe9n9IsxEQ2asAcW99q9MCN7nYw1fpd6vhxXvS7ae8IVJ4eC9ebO5ZM ajJ4k/93KeQ+c4YA3inelKswfKIMYEWXFbtkhOdK3X5MWI6Z6UanXsqk0XcXi+o54QUl m5oiSDQBkvjZ6ZhbMr8vcMTpqCIn0VQlT4dFmNnAnxz8uH1p/iEO6IUwMqizP4W/18j3 ssCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=nEK9o5HSYNtlkwDR1Pk6Xp5aXl095DVVU+qQO4e/KkU=; b=eOqXoWD5Gw068QO/Mrj4IvVdvIupd5YpAyldgty5hh2Ie/74rjIi2gAcy5x+BPTEcQ /YGa/glCEMgpp5SIK5U1eKqdhbbgILbW3Zq5nA/fq3bS0k/7SykaIT03ID4O2YBVbiBd TQHj8I4+KBwI1/oNKnvmXIuVf/IDOlA5vWyfFcA8DR0XPGT1U1u5TctxpJlughdbsnva EAvZguTvFzrdaIxCaxQBZFoyIl1czpOCUTxaa6r9VuOBaiQcoj60VIPM7kwMXtrLApuG ha9d06cPfcbOUgcQZ+QXX42Ec7qx4eifwExtuSrUzNrRNppein23n+3S+CDlfpXrTxHU yKxw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d16-20020a170902b71000b0019a71e14c19si1722776pls.320.2023.05.05.07.40.42; Fri, 05 May 2023 07:40:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232461AbjEEN6M (ORCPT + 99 others); Fri, 5 May 2023 09:58:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231981AbjEEN6L (ORCPT ); Fri, 5 May 2023 09:58:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D76141569C; Fri, 5 May 2023 06:58:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5976D63AE5; Fri, 5 May 2023 13:58:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2998EC433EF; Fri, 5 May 2023 13:58:07 +0000 (UTC) Date: Fri, 5 May 2023 09:58:05 -0400 From: Steven Rostedt To: Peter Collingbourne Cc: 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, Nick Desaulniers Subject: Re: [PATCH v3 1/3] kasan: switch kunit tests to console tracepoints Message-ID: <20230505095805.759153de@gandalf.local.home> In-Reply-To: References: <20230215143306.2d563215@rorschach.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 On Mon, 1 May 2023 15:02:37 -0700 Peter Collingbourne wrote: > > > "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 Yeah, it really does need to get cleaned up, but unfortunately it's not going to be a trivial change. We need to make sure it's done in a way that an old .config still keeps the same things enabled with the new config settings. That takes some trickery in the dependency. I'll add this to my todo list, hopefully it doesn't fall into the abyss portion of that list :-p -- Steve