函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Delete a group from a tree.

函数原型:static void perf_event_groups_delete(struct perf_event_groups *groups, struct perf_event *event)

返回类型:void

参数:

类型参数名称
struct perf_event_groups *groups
struct perf_event *event
1593  WARN_ON_ONCE('empty' nodes are nodes that are known not to be inserted in an rbtree ( & group_node) || RB_EMPTY_ROOT( & tree))
1596  rb_erase( & group_node, & tree)
1597  Helper function to initialize event group nodes.
调用者
名称描述
del_event_from_groupsHelper function to delete event from its groups.
rotate_ctxMove @event to the tail of the @ctx's elegible events.