函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_syscalls.c Create Date:2022-07-27 13:29:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:unreg_event_syscall_enter

函数原型:static void unreg_event_syscall_enter(struct trace_event_file *file, struct trace_event_call *call)

返回类型:void

参数:

类型参数名称
struct trace_event_file *file
struct trace_event_call *call
433  tr等于tr
436  num等于syscall_nr
437  如果WARN_ON_ONCE(num < 0 || num >= NR_syscalls)则返回
439  mutex_lock( & syscall_trace_lock)
440  sys_refcount_enter自减
441  RCU_INIT_POINTER() - initialize an RCU protected pointer*@p: The pointer to be initialized.*@v: The value to initialized the pointer to.* Initialize an RCU-protected pointer in special cases where readers(enter_syscall_files[num], NULL)
442  如果非sys_refcount_enterunregister_trace_sys_enter(ftrace_syscall_enter, tr)
444  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
调用者
名称描述
syscall_enter_register