函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rn 1 if event matches, 0 otherwise (discard)

函数原型:int filter_match_preds(struct event_filter *filter, void *rec)

返回类型:int

参数:

类型参数名称
struct event_filter *filter
void *rec
902  如果非filter则返回:1
906  prog等于Dependency order vs. p above. (prog)
907  如果非prog则返回:1
910 pred循环
911  pred等于pred
912  match等于fn(pred, rec)
913  如果match恒等于when_to_branchi等于target
916  返回:target
调用者
名称描述
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
call_filter_check_discard