* [PATCH v2] entry: add missing kernel-doc for arch_ptrace_report_syscall functions
@ 2026-03-15 17:09 Kit Dallege
2026-03-24 22:10 ` [tip: core/entry] entry: Add " tip-bot2 for Kit Dallege
0 siblings, 1 reply; 2+ messages in thread
From: Kit Dallege @ 2026-03-15 17:09 UTC (permalink / raw)
To: Thomas Gleixner, Peter Zijlstra, Andy Lutomirski; +Cc: linux-kernel
Document the @regs and @step parameters for
arch_ptrace_report_syscall_entry() and arch_ptrace_report_syscall_exit()
that were missing from the kernel-doc comments.
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Kit Dallege <xaum.io@gmail.com>
---
include/linux/entry-common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index f83ca0abf2cd..e8334a7939a8 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -48,6 +48,7 @@
/**
* arch_ptrace_report_syscall_entry - Architecture specific ptrace_report_syscall_entry() wrapper
+ * @regs: pointer to the register state at syscall entry
*
* Invoked from syscall_trace_enter() to wrap ptrace_report_syscall_entry().
*
@@ -205,6 +206,8 @@ static __always_inline bool report_single_step(unsigned long work)
/**
* arch_ptrace_report_syscall_exit - Architecture specific ptrace_report_syscall_exit()
+ * @regs: pointer to the register state at syscall exit
+ * @step: indicates a single-step exit rather than a normal syscall exit
*
* This allows architecture specific ptrace_report_syscall_exit()
* implementations. If not defined by the architecture this falls back to
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: core/entry] entry: Add missing kernel-doc for arch_ptrace_report_syscall functions
2026-03-15 17:09 [PATCH v2] entry: add missing kernel-doc for arch_ptrace_report_syscall functions Kit Dallege
@ 2026-03-24 22:10 ` tip-bot2 for Kit Dallege
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Kit Dallege @ 2026-03-24 22:10 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Kit Dallege, Thomas Gleixner, x86, linux-kernel
The following commit has been merged into the core/entry branch of tip:
Commit-ID: c291cfac49a67debdad766eedc450ef613f41b2d
Gitweb: https://git.kernel.org/tip/c291cfac49a67debdad766eedc450ef613f41b2d
Author: Kit Dallege <xaum.io@gmail.com>
AuthorDate: Sun, 15 Mar 2026 18:09:41 +01:00
Committer: Thomas Gleixner <tglx@kernel.org>
CommitterDate: Tue, 24 Mar 2026 23:06:33 +01:00
entry: Add missing kernel-doc for arch_ptrace_report_syscall functions
Document @regs and @step parameters for arch_ptrace_report_syscall_entry()
and arch_ptrace_report_syscall_exit() that were missing from the kernel-doc
comments.
Signed-off-by: Kit Dallege <xaum.io@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Assisted-by: Claude:claude-opus-4-6
Link: https://patch.msgid.link/20260315170941.65913-1-xaum.io@gmail.com
---
include/linux/entry-common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index f83ca0a..d223246 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -48,6 +48,7 @@
/**
* arch_ptrace_report_syscall_entry - Architecture specific ptrace_report_syscall_entry() wrapper
+ * @regs: Pointer to the register state at syscall entry
*
* Invoked from syscall_trace_enter() to wrap ptrace_report_syscall_entry().
*
@@ -205,6 +206,8 @@ static __always_inline bool report_single_step(unsigned long work)
/**
* arch_ptrace_report_syscall_exit - Architecture specific ptrace_report_syscall_exit()
+ * @regs: Pointer to the register state at syscall exit
+ * @step: Indicates a single-step exit rather than a normal syscall exit
*
* This allows architecture specific ptrace_report_syscall_exit()
* implementations. If not defined by the architecture this falls back to
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-24 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-15 17:09 [PATCH v2] entry: add missing kernel-doc for arch_ptrace_report_syscall functions Kit Dallege
2026-03-24 22:10 ` [tip: core/entry] entry: Add " tip-bot2 for Kit Dallege
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®