Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:31:08
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ask_function_call - call a function on the cpu on which a task runs*@p: the task to evaluate*@func: the function to be called*@info: the function call argument* Calls the function @func when the task is currently running

Proto:static int task_function_call(struct task_struct *p, remote_function_f func, void *info)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
remote_function_ffunc
void *info
105  struct remote_function_call data = {p = p, func = func, info = info, ret = - EAGAIN, }
113  Do
114  ret = smp_call_function_single(task_cpu(p), remote_function, & data, 1)
115  If Not ret Then ret = ret
117  When ret == -EAGAIN cycle
119  Return ret
Caller
NameDescribe
event_function_call
perf_install_in_contextAttach a performance event to a context.* Very similar to event_function_call, see comment there.