Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__perf_event_exit_context

Proto:static void __perf_event_exit_context(void *__info)

Type:void

Parameter:

TypeParameterName
void *__info
12416  ctx = __info
12417  cpuctx = __get_cpu_context(ctx)
12420  raw_spin_lock( & Protect the states of the events in the list,* nr_active, and the list:)
12421  ctx_sched_out(ctx, cpuctx, EVENT_TIME)
12422  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(event, & event_list, event_entry)
12423  Cross CPU call to remove a performance event* We disable the event on the hardware level first. After that we* remove it from the context list.
12424  raw_spin_unlock( & Protect the states of the events in the list,* nr_active, and the list:)