summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2025-03-27 13:09:34 +0300
committerPetr Mladek <pmladek@suse.com>2025-03-27 13:09:34 +0300
commitf49040c7aaa5532a1f94355ef5073c49e6b32349 (patch)
treeee9513bba2c685226ab4addf98152afd262c50c3 /samples
parentc1aa3daa517292303d98ff61f0440c354669f948 (diff)
parent72c96a2dacc0fb056d13a5f02b0845c4c910fe54 (diff)
downloadlinux-f49040c7aaa5532a1f94355ef5073c49e6b32349.tar.xz
Merge branch 'for-6.15-console-suspend-api-cleanup' into for-linus
Diffstat (limited to 'samples')
-rw-r--r--samples/fprobe/fprobe_example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/fprobe/fprobe_example.c b/samples/fprobe/fprobe_example.c
index 0a50b05add96..bfe98ce826f3 100644
--- a/samples/fprobe/fprobe_example.c
+++ b/samples/fprobe/fprobe_example.c
@@ -50,7 +50,7 @@ static void show_backtrace(void)
static int sample_entry_handler(struct fprobe *fp, unsigned long ip,
unsigned long ret_ip,
- struct pt_regs *regs, void *data)
+ struct ftrace_regs *fregs, void *data)
{
if (use_trace)
/*
@@ -67,7 +67,7 @@ static int sample_entry_handler(struct fprobe *fp, unsigned long ip,
}
static void sample_exit_handler(struct fprobe *fp, unsigned long ip,
- unsigned long ret_ip, struct pt_regs *regs,
+ unsigned long ret_ip, struct ftrace_regs *regs,
void *data)
{
unsigned long rip = ret_ip;