Skip to contentSkip to conversation

tracing probes: Updates for 6.2

GIT PULL Merged Steven Rostedt 2 participants 3 messages Dec 16, 2022 – Dec 22, 2022

lore
Share & tools
lore
#0 lore raw

Linus,

As Masami is still working on getting his gpg key working with signed tags and such, he asked me to send his pull request on his behalf until he gets that straighten out.

Trace probes updates for 6.2:

- New "symstr" type for dynamic events that writes the name of the function+offset into the ring buffer and not just the address

- Prevent kernel symbol processing on addresses in user space probes (uprobes).

- And minor fixes and clean ups

Please pull the latest trace-probes-v6.2 tree, which can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-probes-v6.2

Tag SHA1: ce1e1e9588758069e9b19ce97941133aa826699c Head SHA1: d4505aa6afae17a20c2f3ccfbfb7a07881b7ae02

Li Hua (1):
test_kprobes: Fix implicit declaration error of test_kprobes

Li Huafei (1):
kprobes: Fix check for probe enabled in kill_kprobe()

Masami Hiramatsu (Google) (2):
tracing/probes: Add symstr type for dynamic events tracing/probes: Reject symbol/symstr type for uprobe

Steven Rostedt (Google) (1):
tracing: Fix race where eprobes can be called before the event

wuqiang (1):
kprobes: kretprobe events missing on 2-core KVM guest

----

 Documentation/trace/kprobes.rst                    |  3 +-
 Documentation/trace/kprobetrace.rst                |  8 ++-
 kernel/kprobes.c                                   | 24 ++++----
 kernel/trace/trace.c                               |  2 +-
 kernel/trace/trace_eprobe.c                        |  3 +
 kernel/trace/trace_probe.c                         | 65 ++++++++++++++--------
 kernel/trace/trace_probe.h                         | 19 +++++--
 kernel/trace/trace_probe_tmpl.h                    | 47 +++++++++++++++-
 kernel/trace/trace_uprobe.c                        |  3 +-
 lib/Kconfig.debug                                  |  1 +
 .../ftrace/test.d/kprobe/uprobe_syntax_errors.tc   |  5 ++
 11 files changed, 128 insertions(+), 52 deletions(-)

---------------------------

#1 lore raw
Quoted 7 lines · On Fri, 16 Dec 2022 09:42:54 -0500 Steven Rostedt <[email protected]> wrote:

Linus,

As Masami is still working on getting his gpg key working with signed tags and such, he asked me to send his pull request on his behalf until he gets that straighten out.

Trace probes updates for 6.2:

Hi Linus,

Just wanted to make sure that this didn't get missed.

Thanks,

-- Steve

Quoted 50 lines

- New "symstr" type for dynamic events that writes the name of the function+offset into the ring buffer and not just the address

- Prevent kernel symbol processing on addresses in user space probes (uprobes).

- And minor fixes and clean ups

Please pull the latest trace-probes-v6.2 tree, which can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-probes-v6.2

Tag SHA1: ce1e1e9588758069e9b19ce97941133aa826699c Head SHA1: d4505aa6afae17a20c2f3ccfbfb7a07881b7ae02

Li Hua (1):
test_kprobes: Fix implicit declaration error of test_kprobes

Li Huafei (1):
kprobes: Fix check for probe enabled in kill_kprobe()

Masami Hiramatsu (Google) (2):
tracing/probes: Add symstr type for dynamic events tracing/probes: Reject symbol/symstr type for uprobe

Steven Rostedt (Google) (1):
tracing: Fix race where eprobes can be called before the event

wuqiang (1):
kprobes: kretprobe events missing on 2-core KVM guest

----

 Documentation/trace/kprobes.rst                    |  3 +-
 Documentation/trace/kprobetrace.rst                |  8 ++-
 kernel/kprobes.c                                   | 24 ++++----
 kernel/trace/trace.c                               |  2 +-
 kernel/trace/trace_eprobe.c                        |  3 +
 kernel/trace/trace_probe.c                         | 65 ++++++++++++++--------
 kernel/trace/trace_probe.h                         | 19 +++++--
 kernel/trace/trace_probe_tmpl.h                    | 47 +++++++++++++++-
 kernel/trace/trace_uprobe.c                        |  3 +-
 lib/Kconfig.debug                                  |  1 +
 .../ftrace/test.d/kprobe/uprobe_syntax_errors.tc   |  5 ++
 11 files changed, 128 insertions(+), 52 deletions(-)

---------------------------

merge bot Merged
#2 lore raw
In reply to Steven Rostedt
The pull request you sent on Fri, 16 Dec 2022 09:42:54 -0500:

The pull request you sent on Fri, 16 Dec 2022 09:42:54 -0500:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-probes-v6.2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/af9b3fa15d6d99d948bcaca5a036ad2b292c8e8a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html