Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp78436lqs; Mon, 4 Mar 2024 15:53:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX7HDiwpJrSBdFSjbnXUFDGkEZyNYSOGkISOUxxo6CJHpEjILd9yb7Vhz+2JIIy3gY1cnr29E9b/sFY/Syqkh0JH3v2shKZtp/LL6hQDA== X-Google-Smtp-Source: AGHT+IGszt/7Ecwx+MS3mUQnzWIdo8SS1owoPT9C6nTL72efvEcagpngL6PkkMhL18U18IFJ4bQx X-Received: by 2002:a2e:91ce:0:b0:2d3:3e70:e823 with SMTP id u14-20020a2e91ce000000b002d33e70e823mr249036ljg.6.1709596400416; Mon, 04 Mar 2024 15:53:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709596400; cv=pass; d=google.com; s=arc-20160816; b=lXkSKoxSfzK3KF8mVc0ALHidYR2/TNjTpD9T5TfwwqQMAn6OWjJX4fkvObZuMXgfWv tCDG6wIWoggnWt+bh/RC1MbtFOAqyWUJiaFAqkbHlnl5OnjjLq2rXmhhWnpHwCeGZuX7 gNyophcEi9xUAD7ltWEFAoiFtyQb9gZeDfjbDmsJV7u0xKlGvfKiTQGhn67UCXGYX2bv KTL3U/HUJ3n+28qoVF60iXZ+8DTCLnp+uta84FnkQx2/MbLKCYMkfDdf5JPrnvijJRsX b0nhrYeSDvljlaDI6pfQR4orqtqn5jNNkVaEpI9sCI/uXyoseV/UGAChL1NF3oxlKi6i t2Cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=NaVwsL/FYY4z3IEjErnJHZQtBQ0YGZ4njoblQBCcxyM=; fh=5GSL8iMgAyuzpToQ7VTfMGDhy7T5RKF49tB9TFqJckE=; b=W0BiwtvX+C88VoJ1j2fHb/XI9TwbERWsNaAvjmLRlFEoU9MNE+TKIGe8i+Ar39MrvS 5EvbIPJYikdZHBJdV1YPedbEAfJyugtUPO37VDX+QO5dmjVZ3pPhpi942uDmKBQeu2Fu TvSSitdrTyHLYlD9frYVU0Vd8rbfNBqa5ZSlBhqE7eSWalWlVldBg+Sz8KuVzEwxo70c WV2yg4LHPsCc94xUhxsSzr707/PAy31X6TcFfVb3Hl4JCb/xDeGrBwV9K7ruUwyvM0S1 uA50GzKvYr+D1F5ul57p0YAKYJP34KMtgL/5Yi997Q3bJeM6WMPuMHdGBy3wZs1fdth+ 7Tlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-91427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91427-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d24-20020a50f698000000b005643f5aa722si4385826edn.366.2024.03.04.15.53.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 15:53:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-91427-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91427-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 27F491F23843 for ; Mon, 4 Mar 2024 23:53:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C47F67D3F1; Mon, 4 Mar 2024 23:53:13 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AF017D07C; Mon, 4 Mar 2024 23:53:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709596393; cv=none; b=HvnvZ+WYBP9LVBQv5u+71T4nLiEVhuowMSZi1MS097TDLWoqxAUR/Eo7n4GWDQFdyZ7rG4XsM+1CLxbg8gC27Hc2bbk8Gs5OqCrbOVNAV37STaRJe8YcZ9zkl8+kko+E1Jqq+GjsiXzCKx06UuF3rKHq280xQTuwwv7ahGyKFn4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709596393; c=relaxed/simple; bh=oY2h2Y7/iDgNJjVVKrac1NOVyR5B4mT2/9/yP4Cs/mQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VfNm43NNwMN+CEiH97IFNyXfWi9SssC1kmS2h1fMsQascR7rshNeDIn/s3E1Np1CVntZEc9LKis0DYpVoL4Gs8wwId8FKI7QnZjqmvmjHLmcjYhB79ZDjIu68Ohu7EkMIJK8EaV1bWF7j+D57dDnfHs7Y4iL/FLUmb/AdgBHQWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0070AC433C7; Mon, 4 Mar 2024 23:53:11 +0000 (UTC) Date: Mon, 4 Mar 2024 18:55:00 -0500 From: Steven Rostedt To: Mathieu Desnoyers Cc: LKML , Linux Trace Kernel , Masami Hiramatsu , Linus Torvalds , Sachin Sant Subject: Re: [PATCH] tracing: Remove precision vsnprintf() check from print event Message-ID: <20240304185500.3160ec20@gandalf.local.home> In-Reply-To: References: <20240304174341.2a561d9f@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 4 Mar 2024 18:23:41 -0500 Mathieu Desnoyers wrote: > It appears to currently be limited by > > #define TRACE_SEQ_BUFFER_SIZE (PAGE_SIZE * 2 - \ > (sizeof(struct seq_buf) + sizeof(size_t) + sizeof(int))) > > checked within tracing_mark_write(). Yeah, I can hard code this to 8K as it handles output of complete events, that can dump a lot of data, and then limit the trace_marker writes to be 4K. -- Steve