Skip to contentSkip to conversation

: probes: Cleanup updates for v6.3

GIT PULL Merged Masami Hiramatsu (Google) 2 participants 2 messages Feb 24, 2023 – Feb 25, 2023

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Sorry, I missed 3 cleanups in the previous PR. Here is the additional one I made.

probes cleanup updates for v6.3:

These are the probe events cleanup patches, no new features but improve readability.

- Rename print_probe_args() to trace_probe_print_args() and un-inlined.

- Introduce a set of default data fetch functions for dynamic probe events.

- Extract common code of data fetch process of dynamic probe events.

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

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

Tag SHA1: 698cb027e2e06f52b23c5107e0bda683aca38e77 Head SHA1: bd78acc89d4147aa4897a4c43e2a74c7df999b12

Song Chen (3):
kernel/trace: Introduce trace_probe_print_args and use it in *probes kernel/trace: Provide default impelentations defined in trace_probe_tmpl.h kernel/trace: extract common part in process_fetch_insn

----

 kernel/trace/trace_eprobe.c       | 83 +++++----------------------------------
 kernel/trace/trace_events_synth.c |  6 +--
 kernel/trace/trace_kprobe.c       | 72 +++------------------------------
 kernel/trace/trace_probe.c        | 27 +++++++++++++
 kernel/trace/trace_probe.h        |  2 +
 kernel/trace/trace_probe_kernel.h | 30 +++++++++++---
 kernel/trace/trace_probe_tmpl.h   | 48 ++++++++++------------
 kernel/trace/trace_uprobe.c       | 13 +++---
 8 files changed, 96 insertions(+), 185 deletions(-)

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

Signature · 1 line
Masami Hiramatsu (Google) <[email protected]>
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 25 Feb 2023 01:16:31 +0900:

The pull request you sent on Sat, 25 Feb 2023 01:16:31 +0900:

Quoted 1 line

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

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

Thank you!

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