Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracepoint_module_going

Proto:static void tracepoint_module_going(struct module *mod)

Type:void

Parameter:

TypeParameterName
struct module *mod
477  If Not num_tracepoints Then Return
480  mutex_lock( & Tracepoint module list mutex protects the local module list.)
482  If mod == mod Then
483  blocking_notifier_call_chain( & tracepoint_notify_list, Going away. , tp_mod)
485  deletes entry from list
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  Break
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.
Caller
NameDescribe
tracepoint_module_notify