函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_kprobe_primary_from_call

函数原型:static inline __attribute__((__always_inline__)) struct trace_kprobe *trace_kprobe_primary_from_call(struct trace_event_call *call)

返回类型:struct trace_kprobe

参数:

类型参数名称
struct trace_event_call *call
212  tp等于trace_probe_primary_from_call(call)
213  如果WARN_ON_ONCE(!tp)则返回:NULL
216  返回:container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(tp, structtrace_kprobe, tp)
调用者
名称描述
trace_kprobe_on_func_entry
trace_kprobe_error_injectable