Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracepoint_module_coming

Proto:static int tracepoint_module_coming(struct module *mod)

Type:int

Parameter:

TypeParameterName
struct module *mod
446  ret = 0
448  If Not num_tracepoints Then Return 0
456  If trace_module_has_bad_taint(mod) Then Return 0
458  mutex_lock( & Tracepoint module list mutex protects the local module list.)
459  tp_mod = Allocation memory
460  If Not tp_mod Then
461  ret = -ENOMEM
462  Go to end
464  mod = mod
465  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
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  Return ret
Caller
NameDescribe
tracepoint_module_notify