* [GIT PULL] probes: 2nd fix series for v6.5-rc1
@ 2023-07-14 13:54 Masami Hiramatsu
2023-07-16 19:30 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Masami Hiramatsu @ 2023-07-14 13:54 UTC (permalink / raw)
To: Linus Torvalds
Cc: Steven Rostedt, Masami Hiramatsu, Dan Carpenter, linux-kernel
Hi Linus,
Probe fixes for 6.5-rc1, the 2nd set:
- fprobe: Add a comment why fprobe will be skipped if another kprobe is
running in fprobe_kprobe_handler().
- probe-events: Fix some issues related to fetch-argument
. Fix double counting of the string length for user-string and symstr.
This will require longer buffer in the array case.
. Fix not to count error code (minus value) for the total used length
in array argument. This makes the total used length shorter.
. Fix to update dynamic used data size counter only if fetcharg uses
the dynamic size data. This may mis-count the used dynamic data
size and corrupt data.
. Revert "tracing: Add "(fault)" name injection to kernel probes"
because that did not work correctly with a bug, and we agreed the
current '(fault)' output (instead of '"(fault)"' like a string)
explains what happened more clearly.
. Fix to record 0-length (means fault access) data_loc data in fetch
function itself, instead of store_trace_args(). If we record an
array of string, this will fix to save fault access data on each
entry of the array correctly.
Please pull the latest probes-fixes-v6.5-rc1-2 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-fixes-v6.5-rc1-2
Tag SHA1: 48d932f93e2c38d39b53a7518c4fa2e221b53a50
Head SHA1: 797311bce5c2ac90b8d65e357603cfd410d36ebb
Masami Hiramatsu (Google) (6):
fprobes: Add a comment why fprobe_kprobe_handler exits if kprobe is running
tracing/probes: Fix to avoid double count of the string length on the array
tracing/probes: Fix not to count error code to total length
tracing/probes: Fix to update dynamic data counter if fetcharg uses it
Revert "tracing: Add "(fault)" name injection to kernel probes"
tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails
----
kernel/trace/fprobe.c | 6 ++++++
kernel/trace/trace.h | 2 ++
kernel/trace/trace_probe.c | 2 +-
kernel/trace/trace_probe_kernel.h | 30 ++++++++----------------------
kernel/trace/trace_probe_tmpl.h | 10 +++++-----
kernel/trace/trace_uprobe.c | 3 ++-
6 files changed, 24 insertions(+), 29 deletions(-)
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] probes: 2nd fix series for v6.5-rc1
2023-07-14 13:54 [GIT PULL] probes: 2nd fix series for v6.5-rc1 Masami Hiramatsu
@ 2023-07-16 19:30 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2023-07-16 19:30 UTC (permalink / raw)
To: Masami Hiramatsu (Google)
Cc: Linus Torvalds, Steven Rostedt, Masami Hiramatsu, Dan Carpenter,
linux-kernel
The pull request you sent on Fri, 14 Jul 2023 22:54:23 +0900:
> git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git probes-fixes-v6.5-rc1-2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4b4eef57e6135ebd28de8c6a3e7898e04172a897
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-16 19:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14 13:54 [GIT PULL] probes: 2nd fix series for v6.5-rc1 Masami Hiramatsu
2023-07-16 19:30 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®