Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:33:38
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pinned_sched_in

Proto:static int pinned_sched_in(struct perf_event *event, void *data)

Type:int

Parameter:

TypeParameterName
struct perf_event *event
void *data
3430  sid = data
3432  If state <= PERF_EVENT_STATE_OFF Then Return 0
3435  If Not event_filter_match(event) Then Return 0
3438  If Work out whether we can put this event group on the CPU now. Then
3439  If Not group_sched_in(event, cpuctx, ctx) Then list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
3447  If state == PERF_EVENT_STATE_INACTIVE Then perf_event_set_state(event, PERF_EVENT_STATE_ERROR)
3450  Return 0