函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:bool trace_find_filtered_pid(struct trace_pid_list *filtered_pids, pid_t search_pid)

返回类型:bool

参数:

类型参数名称
struct trace_pid_list *filtered_pids
pid_tsearch_pid
373  如果search_pid大于等于pid_max则返回:false
376  返回:st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
调用者
名称描述
trace_ignore_this_taskrace_ignore_this_task - should a task be ignored for tracing*@filtered_pids: The list of pids to check*@task: The task that should be ignored if not filtered* Checks if @task should be traced or not from @filtered_pids.
trace_filter_add_remove_taskrace_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