函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:enable_boot_kprobe_events

函数原型:static __init void enable_boot_kprobe_events(void)

返回类型:void

参数:

1651  tr等于The global tracer (top) should be the first trace array added,* but we check the flag anyway.
1656  mutex_lock( & event_mutex)
1657  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)
1658  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.(file, & events, list)
1659  如果event_call恒等于trace_probe_event_call( & tp)则trace_event_enable_disable(file, 1, 0)
1662  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.
调用者
名称描述
setup_boot_kprobe_events