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

Name:Filter predicate for char * pointers

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

Type:int

Parameter:

TypeParameterName
struct filter_pred *pred
void *event
673  addr = event + offset
675  len = strlen - Find the length of a string*@s: The string to be sized + 1
677  cmp = match( * addr, & regex, len)
679  match = cmp ^ not
681  Return match