函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_event_namespaces

函数原型:void perf_event_namespaces(struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct task_struct *task
7523  如果非atomic_read( & nr_namespaces_events)则返回
7526  namespaces_event = (struct perf_namespaces_event){task = task, event_id = {header = {type = PERF_RECORD_NAMESPACES, misc = 0, size = event_id的长度, }, nr_namespaces = NR_NAMESPACES, }, }
7541  ns_link_info等于link_info
7543  perf_fill_ns_link_info( & ns_link_info[MNT_NS_INDEX], task, & mntns_operations)
7559  perf_fill_ns_link_info( & ns_link_info[IPC_NS_INDEX], task, & ipcns_operations)
7567  perf_fill_ns_link_info( & ns_link_info[CGROUP_NS_INDEX], task, & cgroupns_operations)
7571  Iterate all events that need to receive side-band events.* For new callers; ensure that account_pmu_sb_event() includes* your event, otherwise it might not get delivered.
调用者
名称描述
SYSCALL_DEFINE2
perf_event_fork