函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\bpf_trace.c Create Date:2022-07-27 13:47:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:____bpf_get_stack_raw_tp

函数原型:static inline __attribute__((__always_inline__)) u64 ____bpf_get_stack_raw_tp(struct bpf_raw_tracepoint_args *args, void *buf, u32 size, u64 flags)

返回类型:u64

参数:

类型参数名称
struct bpf_raw_tracepoint_args *args
void *buf
u32size
u64flags
1116  regs等于get_bpf_raw_tp_regs()
1119  如果是错误则返回:错误
1122  perf_fetch_caller_regs(regs)
1123  ret等于bpf_get_stack((unsignedlong)regs, (unsignedlong)buf, (unsignedlong)size, flags, 0)
1125  put_bpf_raw_tp_regs()
1126  返回:ret