函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:in_sched_functions

函数原型:int in_sched_functions(unsigned long addr)

返回类型:int

参数:

类型参数名称
unsigned longaddr
6552  返回:clude/linux/spinlock_api_up.h* spinlock API implementation on UP-nondebug (inlined implementation)* portions Copyright 2005, Red Hat, Inc., Ingo Molnar* Released under the General Public License (GPL).(addr)或addr大于等于Linker adds these: start and end of __sched functions addr小于Linker adds these: start and end of __sched functions
调用者
名称描述
stack_trace_consume_entry_nosched
get_wchanCalled from fs/proc with a reference on @p to find the function* which called into schedule(). This needs to be done carefully* because the task might wake up and we might look at a stack* changing under us.