Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:contains_operator

Proto:static int contains_operator(char *str)

Type:int

Parameter:

TypeParameterName
char *str
2405  field_op = FIELD_OP_NONE
2408  op = strpbrk - Find the first occurrence of a set of characters*@cs: The string to be searched*@ct: The characters to search for
2409  If Not op Then Return FIELD_OP_NONE
2413  Case op == '-'
2414  If str == '-' Then field_op = FIELD_OP_UNARY_MINUS
2416  Else field_op = FIELD_OP_MINUS
2418  Break
2419  Case op == '+'
2420  field_op = FIELD_OP_PLUS
2421  Break
2422  Default
2423  Break
2426  Return field_op
Caller
NameDescribe
field_name_from_var
parse_expr