Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:unreg_event_syscall_exit

Proto:static void unreg_event_syscall_exit(struct trace_event_file *file, struct trace_event_call *call)

Type:void

Parameter:

TypeParameterName
struct trace_event_file *file
struct trace_event_call *call
471  tr = tr
474  num = syscall_nr
475  If WARN_ON_ONCE(num < 0 || num >= NR_syscalls) Then Return
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  If Not sys_refcount_exit Then unregister_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.
Caller
NameDescribe
syscall_exit_register