函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_kprobe_module_exist

函数原型:static inline __attribute__((__always_inline__)) bool trace_kprobe_module_exist(struct trace_kprobe *tk)

返回类型:bool

参数:

类型参数名称
struct trace_kprobe *tk
120  如果非symbol name 则返回:false
122  p等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for
123  如果非p则返回:true
125  p等于'\0'
126  mutex_lock( & Mutex protects:* 1) List of modules (also safely readable with preempt_disable),* 2) module_use links,* 3) module_addr_min/module_addr_max.* (delete and add uses RCU list operations). )
127  ret等于非非find_module(symbol name )
128  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.
129  p等于':'
131  返回:ret
调用者
名称描述
append_trace_kprobe
register_trace_kprobeRegister a trace_probe and probe_event