函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_filter.c Create Date:2022-07-27 13:32:54
Last Modify:2022-05-22 20:19:57 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:filter_build_regex

函数原型:static void filter_build_regex(struct filter_pred *pred)

返回类型:void

参数:

类型参数名称
struct filter_pred *pred
864  r等于regex
866  type等于MATCH_FULL
868  如果op恒等于OP_GLOB
869  type等于lter_parse_regex - parse a basic regex*@buff: the raw regex*@len: length of the regex*@search: will point to the beginning of the string to compare*@not: tell whether the match will have to be inverted* This passes in a buffer containing a regex and this
870  len等于strlen - Find the length of a string*@s: The string to be sized
871  memmove(pattern, search, len + 1)
876  :type恒等于MATCH_INDEX
877  :type恒等于MATCH_FULL
879  退出
880  :type恒等于MATCH_FRONT_ONLY
882  退出
883  :type恒等于MATCH_MIDDLE_ONLY
885  退出
886  :type恒等于MATCH_END_ONLY
887  match等于regex_match_end
888  退出
889  :type恒等于MATCH_GLOB
890  match等于regex_match_glob
891  退出
调用者
名称描述
parse_predCalled when a predicate is encountered by predicate_parse()