Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp126328lqs; Mon, 4 Mar 2024 18:07:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW4RCxVKp3ytvlLc+13wMWFUoYbMWS045ZYMPugqDG6pFHH2JXYWR4wgPWFYR1XNXr/bzz/y+NONIN2uJVJXeNN33LmcJAwyyF+HUvX0g== X-Google-Smtp-Source: AGHT+IHXZUcaGNNtW97jA8fGpHbqSljAVpnBJYBLX2HrtFVlZwfoXsyMlMG8/a90d8TbaluDMai1 X-Received: by 2002:a50:c94c:0:b0:566:4a85:ceba with SMTP id p12-20020a50c94c000000b005664a85cebamr5863995edh.1.1709604458846; Mon, 04 Mar 2024 18:07:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709604458; cv=pass; d=google.com; s=arc-20160816; b=a7PxezQYCY1QVC9F0cghVKbTEnr/BKCs+NKtoZSftziZugLNRCGzQUzNL0qdV+u/Uo +g3/JcOQWsqvLVzHO8H+LsXEZa/UOnNyLjPQ1gLB18rjPi6eQxe/WmZnOywqucoFPxXa MlmbUPHbETDFF4TOJ7G3t4jWnZXOvjBEwwRJH85GiCIRUvq87PTWYQMI5kvSW+cVgzdY KHKnEH29HzgDwLTfyHcucbTy32b4D9sCQWsrIatzIzC7rmUbwuMO8H+sDwHXHoaU2W7s qDDC868jcmdNdPg7eW6lKV5agyo+68g0eosmVplOZUwl9p+B/dGyF56q+s22MgLqTqsb m/fQ== 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=2xLvgSrO4Im7hL88qNReBXGnpcyqufBgHPXPzXb+wBs=; fh=5GSL8iMgAyuzpToQ7VTfMGDhy7T5RKF49tB9TFqJckE=; b=DsdggJZYCcvfDekk0JDryUYKCDIfiomsye3UnNLwHtn8saVY9CMdm8CIzSiN0WlNb2 /1FcIw4pCJzZVuYB9kg+9it/ho/Ijjnzf1x99kFtYj+pgdpSCWZbk+wDDtg7Nk7uzqgf bl8mcbYK9LnBfOtGSxfWzJ+aAUOffSpOoNwdMl1MtlcGSsqLMhfkJBimh7fFuwcNZtg0 R3IS6aDP8s+NHXReoclzB+q84K2qvg7DwxlXh8rBp8Z2IvtqhrAuuko7YC5QBzmGtRnO 0Yrse+05ZUlQ5MboBq530mfG67r5QWjgFZ72Sa7RPLhMB2SrHR+RvKhy6rnJLe5Brgyb 1Y2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-91520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91520-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c14-20020a50d64e000000b00565e33da345si4663224edj.519.2024.03.04.18.07.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 18:07:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-91520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91520-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 0976F1F247E9 for ; Tue, 5 Mar 2024 01:58:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CFDD18021; Tue, 5 Mar 2024 01:57:56 +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 23BA217C72; Tue, 5 Mar 2024 01:57:55 +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=1709603876; cv=none; b=BY/XNKviHOub/eUR95CCtlTCO8NOVD/JsQVcNwEcTYf5OXB2nIc1Lz76BxmpL6E6A2ITqw2p3Ex13LoczQmfp8lgnuccbc55Let+yL6Fh1/IqIIFiNmLDiDKQz+kpwdgI5xKkhBiC4Z8r/mJGyfcfzENXatg9eaqgdVt5a9OUWI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709603876; c=relaxed/simple; bh=hmq5mCGZoJ0YIHNnaTlSf7OVVEmARXsu0lrLlQrXUIY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uWXcbXvF1pdGm54hYD/6YXUpR+9EQGxRAI75KUKZWfSvrdPtfRREtBzs9eSVTdiNj2KFeArH9iIqR7KKoSpuXAlwRhaBWnMYXdMaHlIxm1J9P58ujFYnk+DbBfCYX9FQHdH2BW94s1d0bK9lyxWdOVQA8fFv6nxS5k/ZKPWTggY= 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 E4640C433F1; Tue, 5 Mar 2024 01:57:54 +0000 (UTC) Date: Mon, 4 Mar 2024 20:59:43 -0500 From: Steven Rostedt To: Mathieu Desnoyers Cc: LKML , Linux Trace Kernel , Masami Hiramatsu , Linus Torvalds , Sachin Sant Subject: Re: [PATCH] tracing: Have trace_marker writes be just half of TRACE_SEQ_SIZE Message-ID: <20240304205943.081bea96@gandalf.local.home> In-Reply-To: <91f27ba1-15a4-402d-8301-e2b9d23f64b0@efficios.com> References: <20240304192710.4c99677c@gandalf.local.home> <469d31a7-f358-4547-bb17-0979b3515924@efficios.com> <20240304203516.45b7a551@gandalf.local.home> <20240304204119.7503ab0b@gandalf.local.home> <91f27ba1-15a4-402d-8301-e2b9d23f64b0@efficios.com> 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 20:42:39 -0500 Mathieu Desnoyers wrote: > #define TRACE_OUTPUT_META_DATA_MAX_LEN 80 > > and a runtime check in the code generating this header. > > This would avoid adding an unchecked upper limit. That would be a lot of complex code that is for debugging something that has never happened in the past 16 years and Linus has already reprimanded me on doing such things. -- Steve