函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-27 10:36:12
Last Modify:2022-05-22 13:40:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ask_curr - is this task currently executing on a CPU?*@p: the task in question.* Return: 1 if the task is currently executing. 0 otherwise.

函数原型:inline int task_curr(const struct task_struct *p)

返回类型:int

参数:

类型参数名称
const struct task_struct *p
1395  返回:cpu_curr(task_cpu(p))恒等于p
调用者
名称描述
rcu_request_urgent_qs_taskIf a holdout task is actually running, request an urgent quiescent* state from its CPU
kdb_bt
__perf_install_in_contextCross CPU call to install and enable a performance event* Very similar to remote_function() + event_function() but cannot assume that* things like ctx->is_active and cpuctx->task_ctx are set.
perf_install_in_contextAttach a performance event to a context.* Very similar to event_function_call, see comment there.
wants_signalTest if P wants to take SIG. After we've checked all threads with this,* it's equivalent to finding no threads not blocking SIG. Any threads not* blocking SIG were ruled out because they are not running and already* have pending signals