Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Sum up total data length for dynamic arraies (strings)

Proto:static inline __attribute__((__always_inline__)) int __get_data_size(struct trace_probe *tp, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct trace_probe *tp
struct pt_regs *regs
175  ret = 0
177  When i < nr_args cycle
178  arg = args + i
181  If len > 0 Then ret += len
186  Return ret
Caller
NameDescribe
__kprobe_trace_funcKprobe handler
__kretprobe_trace_funcKretprobe handler
uprobe_dispatcher
uretprobe_dispatcher