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:35
Last Modify:2022-05-22 20:19:57 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Filter predicate for dynamic sized arrays of characters

Proto:static int filter_pred_strloc(struct filter_pred *pred, void *event)

Type:int

Parameter:

TypeParameterName
struct filter_pred *pred
void *event
696  str_item = *(event + offset)
697  str_loc = str_item & 0xffff
698  str_len = str_item >> 16
699  addr = event + str_loc
702  cmp = match(addr, & regex, str_len)
704  match = cmp ^ not
706  Return match