Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-28 11:57:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:bool trace_find_filtered_pid(struct trace_pid_list *filtered_pids, pid_t search_pid)

Type:bool

Parameter:

TypeParameterName
struct trace_pid_list *filtered_pids
pid_tsearch_pid
373  If search_pid >= pid_max Then Return false
376  Return st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
Caller
NameDescribe
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