函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:55:59
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Get remaining task size from user stack pointer.* It'd be better to take stack vma map and limit this more* precisely, but there's no way to get it safely under interrupt,* so using TASK_SIZE as limit.

函数原型:static u64 perf_ustack_task_size(struct pt_regs *regs)

返回类型:u64

参数:

类型参数名称
struct pt_regs *regs
6183  addr等于perf_user_stack_pointer(regs)
6185  如果非addraddr大于等于TASK_SIZE则返回:0
6188  返回:TASK_SIZEaddr
调用者
名称描述
perf_sample_ustack_size