Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return the smallest index of different type argument (start from 1).* If all argument types and name are same, return 0.

Proto:int trace_probe_compare_arg_type(struct trace_probe *a, struct trace_probe *b)

Type:int

Parameter:

TypeParameterName
struct trace_probe *a
struct trace_probe *b
1104  If nr_args < nr_args Then Return nr_args + 1
1106  If nr_args > nr_args Then Return nr_args + 1
1109  When i < nr_args cycle
1110  If nr_args <= i || Type of this argument != Type of this argument || Array count != Array count || strcmp( Name of this argument , Name of this argument ) Then Return i + 1
1117  Return 0
Caller
NameDescribe
append_trace_uprobe