函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dyn_event_register

函数原型:int dyn_event_register(struct dyn_event_operations *ops)

返回类型:int

参数:

类型参数名称
struct dyn_event_operations *ops
23  如果非ops或非create或非show或非is_busy或非free或非match则返回:负EINVAL
27  初始化链表头
28  mutex_lock( & dyn_event_ops_mutex)
29  添加链表项
30  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.
31  返回:0
调用者
名称描述
init_kprobe_traceMake a tracefs interface for controlling probe points
init_uprobe_traceMake a trace interface for controling probe points
trace_events_hist_init