函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sync_child_event

函数原型:static void sync_child_event(struct perf_event *child_event, struct task_struct *child)

返回类型:void

参数:

类型参数名称
struct perf_event *child_event
struct task_struct *child
11764  parent_event等于parent
11767  如果inherit_statperf_event_read_event(child_event, child)
11770  child_val等于perf_event_count(child_event)
11775  atomic64_add(child_val, & child_count)
11776  atomic64_add(total_time_enabled, & child_total_time_enabled)
11778  atomic64_add(total_time_running, & child_total_time_running)
调用者
名称描述
perf_event_exit_event