函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Filter predicate for dynamic sized arrays of characters

函数原型:static int filter_pred_strloc(struct filter_pred *pred, void *event)

返回类型:int

参数:

类型参数名称
struct filter_pred *pred
void *event
696  str_item等于*eventoffset的和
697  str_loc等于str_item按位与0xffff
698  str_len等于str_item右移16位
699  addr等于eventstr_loc
702  cmp等于match(addr, & regex, str_len)
704  match等于cmp按位异或not
706  返回:match