Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pick an event from the flexible_groups to rotate

Proto:static inline struct perf_event *ctx_event_to_rotate(struct perf_event_context *ctx)

Type:struct perf_event

Parameter:

TypeParameterName
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  If Not event Then
3840  event = rb_entry_safe(This function returns the first node (in sort order) of the tree., typeof( * event), group_node)
3844  Return event
Caller
NameDescribe
perf_rotate_context