函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:51:34
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:event_filter_match

函数原型:static inline int event_filter_match(struct perf_event *event)

返回类型:int

参数:

类型参数名称
struct perf_event *event
2084  返回:cpu恒等于负1或cpu恒等于当前cpu ID()的值且perf_cgroup_match(event)且Check whether we should attempt to schedule an event group based on* PMU-specific filtering. An event group can consist of HW and SW events,* potentially with a SW leader, so we must check all the filters, to* determine whether a group is schedulable:
调用者
名称描述
__perf_event_enableCross CPU call to enable a performance event
pinned_sched_in
flexible_sched_in
perf_adjust_freq_unthr_contextmbine freq adjustment with unthrottling to avoid two passes over the* events. At the same time, make sure, having freq events does not change* the rate of unthrottling as that would introduce bias.
perf_iterate_ctx
perf_iterate_sb_cpu