From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 551612E736E for ; Tue, 16 Jun 2026 01:04:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781571867; cv=none; b=DgrAMDOmnnDa2LnnCFK8bLDS05fJdFaVOo6NRlKlYmW/xsb+YH31AjDLZfSgWI4YBFnTLXKNlCG3cQQaSYYps5EpVsb1LiGEkzWr1y2JcNxKWDXfmCwoPQP6nM3eG9DxRD1QcabpmBKR223gqonSJ9eMhC4C+mbAwfWNkowYvpA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781571867; c=relaxed/simple; bh=5KpJKvDVEJxZtE6lzMsA8E45Zng/IpVbgsKpBWh6YVE=; h=Date:From:To:Cc:Subject:Message-Id:Mime-Version:Content-Type; b=fp8NWgxY4cs/z+URS0ifudwQzN2QBt9dphgwP4tnjTh7y9ZHC3VNA03EN92+YlERTR8wEihGqoTlrgqu1NXzl8bsCjzqKXGtsH+B4bN4Un7NTgJ2B0xqp1+1hv4pvo6XFQ76bq+qmynNaQfDsVmN0QWm0ZQo29oROuDkMblPPhU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Lbm1J73i; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Lbm1J73i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7326A1F000E9; Tue, 16 Jun 2026 01:04:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781571866; bh=fNpciFjhHpSfNgpuLGgrtNfgbl6bIfqOFqCFgewGdEA=; h=Date:From:To:Cc:Subject; b=Lbm1J73iX6Z1dJkeCPKUQBdte7pxcUly2keGMsYuMySu3qoRdy8jyIK7ACtzJEKJo /RnBzIPyJnwluVUiKr5W5lv0bhf2OtAyfZdCemybSWWEyMXLXaqHba7TeXXyiohs7P f+zr9nLuf8XK6DzN0XrcfMZEURNfyqsb9A7REW0ob2OcnfHK9l9C+BoY80eCtgX67L tK7UjM1lCMc4WU9EE0GERvoWPLQnvoT1n9bcOXmkyNjgDNvK36DtCUX6TCndO7TQox PWhdxwgHnuhj03PrxvVX3eAmQRObN7tzaylgPmPNRy3XrgjlCqHTl70i40+8LWsTqM /atx4/jbNuKkA== Date: Tue, 16 Jun 2026 10:04:22 +0900 From: Masami Hiramatsu (Google) To: Linus Torvalds Cc: Masami Hiramatsu (Google) , Rosen Penev , Yash Suthar , Steven Rostedt , Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: [GIT PULL] probes: Updates for v7.2 Message-Id: <20260616100422.b25ab4aa9a977d04eda9ea96@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (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 Hi Linus, Probes updates for v7.2 - eprobes: BTF support for dereferencing pointers . tracing/eprobes: Allow use of BTF names to dereference pointers. Add syntax to the parsing of eprobes to typecast structure pointer trace event fields, enabling BTF-based dereferencing instead of relying on manual offsets. - probes: Improvements and robustness enhancements . tracing: Use flexible array for entry fetch code. Store probe entry fetch instructions in the probe_entry_arg allocation via a flexible array member to simplify memory allocation and lifetime management. . tracing: Replace BUG_ON with lockdep_assert_held in uprobe_buffer functions. Replace BUG_ON() calls with lockdep_assert_held() in uprobe buffer enable/disable paths to prevent kernel crashes and better verify lock ownership. . tracing/probes: Ensure the uprobe buffer size is bigger than event size. Add a BUILD_BUG_ON() assertion to guarantee that the per-CPU uprobe working buffer size is always larger than the maximum probe event size. Please pull the latest probes-v7.2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git probes-v7.2 Tag SHA1: ccffe554d710dba03357fc8d0c1f76ffc9d38f5b Head SHA1: 69efd863a78584b9416ed6be0e1e7349124b4a00 Masami Hiramatsu (Google) (1): tracing/probes: Ensure the uprobe buffer size is bigger than event size Rosen Penev (1): tracing: Use flexible array for entry fetch code Steven Rostedt (1): tracing/eprobes: Allow use of BTF names to dereference pointers Yash Suthar (1): tracing: Replace BUG_ON with lockdep_assert_held in uprobe_buffer functions ---- Documentation/trace/eprobetrace.rst | 4 + kernel/trace/trace_probe.c | 181 +++++++++++++++++++++++++++++------- kernel/trace/trace_probe.h | 7 +- kernel/trace/trace_uprobe.c | 5 +- 4 files changed, 159 insertions(+), 38 deletions(-) -- Masami Hiramatsu (Google)