Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1040029lqg; Sat, 2 Mar 2024 12:26:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW4FpNkbnXpelyN1HhoGljnN9oto7z73b/gJBldpLJI4OhXWLW1ittx5jpjUqxA7tSkx/CULmTXJyOLysGXCeg7HvJ/OXbQwrf+05nqNQ== X-Google-Smtp-Source: AGHT+IH5ucDi9P2a6XydG+lx6LlURALlCLluqMAdYGv+2duSS0aFzCLxiljB8/1T0dTepgrEMvDa X-Received: by 2002:a05:620a:21d5:b0:788:1f98:14b8 with SMTP id h21-20020a05620a21d500b007881f9814b8mr1454177qka.39.1709411217045; Sat, 02 Mar 2024 12:26:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709411217; cv=pass; d=google.com; s=arc-20160816; b=KmmK0b3xWa+kFECIBUnJRzT1U2wAsmzeo4nKSOLA0mrrWoMSxz6e1nbBqVRC+kEIG9 0nRzzCbBVsoCJkviuzmfWw7vTIsUTy+b26/sUdNdIxQVyUkVxAhMshWqFhH/cQjoUCDz rvYVV05xVM3xIvzFUJUx4wFNKWOvOUNuDNccx/DKYU+emp58Ng+1FOVcbrz4xGRcMWSS p0XMN6mlnaV/j7lwIpGHwR7p/gd7K8uQQqnf+PVQNyYwmzlBWUJqMoNXscPQtrn4XCzX N9CChP32qvjeEFPAQMHoS9V5lRExdieLmRexFhwXNvLnbq5jSVyc1OVr1gerHWw4ygNb orEQ== 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=x4K8pG45nWMX3nRc8yT1ZX5+E5p3NM5WaXMzX7xZv+U=; fh=BJjscmstiuwSmMpx+EuWwz/EH9XNPUTFyivEKBLydzI=; b=t4on5ELN4ooE9hdo4E259w41SI/wdD6dH1G8HNUHINKHJ/3ZOyDDc+/tGebDhBGFzB I0aryzSLuO875kUKs1PVhdkrgeenyV0inIg0snZ0dWOYhKxbJmZoaw6VgfoiIXCZV7My YTOSLSKOjg8G7w/CVf3E4kY7ZHB44QQ1R1lTIJybayMIc8iTf8xfdRBE2WXmbrRHxlnk lfSMzjeBpzbCrL96QZ+5B/P8gl1yCuqJ3puxRE3h1zC+87Rab9BaRofgq9/t2gmBGe2O QU7tU9XLm5hU7nggnjsD+YN9eEJSrkaahdZ33tuh1TzoWdBuI0bn8U9vr5QIbb81rS2Y +xBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-89588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89588-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id wh23-20020a05620a56d700b0078805861fc6si4460877qkn.653.2024.03.02.12.26.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 12:26:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-89588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89588-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9579E1C209DE for ; Sat, 2 Mar 2024 20:26:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2F8E40BE5; Sat, 2 Mar 2024 20:26:50 +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 3EBAE40859 for ; Sat, 2 Mar 2024 20:26:49 +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=1709411210; cv=none; b=A/yrSl8o2Ma1xHTNYF6QEsi/ZDiV0s/DpumBOZr4x1wgTFSpgmQqryOX4q3MLl3YJ7aUzAKR4m0PAsetfGEpGuHK9xmTo6rRIt1k1e87AWmdGrSsOLW4H6VbpYbbkZyC+sYm1Yh4lJLu/dkGn8ChjHvNssjacIbbuLdUoM0jWBQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709411210; c=relaxed/simple; bh=x4K8pG45nWMX3nRc8yT1ZX5+E5p3NM5WaXMzX7xZv+U=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=r732vI1/hFH39LoCCcXTTu6/LrHuGCMR/dgSxujttDW4ub8otaAaE/tps526a5Igg906vinMJB5UHeOlTd4uXse5+XxZLfQih95pl6ami49mny2gkESPOyXc/Zgdk60uNlxiBsWFxQ+5hILnnAxzRX8YQoX8/OVa97oPJOfrZYs= 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 370ECC433F1; Sat, 2 Mar 2024 20:26:49 +0000 (UTC) Date: Sat, 2 Mar 2024 15:26:47 -0500 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Masami Hiramatsu , Mathieu Desnoyers Subject: Re: [GIT PULL] tracing: Prevent trace_marker being bigger than unsigned short Message-ID: <20240302152647.06d96616@rorschach.local.home> In-Reply-To: References: <20240302111244.3a1674be@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (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 Sat, 2 Mar 2024 09:24:37 -0800 Linus Torvalds wrote: > Honestly, I suspect that a sane limit for tracing strings is likely on > the order of tens or maybe hundreds of bytes. BTW, the max used to be 1K, and I've had people ask me to increase it, as they build up a log in their own buffer, and then do a "dump" into the trace_marker when an anomaly happens in their application, when reading it out, they did not like how it was broke up. -- Steve