Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4938068imw; Tue, 19 Jul 2022 16:46:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vUMUrD03mIDtORjzuzGM+eFVBcch9an2zkkusaI9QyRnF4ASZ1FWnRP4K6p1V7ya1ZGV79 X-Received: by 2002:a17:902:d64a:b0:16c:2755:428d with SMTP id y10-20020a170902d64a00b0016c2755428dmr36374518plh.79.1658274383530; Tue, 19 Jul 2022 16:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658274383; cv=none; d=google.com; s=arc-20160816; b=iK8ej5vCcYW6vzNILIadsgEZlDoF2wPOlUlmNAQI9QbqegNN4meS8ZI+3mZKRV761y CysdqYKrGknNaFOnDXZ1F6uVuGxZ7T+b5YrS2PFKV9nd0W6lhwMyDW4ZmpTk4ND+WOWM HVMN7Mwq4UShRHtj7NTTfAWcQZMpE37yZonG/AxIA6uGws7gBnWRkhdYyDEgEMiXwHpJ WffTTYYZFSFWY3excLQPNLDATpdV0F3RQt64r0cLQ327F2JayWOmNg2Enc47q6Mj9xLU wzne8yCWu8OpUmGd+04UBOqHBdogCQ5EhFCZtoAMXBP7RsKFoS39QNGhKB5e0IKX6Y9C 5z+A== 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=KkdLd46sPJqoaK4Y2kM0IqPJi3nlBjxUbTWP3FfuYqo=; b=t0fiu8BNsUTs40nBVe3bocrPzRXwlhBw8YP8zAqtQeOwVHVayUZKgrbILmbBfiliQj FZWpmlUcf9lJVdt/DNYXHslhWMtGhdyr8VMbA+zNya4KWXLbEnX4JrAlAzG6ajaHPpON fN+87hnWHRP0qRXlI4fOiFk9Jo85yhr1N01/2U0Va/mCFHkXzuWtKYZG4QIAVaSeYHCS CwwU0xc0j0/BCGFuuOg9qrPaTsxionv78yxAZ5Rk4L4ScPIlyoRVfZ6GfnIun0K9L7rz r/s/Iftgk+LqBdSItWlW2afmWImbcvubS64BDza1mdgwXiEUjWTVIo3pC5jWQHZh9U58 BeHA== 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 cp13-20020a056a00348d00b005251cc7fa4esi20688907pfb.75.2022.07.19.16.46.09; Tue, 19 Jul 2022 16:46:23 -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 S235107AbiGSXP3 (ORCPT + 99 others); Tue, 19 Jul 2022 19:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231350AbiGSXP2 (ORCPT ); Tue, 19 Jul 2022 19:15:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84ED51E3F0 for ; Tue, 19 Jul 2022 16:15:27 -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 ams.source.kernel.org (Postfix) with ESMTPS id 43DFAB81D0D for ; Tue, 19 Jul 2022 23:15:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B313C341C6; Tue, 19 Jul 2022 23:15:24 +0000 (UTC) Date: Tue, 19 Jul 2022 19:15:22 -0400 From: Steven Rostedt To: Kent Overstreet Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, pmladek@suse.com, enozhatsky@chromium.org, linux@rasmusvillemoes.dk, willy@infradead.org Subject: Re: [PATCH v4 00/34] Printbufs - new data structure for building strings Message-ID: <20220719191522.4002a5fb@gandalf.local.home> In-Reply-To: <20220620004233.3805-1-kent.overstreet@gmail.com> References: <20220620004233.3805-1-kent.overstreet@gmail.com> 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 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 Sun, 19 Jun 2022 20:41:59 -0400 Kent Overstreet wrote: > Core idea: Wouldn't it be nice if we had a common data structure and calling > convention for outputting strings? Because seq_buf gives us this already, the cover letter really just needs to state exactly what the benefit is to replace seq_buf with printbuf (and why seq_buf can not be simply extended to do some extra features). I just applied your series and ran the tracing selftests and several of them failed. # cd tools/testing/selftests/ftrace/ # ./ftracetest This means that this is not a simple replacement and that there's going to be regressions with this change. The question is, is the added benefits of doing the change greater than the fallout of the regressions? -- Steve