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 636EA3A1B5 for ; Wed, 3 Dec 2025 00:35: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=1764722151; cv=none; b=L2SnIfHMZ1spkPW8K5UTde3TY4RrM1UuvfiGGFs0aV/LjeNKdWzB1h/SrMyilTT4dYN1/sGw+LM7g4PPnXlZi0vVNDGmN5HJNW8NXhxYhOSWHWlB1lUTlzqljPdNBypNkbOkcRnFWJb5mP2QSwSi1Tpc4KfcU1od+auKE5LTpiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764722151; c=relaxed/simple; bh=6HkOk91QLnlvq0CA8HteDsWHKcrDgamC/m3UOLGjnLY=; h=Date:From:To:Cc:Subject:Message-Id:Mime-Version:Content-Type; b=ljJ+unjQQXxAGPAITOOsAgFO9xhoj3PFrBYd+MEJGHwv0ZT+dAq4Ko0HTNEdGMvzMr/kw1NN38V9ZYSzOxzFh6BsMB4lo4utfMyj4P4I3Pcb2CpFk7X/m3Wrv8Ax6fniLyyVcI8iKqDBPSatgYsdHFj7C0q9tYn+RPC3FY1KW+A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MYMHVOyB; 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="MYMHVOyB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A97CC4CEF1; Wed, 3 Dec 2025 00:35:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764722151; bh=6HkOk91QLnlvq0CA8HteDsWHKcrDgamC/m3UOLGjnLY=; h=Date:From:To:Cc:Subject:From; b=MYMHVOyBw6phCD76QBiXBrXOGefFCRgy5C2mLl31qWDumEvFXBsJmO7jEwf5+8Gzr 5f92tDWxCZwx3HSH4BGwQgZS/NNi/zRcHsiE6KMjC4RPH5DKVvyn5IDU0IX5ba5FGH zeDeUyq4r87kKpJCDKf12ic3KaiGklezGKirvVTttK4rUpEEVX2OZX4JpMQmPuadGp wZovNHQXIPcRZW6rPEoDMr/OhKtZIefzS3CZJWlMY0tfA3Yh2+wtITMFjtsGfma2BL mqKz81ZxiIv6jtDlL+aEZ4RdnpQrlC2wUkmTBpwzsS9QTiU89nZjUTGayi8KScKaea yzwRJHIR2WsuA== Date: Wed, 3 Dec 2025 09:35:46 +0900 From: Masami Hiramatsu (Google) To: Linus Torvalds Cc: Masami Hiramatsu (Google) , Menglong Dong , Thorsten Blum , Steven Rostedt , Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: [GIT PULL] probes: Updates for v6.19 Message-Id: <20251203093546.2c0907c32d6aa8ef42249605@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 for v6.19 - fprobe: Performance enhancement of the fprobe using rhltable . fprobe: use rhltable for fprobe_ip_table. The fprobe IP table has been converted to use an rhltable for improved performance when dealing with a large number of probed functions. . Fix a suspicious RCU usage warning of the above change in the fprobe entry handler. . Remove an unused local variable of the above change. . Fix to initialize fprobe_ip_table in core_initcall(). - fprobe: Performance optimization of fprobe by ftrace . fprobe: Use ftrace instead of fgraph for entry only probes. This avoids the unneeded overhead of fgraph stack setup. . Also update fprobe selftest for entry-only probe. . fprobe: Use ftrace only if CONFIG_DYNAMIC_FTRACE_WITH_ARGS or WITH_REGS is defined. - probes: Cleanup probe event subsystems. . uprobe/eprobe: Allocate traceprobe_parse_context per probe instead of each probe argument parsing. This reduce memory allocation/free of temporary working memory. . uprobes: Cleanup code using __free(). . eprobes: Cleanup code using __free(). . probes: Cleanup code using __free(trace_probe_log_clear) to clear error log automatically. . probes: Replace strcpy() with memcpy() in __trace_probe_log_err(). Please pull the latest probes-v6.19 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git probes-v6.19 Tag SHA1: f5c785618b77385ed4fa930a17db87df26497f65 Head SHA1: cd06078a38aaedfebbf8fa0c009da0f99f4473fb Masami Hiramatsu (Google) (6): tracing: probes: Use __free() for trace_probe_log tracing: eprobe: Cleanup eprobe event using __free() tracing: uprobes: Cleanup __trace_uprobe_create() with __free() tracing: uprobe: eprobes: Allocate traceprobe_parse_context per probe tracing: fprobe: Remove unused local variable tracing: fprobe: Fix to init fprobe_ip_table earlier Menglong Dong (5): tracing: fprobe: use rhltable for fprobe_ip_table tracing: fprobe: fix suspicious rcu usage in fprobe_entry tracing: fprobe: optimization for entry only case lib/test_fprobe: add testcase for mixed fprobe tracing: fprobe: use ftrace if CONFIG_DYNAMIC_FTRACE_WITH_ARGS Thorsten Blum (1): tracing: probes: Replace strcpy() with memcpy() in __trace_probe_log_err() ---- include/linux/fprobe.h | 3 +- kernel/trace/fprobe.c | 301 ++++++++++++++++++++++++++++++++------------ kernel/trace/trace_eprobe.c | 108 +++++++--------- kernel/trace/trace_probe.c | 5 +- kernel/trace/trace_probe.h | 4 +- kernel/trace/trace_uprobe.c | 82 +++++------- lib/tests/test_fprobe.c | 99 ++++++++++++++- 7 files changed, 405 insertions(+), 197 deletions(-) -- Masami Hiramatsu (Google)