函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pick an event from the flexible_groups to rotate

函数原型:static inline struct perf_event *ctx_event_to_rotate(struct perf_event_context *ctx)

返回类型:struct perf_event

参数:

类型参数名称
struct perf_event_context *ctx
3835  event等于list_first_entry_or_null - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.( & flexible_active, structperf_event, active_list)
3839  如果非event
3840  event等于rb_entry_safe(This function returns the first node (in sort order) of the tree., typeof( * event), group_node)
3844  返回:event
调用者
名称描述
perf_rotate_context