函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__perf_event_exit_context

函数原型:static void __perf_event_exit_context(void *__info)

返回类型:void

参数:

类型参数名称
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:)