Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_cgroup_sched_in

Proto:static inline void perf_cgroup_sched_in(struct task_struct *prev, struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct task_struct *prev
struct task_struct *task

NULL

Caller
NameDescribe
__perf_event_task_sched_inCalled from scheduler to add the events of the current task* with interrupts disabled.* We restore the event value and then enable it.* This does not protect us against NMI, but enable()* sets the enabled bit in the control field of event _before_