函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracepoint_module_coming

函数原型:static int tracepoint_module_coming(struct module *mod)

返回类型:int

参数:

类型参数名称
struct module *mod
446  ret等于0
448  如果非num_tracepoints则返回:0
456  如果trace_module_has_bad_taint(mod)则返回:0
458  mutex_lock( & Tracepoint module list mutex protects the local module list.)
459  tp_mod等于开辟内存
460  如果非tp_mod
461  ret等于负ENOMEM
462  转到:end
464  mod等于mod
465  添加链表项
466  blocking_notifier_call_chain( & tracepoint_notify_list, Full formed, running module_init. , tp_mod)
468  end :
469  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.
470  返回:ret
调用者
名称描述
tracepoint_module_notify