Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Module notifier call back, checking event on the module

Proto:static int trace_kprobe_module_callback(struct notifier_block *nb, unsigned long val, void *data)

Type:int

Parameter:

TypeParameterName
struct notifier_block *nb
unsigned longval
void *data
674  mod = data
679  If val != Full formed, running module_init. Then Return Don't care
683  mutex_lock( & event_mutex)
684  r_each_trace_kprobe - iterate over the trace_kprobe list*@pos: the struct trace_kprobe * for each entry*@dpos: the struct dyn_event * to use as a loop cursor(tk, pos)
689  If ret Then pr_warn("Failed to re-register probe %s on %s: %d\n", trace_probe_name( & tp), Unique handle for this module , ret)
695  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.
697  Return Don't care