Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:35:36
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:inline int task_curr(const struct task_struct *p)

Type:int

Parameter:

TypeParameterName
const struct task_struct *p
1395  Return cpu_curr(task_cpu(p)) == p
Caller
NameDescribe
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.