From mboxrd@z Thu Jan 1 00:00:00 1970 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 D8D783093A6 for ; Wed, 29 Apr 2026 20:14:51 +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=1777493691; cv=none; b=a/jgXJHNkRTdvfpXUtZb3AI1J2pD+ws5dZxf2aJE2jXYZBp2bvqTPRn/pVCNLvyyKYdr6zBMp+/ugAzEQhlhtcx3jThkrzV1C60CDa7iE5eQDrKSya3BCM0KScK11MPANGrF8I2zEWgB9aU/jp7VYJI2Hp72TBN99o8B8Zq1nQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777493691; c=relaxed/simple; bh=bi0M7aGFspHfYdpvmacez+MRcbBIs+P0WCXaSctFXgU=; h=Message-ID:Date:From:To:Cc:Subject; b=FsfCrWGMmcm2BQDyUyMxZujjjfGMexm0sukAs/vK8GGB2Rp5TWD8vZtFIFpALna6SsyXt/j1907h5zaLsPvkBgd/Wqbm+qU6jezrANz5lFt87Lv7nQPKI6B9QbympQNAu8z3RD90s3sOPKG+hiOco9FbnadsgxaZxkbfjqmrN/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RXd33XkF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RXd33XkF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 780C5C19425; Wed, 29 Apr 2026 20:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777493691; bh=bi0M7aGFspHfYdpvmacez+MRcbBIs+P0WCXaSctFXgU=; h=Date:From:To:Cc:Subject:From; b=RXd33XkF6WboEj3+v7huvRCXGAQOyIHqe6E9/ZmjXwI+aubWGBqNaRrdSC82ror+G HE7YxTLYkJZE2kQY2DRnnL5A+2XYzhK6uzB2kMIV5j6Mxc96+Us4ZqifdHkujbeOgc jGLTOLjpnKmVMYhnV6j5YqTTMg/IG38qj0GWK4xu8oTbQk1ZLOYtsvVZMERcMiHDQ3 FZ14UrVBqOtgGGvNamdvP9aCIwY634UGh5ptbnw+wy+RthQqW8pj/gWv5ofSRRLDq2 BOKcMkaTFw1Zi7L2FOSYb0QH4z9dn/9ELFxKaSPSXAqaOXCvJqOqmZ+gDcDI032/Mu zdloNfr7oknnA== Received: from rostedt by gandalf with local (Exim 4.99.1) (envelope-from ) id 1wIBJN-00000003m4n-0hsf; Wed, 29 Apr 2026 16:15:09 -0400 Message-ID: <20260429201453.449214720@kernel.org> User-Agent: quilt/0.69 Date: Wed, 29 Apr 2026 16:14:53 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [for-linus][PATCH 0/3] tracing: Fixes for v7.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tracing fixes for v7.1: - Fix inverted check of registering the stats for branch tracing When calling register_stat_tracer() which returns zero on success and negative on error, the callers were checking the return of zero as an error and printing a warning message. Because this was just a normal printk() message and not a WARN(), it wasn't caught in any testing. Fix the check to print the warning message when an error actually happens. - Fix a typo in a comment in tracepoint.h - Limit the size of event probes to 3K in size It is possible to create a dynamic event probe via the tracefs system that is greater than the max size of an event that the ring buffer can hold. This basically causes the event to become useless. Limit the size of an event probe to be 3K as that should be large enough to handle any dynamic events being created, and fits within the PAGE_SIZE sub-buffers of the ring buffer. git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace/fixes Head SHA1: b2aa3b4d64e460ac606f386c24e7d8a873ce6f1a Breno Leitao (1): tracing: branch: Fix inverted check on stat tracer registration Sheng Che Peng (1): tracepoint: Fix typo in tracepoint.h comment Steven Rostedt (1): tracing/probes: Limit size of event probe to 3K ---- include/linux/tracepoint.h | 2 +- kernel/trace/trace_branch.c | 8 ++++---- kernel/trace/trace_probe.c | 6 ++++++ kernel/trace/trace_probe.h | 4 +++- 4 files changed, 14 insertions(+), 6 deletions(-)