Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_syscalls.c Create Date:2022-07-28 12:21:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_get_syscall_nr

Proto:static inline int trace_get_syscall_nr(struct task_struct *task, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct task_struct *task
struct pt_regs *regs
78  Return Only the low 32 bits of orig_ax are meaningful, so we return int.* This importantly ignores the high bits on 64-bit, so comparisons* sign-extend the low 32 bits.
Caller
NameDescribe
ftrace_syscall_enter
ftrace_syscall_exit