函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_trace_event_call

函数原型:static inline void init_trace_event_call(struct trace_kprobe *tk)

返回类型:void

参数:

类型参数名称
struct trace_kprobe *tk
1560  call等于trace_probe_event_call( & tp)
1562  如果trace_kprobe_is_return(tk)则
1563  funcs等于kretprobe_funcs
1564  define_fields等于kretprobe_event_define_fields
1565  否则
1566  funcs等于kprobe_funcs
1567  define_fields等于kprobe_event_define_fields
1570  static flags of different events 等于TRACE_EVENT_FL_KPROBE
1571  reg等于alled by perf_trace_init() or __ftrace_set_clr_event() under event_mutex.* kprobe_trace_self_tests_init() does enable_trace_probe/disable_trace_probe* lockless, but we can't race with this __init function.
调用者
名称描述
register_kprobe_event