函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pinned_sched_in

函数原型:static int pinned_sched_in(struct perf_event *event, void *data)

返回类型:int

参数:

类型参数名称
struct perf_event *event
void *data
3430  sid等于data
3432  如果state小于等于PERF_EVENT_STATE_OFF则返回:0
3435  如果非event_filter_match(event)则返回:0
3438  如果Work out whether we can put this event group on the CPU now.
3439  如果非group_sched_in(event, cpuctx, ctx)则添加链表项
3447  如果state恒等于PERF_EVENT_STATE_INACTIVEperf_event_set_state(event, PERF_EVENT_STATE_ERROR)
3450  返回:0