函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:36
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:test_tsk_thread_flag

函数原型:static inline int test_tsk_thread_flag(struct task_struct *tsk, int flag)

返回类型:int

参数:

类型参数名称
struct task_struct *tsk
intflag
1757  返回:test_ti_thread_flag(任务栈信息(tsk), flag)
调用者
名称描述
copy_thread_tls
get_flags
task
enable_single_stepEnable single-stepping. Return nonzero if user mode is not using TF itself.
enable_stepEnable single or block step.
user_disable_single_step
arch_uprobe_pre_xolarch_uprobe_pre_xol - prepare to execute out of line.*@auprobe: the probepoint information.*@regs: reflects the saved user state of current task.
klp_complete_transitionThe transition to the target patch state is complete. Clean up the data* structures.
freezing_slow_pathzing_slow_path - slow path for testing whether a task needs to be frozen*@p: task to be tested* This function is called by freezing() if system_freezing_cnt isn't zero* and tests whether @p needs to enter and stay in frozen state. Can be
signal_pending
klp_patch_pending
test_tsk_need_resched检查进程是否已经设置了调度标志
set_flags