acrn-kernel/samples
Masami Hiramatsu (Google) 0806cb1e6c fprobe: Pass entry_data to handlers
[ Upstream commit 76d0de5729 ]

Pass the private entry_data to the entry and exit handlers so that
they can share the context data, something like saved function
arguments etc.
User must specify the private entry_data size by @entry_data_size
field before registering the fprobe.

Link: https://lkml.kernel.org/r/167526696173.433354.17408372048319432574.stgit@mhiramat.roam.corp.google.com

Cc: Florent Revest <revest@chromium.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Stable-dep-of: 700b2b4397 ("fprobe: Fix to ensure the number of active retprobes is not zero")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-25 12:03:12 +02:00
..
acrn
auxdisplay
binderfs
bpf samples/bpf: fix broken map lookup probe 2023-09-13 09:42:34 +02:00
configfs
connector
coresight
fanotify
fprobe fprobe: Pass entry_data to handlers 2023-10-25 12:03:12 +02:00
ftrace samples: ftrace: Save required argument registers in sample trampolines 2023-07-23 13:49:44 +02:00
hidraw
hw_breakpoint samples/hw_breakpoint: fix building without module unloading 2023-09-23 11:11:09 +02:00
kdb
kfifo
kmemleak
kobject
kprobes
landlock
livepatch
mei
nitro_enclaves
pidfd
pktgen
qmi
rpmsg
rust
seccomp
timers
trace_events
trace_printk
uhid
user_events
v4l
vfio-mdev
vfs
watch_queue
watchdog
Kconfig
Makefile