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:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return 1 if name is reserved or already used by another argument

Proto:static int traceprobe_conflict_field_name(const char *name, struct probe_arg *args, int narg)

Type:int

Parameter:

TypeParameterName
const char *name
struct probe_arg *args
intnarg
737  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(reserved_field_names) cycle If strcmp(reserved_field_names[i], name) == 0 Then
739  Return 1
741  When i < narg cycle If strcmp( Name of this argument , name) == 0 Then
743  Return 1
745  Return 0
Caller
NameDescribe
traceprobe_parse_probe_arg