函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:When a child task exits, feed back event values to parent events.* Can be called with cred_guard_mutex held when called from* install_exec_creds().

函数原型:void perf_event_exit_task(struct task_struct *child)

返回类型:void

参数:

类型参数名称
struct task_struct *child
11911  mutex_lock( & perf_event_mutex)
11914  删除链表项并重新初始化
11921  smp_store_release( & owner, NULL)
11923  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
11925  for_each_task_context_nr(ctxn)
11926  perf_event_exit_task_context(child, ctxn)
11934  perf_event_task(child, NULL, 0)