Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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().

Proto:void perf_event_exit_task(struct task_struct *child)

Type:void

Parameter:

TypeParameterName
struct task_struct *child
11911  mutex_lock( & perf_event_mutex)
11914  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
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)