Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Extract pinned or flexible groups from the context* based on event attrs bits.

Proto:static struct perf_event_groups *get_event_groups(struct perf_event *event, struct perf_event_context *ctx)

Type:struct perf_event_groups

Parameter:

TypeParameterName
struct perf_event *event
struct perf_event_context *ctx
1505  If pinned Then Return pinned_groups
1507  Else Return flexible_groups
Caller
NameDescribe
add_event_to_groupsHelper function to insert event into the pinned or flexible groups.
del_event_from_groupsHelper function to delete event from its groups.