Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\tracepoint.c Create Date:2022-07-28 11:50:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:int unregister_tracepoint_module_notifier(struct notifier_block *nb)

Type:int

Parameter:

TypeParameterName
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  If ret Then Go to 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  Return ret