fprobe: Introduce fprobe function entry/exit probe
Get series with b4
b4 am 164800288611.1716332.7053663723617614668.stgit@devnote2Versions newest first · linked by author and title
- v13 Latest1 patch 11 repliesIn review
- v1212 patches 2 repliesApplied 12/12
- v1112 patches 1 replySuperseded
Earlier versions · 11
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v10 | 12 patches | 6 replies | Superseded | |
| v9 | 11 patches | 2 replies | Superseded | |
| v8 | 11 patches | 0 replies | Superseded | |
| v7 posting 2/2 | 10 patches | 6 replies | Superseded | |
| v7 posting 1/2 | 0 of 10 patches | 0 replies | Superseded | |
| v6 | 10 patches | 1 reply | Superseded | |
| v5 | 9 patches | 15 replies | Superseded | |
| v4 | 9 patches | 1 reply | Superseded | |
| v3 RFC | 9 patches | 11 replies | Superseded | |
| v2 RFC | 8 patches | 16 replies | Superseded | |
| v1 RFC | 6 patches | 3 replies | Superseded |
Patches in v13 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | rethook: x86: Add rethook x86 implementationarch/ arch/ arch/ +2 more | +131 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v13 yet.
Cover letter [PATCH v13 bpf-next 0/1] fprobe: Introduce fprobe function entry/exit probe
Hi,
Here is the 13th version of rethook x86 port. This is developed for a part of fprobe series [1] for hooking function return. But since I forgot to send it to arch maintainers, that caused conflict with IBT and SLS mitigation series. Now I picked the x86 rethook part and send it to x86 maintainers to be reviewed.
[1] https://lore.kernel.org/all/164735281449.1084943.12438881786173547153.stgit@devnote2/T/#u
Note that this patch is still for the bpf-next since the rethook itself is on the bpf-next tree. But since this also uses the ANNOTATE_NOENDBR macro which has been introduced by IBT/ENDBR patch, to build this series you need to merge the tip/master branch with the bpf-next. (hopefully, it is rebased soon)
The fprobe itself is for providing the function entry/exit probe with multiple probe point. The rethook is a sub-feature to hook the function return as same as kretprobe does. Eventually, I would like to replace the kretprobe's trampoline with this rethook.
Thank you,
---
Masami Hiramatsu (1):
rethook: x86: Add rethook x86 implementation
arch/x86/Kconfig | 1 arch/x86/include/asm/unwind.h | 8 ++- arch/x86/kernel/Makefile | 1 arch/x86/kernel/kprobes/common.h | 1 arch/x86/kernel/rethook.c | 121 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 131 insertions(+), 1 deletion(-) create mode 100644 arch/x86/kernel/rethook.c
--
Masami Hiramatsu (Linaro) <[email protected]>