函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ftrace_filter_pid_sched_switch_probe

函数原型:static void ftrace_filter_pid_sched_switch_probe(void *data, bool preempt, struct task_struct *prev, struct task_struct *next)

返回类型:void

参数:

类型参数名称
void *data
boolpreempt
struct task_struct *prev
struct task_struct *next
6927  tr等于data
6930  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)
6932  抢占保护下的写CPU(ftrace_ignore_pid, race_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.)