OSDN Git Service

Merge branch 'fprobe: Introduce fprobe function entry/exit probe'
authorAlexei Starovoitov <ast@kernel.org>
Fri, 18 Mar 2022 00:23:13 +0000 (17:23 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 18 Mar 2022 03:17:18 +0000 (20:17 -0700)
commit245d94965520a808f749a62f5ec41c9ae425925a
tree61a3fb95829bee77582e37e9ab439065ad62dea3
parente0999c8e590935b13dd598a6480685eae9c1b3c5
parentf4616fabab39e084b5d7e15a32151d9a9aeab537
Merge branch 'fprobe: Introduce fprobe function entry/exit probe'

Masami Hiramatsu says:

====================

Hi,

Here is the 12th version of fprobe. This version fixes a possible gcc-11 issue which
was reported as kretprobes on arm issue, and also I updated the fprobe document.

The previous version (v11) is here[1];

[1] https://lore.kernel.org/all/164701432038.268462.3329725152949938527.stgit@devnote2/T/#u

This series introduces the fprobe, the function entry/exit probe
with multiple probe point support for x86, arm64 and powerpc64le.
This also introduces the rethook for hooking function return as same as
the kretprobe does. This abstraction will help us to generalize the fgraph
tracer, because we can just switch to it from the rethook in fprobe,
depending on the kernel configuration.

The patch [1/12] is from Jiri's series[2].

[2] https://lore.kernel.org/all/20220104080943.113249-1-jolsa@kernel.org/T/#u

And the patch [9/10] adds the FPROBE_FL_KPROBE_SHARED flag for the case
if user wants to share the same code (or share a same resource) on the
fprobe and the kprobes.

I forcibly updated my kprobes/fprobe branch, you can pull this series
from:

 https://git.kernel.org/pub/scm/linux/kernel/git/mhiramat/linux.git kprobes/fprobe

Thank you,
---

Jiri Olsa (1):
      ftrace: Add ftrace_set_filter_ips function
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>