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:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:unreg_event_syscall_enter

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

Type:void

Parameter:

TypeParameterName
struct trace_event_file *file
struct trace_event_call *call
433  tr = tr
436  num = syscall_nr
437  If WARN_ON_ONCE(num < 0 || num >= NR_syscalls) Then Return
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  If Not sys_refcount_enter Then unregister_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.
Caller
NameDescribe
syscall_enter_register