函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:unreg_event_syscall_exit

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

返回类型:void

参数:

类型参数名称
struct trace_event_file *file
struct trace_event_call *call
471  tr等于tr
474  num等于syscall_nr
475  如果WARN_ON_ONCE(num < 0 || num >= NR_syscalls)则返回
477  mutex_lock( & syscall_trace_lock)
478  sys_refcount_exit自减
479  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(exit_syscall_files[num], NULL)
480  如果非sys_refcount_exitunregister_trace_sys_exit(ftrace_syscall_exit, tr)
482  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_exit_register