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

Name:rn 1 if event matches, 0 otherwise (discard)

Proto:int filter_match_preds(struct event_filter *filter, void *rec)

Type:int

Parameter:

TypeParameterName
struct event_filter *filter
void *rec
902  If Not filter Then Return 1
906  prog = Dependency order vs. p above. (prog)
907  If Not prog Then Return 1
910  When pred cycle
911  pred = pred
912  match = fn(pred, rec)
913  If match == when_to_branch Then i = target
916  Return target
Caller
NameDescribe
event_triggers_callvent_triggers_call - Call triggers associated with a trace event*@file: The trace_event_file associated with the event*@rec: The trace entry for the event, NULL for unconditional invocation* For each trigger associated with an event, invoke the trigger