Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_filter.c Create Date:2022-07-28 12:24:55
Last Modify:2022-05-22 20:19:57 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:filter_assign_type

Proto:int filter_assign_type(const char *type)

Type:int

Parameter:

TypeParameterName
const char *type
1083  If strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for && strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for Then Return FILTER_DYN_STRING
1086  If strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for && strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for Then Return FILTER_STATIC_STRING
1089  If strcmp(type, "char *") == 0 || strcmp(type, "const char *") == 0 Then Return FILTER_PTR_STRING
1092  Return FILTER_OTHER