函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void trace_filter_add_remove_task(struct trace_pid_list *pid_list, struct task_struct *self, struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct trace_pid_list *pid_list
struct task_struct *self
struct task_struct *task
417  如果非pid_list则返回
421  如果self
422  如果非race_find_filtered_pid - check if a pid exists in a filtered_pid list*@filtered_pids: The list of pids to check*@search_pid: The PID to find in @filtered_pids* Returns true if @search_pid is fonud in @filtered_pids, and false otherwis.则返回
427  如果进程ID大于等于pid_max则返回
431  如果self设置内存位
433  否则lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
调用者
名称描述
event_filter_pid_sched_process_exit
event_filter_pid_sched_process_fork
ftrace_pid_follow_sched_process_fork
ftrace_pid_follow_sched_process_exit