函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ftrace.c Create Date:2022-07-27 13:58:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ftrace_pid_follow_sched_process_fork

函数原型:static void ftrace_pid_follow_sched_process_fork(void *data, struct task_struct *self, struct task_struct *task)

返回类型:void

参数:

类型参数名称
void *data
struct task_struct *self
struct task_struct *task
6942  tr等于data
6944  pid_list等于cu_dereference_sched() - fetch RCU-sched-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* Makes rcu_dereference_check() do the dirty work.(function_pids)
6945  race_filter_add_remove_task - Add or remove a task from a pid_list*@pid_list: The list to modify*@self: The current task for fork or NULL for exit*@task: The task to add or remove* If adding a task, if @self is defined, the task is only added if @self