Function Report

Linux Kernel (v4.4)

Source File:kernel\events\core.c Create Date:2016-01-14 12:10:17
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:perf_event_init_task

Function:int perf_event_init_task(struct task_struct *child)

Return Type:int


Type Parameter NameRemarks
struct task_struct * child

Function description:Initialize the perf_event context in task_struct

9247  set the perf_event_ctxp to 0
9248  mutex_init
9249  Initialization list head
9251  for_each_task_context_nr
9252  Initialize the perf_event context in task_struct
9259  Returning 0
Function NameFunction description
copy_processCreate a new process