函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracepoint_module_going

函数原型:static void tracepoint_module_going(struct module *mod)

返回类型:void

参数:

类型参数名称
struct module *mod
477  如果非num_tracepoints则返回
480  mutex_lock( & Tracepoint module list mutex protects the local module list.)
482  如果mod恒等于mod
483  blocking_notifier_call_chain( & tracepoint_notify_list, Going away. , tp_mod)
485  删除链表项
486  kfree(tp_mod)
491  for_each_tracepoint_range(tracepoints_ptrs, tracepoints_ptrs + num_tracepoints, Ensure the tracer unregistered the module's probes before the module* teardown is performed. Prevents leaks of probe and data pointers., NULL)
494  退出
503  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.
调用者
名称描述
tracepoint_module_notify