Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Helper function to insert event into the pinned or flexible groups.

Proto:static void add_event_to_groups(struct perf_event *event, struct perf_event_context *ctx)

Type:void

Parameter:

TypeParameterName
struct perf_event *event
struct perf_event_context *ctx
1582  groups = Extract pinned or flexible groups from the context* based on event attrs bits.
1583  Insert @event into @groups' tree; using {@event->cpu, ++@groups->index} for* key (see perf_event_groups_less). This places it last inside the CPU* subtree.
Caller
NameDescribe
list_add_eventAdd an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held.
perf_group_detach