函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:register_tracepoint_notifier - unregister tracepoint coming/going notifier*@nb: notifier block* The notifier block callback should expect a "struct tp_module" data* pointer.

函数原型:int unregister_tracepoint_module_notifier(struct notifier_block *nb)

返回类型:int

参数:

类型参数名称
struct notifier_block *nb
421  mutex_lock( & Tracepoint module list mutex protects the local module list.)
422  ret等于locking_notifier_chain_unregister - Remove notifier from a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: Entry to remove from notifier chain* Removes a notifier from a blocking notifier chain.
423  如果ret则转到:end
425  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(tp_mod, & Local list of struct tp_module , list)
426  notifier_call(nb, Going away. , tp_mod)
427  end :
428  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.
429  返回:ret